Function at 0x175a84
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x67c
push ebx
push ebp
push esi
push edi
xor ebp, ebp
lea eax, [esp + 0x7c]
push 0x40
push ebp
push eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
call fcn.0017518f
xor eax, eax
mov dword [esp + 0x3c], ebp
mov word [esp + 0x74], ax
lea edi, [esp + 0x76]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, 0xf0
push eax
lea eax, [esp + 0x3ac]
push ebp
push eax
call fcn.0017518f
mov eax, 0xe0
push eax
lea eax, [esp + 0x2d8]
push ebp
push eax
call fcn.0017518f
add esp, 0x24
lea edi, [esp + 0x40]
xor eax, eax
push 0xa
pop ecx
rep stosd dword es:[edi], eax
cmp dword [esp + 0x698], eax
jne 0x175b0a
cmp dword [esp + 0x6a0], eax
je 0x1760ea
mov esi, dword [esp + 0x690]
lea eax, [esp + 0x34]
push 0xc
push eax
push dword [esp + 0x69c]
mov eax, dword [0x413ca8]
push esi
call dword [eax + 0x144]
test eax, eax
je 0x1760ea
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x7c]
push ebp
push 0x40
push eax
mov eax, dword [0x413ca8]
push edi
push esi
call dword [eax + 0x88]
test eax, eax
je 0x1760ea
mov eax, 0x5a4d
cmp word [esp + 0x7c], ax
jne 0x1760ea
push ebp
push 4
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0xc4]
add eax, edi
push eax
mov eax, dword [0x413ca8]
push esi
call dword [eax + 0x88]
test eax, eax
je 0x1760ea
cmp dword [esp + 0x30], 0x4550
jne 0x1760ea
push ebp
push 0x14
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0xc4]
add eax, 4
add eax, edi
push eax
mov eax, dword [0x413ca8]
push esi
call dword [eax + 0x88]
test eax, eax
je 0x1760ea
xor ebx, ebx
mov eax, 0xf0
inc ebx
cmp word [esp + 0x78], ax
je 0x175f1e
add eax, 0xfffffff0
cmp word [esp + 0x78], ax
jne 0x1760ea
push ebp
push eax
lea eax, [esp + 0x2c4]
push eax
mov eax, dword [esp + 0xc4]
add eax, 0x18
add eax, edi
push eax
mov eax, dword [0x413ca8]
push esi
call dword [eax + 0x88]
test eax, eax
je 0x1760ea
mov eax, 0x10b
cmp word [esp + 0x2bc], ax
jne 0x1760ea
cmp dword [esp + 0x318], ebx
jb 0x1760ea
mov ecx, dword [esp + 0x320]
mov eax, dword [esp + 0x31c]
mov dword [esp + 0x18], ecx
push ebp
push 0x28
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x48]
push ecx
add eax, edi
push eax
mov eax, dword [0x413ca8]
push esi
call dword [eax + 0x88]
test eax, eax
je 0x1760ea
mov eax, dword [esp + 0x5c]
add eax, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
add eax, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x64]
add eax, edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
shl eax, 2
push eax
mov eax, dword [0x413ca8]
push ebp
call dword [eax + 0x7c]
mov ecx, dword [esp + 0x58]
mov ebx, eax
shl ecx, 2
push ecx
mov ecx, dword [0x413ca8]
push ebp
call dword [ecx + 0x7c]
mov ecx, dword [esp + 0x58]
add ecx, ecx
mov dword [esp + 0x1c], eax
push ecx
mov ecx, dword [0x413ca8]
push ebp
call dword [ecx + 0x7c]
mov ebp, eax
test ebx, ebx
je 0x1760c6
cmp dword [esp + 0x1c], 0
je 0x1760ba
test ebp, ebp
je 0x1760ba
mov eax, dword [esp + 0x54]
push 0
shl eax, 2
push eax
mov eax, dword [0x413ca8]
push ebx
push dword [esp + 0x20]
push esi
call dword [eax + 0x88]
test eax, eax
je 0x1760ba
mov eax, dword [esp + 0x58]
push 0
shl eax, 2
push eax
push dword [esp + 0x24]
mov eax, dword [0x413ca8]
push dword [esp + 0x30]
push esi
call dword [eax + 0x88]
test eax, eax
je 0x1760ba
mov eax, dword [esp + 0x58]
push 0
add eax, eax
push eax
mov eax, dword [0x413ca8]
push ebp
push dword [esp + 0x38]
push esi
call dword [eax + 0x88]
test eax, eax
je 0x1760ba
cmp dword [esp + 0x6a0], 0
je 0x175ff2
mov eax, dword [esp + 0x69c]
cmp eax, dword [esp + 0x50]
jb 0x1760ba
sub eax, dword [esp + 0x50]
mov dword [esp + 0x69c], eax
cmp eax, dword [esp + 0x54]
jae 0x1760ba
mov ecx, dword [ebx + eax*4]
mov eax, dword [esp + 0x28]
cmp ecx, eax
jb 0x175fc3
add eax, dword [esp + 0x18]
cmp ecx, eax
ja 0x175fc3
and dword [esp + 0x18], 0
lea eax, [esp + 0x1bc]
push 0x100
push 0
push eax
call 0x1704e0
add esp, 0xc
xor ecx, ecx
mov dword [esp + 0x28], ecx
xor eax, eax
inc eax
push 0
push eax
lea eax, [esp + 0x1b]
push eax
mov eax, dword [esp + 0x6a8]
mov eax, dword [ebx + eax*4]
add eax, ecx
add eax, edi
push eax
mov eax, dword [0x413ca8]
push esi
call dword [eax + 0x88]
test eax, eax
je 0x1760ba
lea eax, [esp + 0x1bc]
push eax
call fcn.00175346
pop ecx
mov cl, byte [esp + 0x13]
test cl, cl
mov byte [esp + eax + 0x1bc], cl
mov eax, dword [esp + 0x18]
push 1
pop ecx
cmove eax, ecx
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
test eax, eax
je 0x175db3
lea eax, [esp + 0x1bc]
push 0x2e
push eax
call fcn.001752f7
mov edi, eax
lea eax, [esp + 0x1c4]
push 0x2e
push eax
sub edi, eax
call fcn.001752f7
add esp, 0x10
test eax, eax
je 0x1760ba
push edi
lea eax, [esp + 0x1c0]
push eax
lea eax, [esp + 0x494]
push eax
call fcn.00175357
lea eax, [esp + 0x1c9]
add eax, edi
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.0017532d
add esp, 0x14
lea eax, [esp + 0x48c]
push eax
push esi
call fcn.001758ef
cmp byte [esp + 0xbc], 0x23
mov dword [esp + 0x14], eax
jne 0x175f80
and dword [esp + 0x20], 0
lea eax, [esp + 0xbc]
push eax
call fcn.00175346
push eax
lea eax, [esp + 0xc5]
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.0017526a
lea eax, [esp + 0xcc]
xor edi, edi
push eax
call fcn.00175346
add esp, 0x14
test eax, eax
je 0x175f0e
mov esi, dword [esp + 0x20]
mov al, byte [esp + edi + 0xbc]
cmp al, 0x30
jl 0x175f03
cmp al, 0x39
jg 0x175f03
imul ecx, esi, 0xa
movsx esi, al
lea eax, [esp + 0xbc]
push eax
add ecx, 0xffffffd0
add esi, ecx
inc edi
call fcn.00175346
pop ecx
cmp edi, eax
jb 0x175ed6
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x690]
xor eax, eax
inc eax
push eax
push dword [esp + 0x24]
push 0
push dword [esp + 0x20]
jmp 0x175f8d
push ebp
push eax
lea eax, [esp + 0x3a4]
push eax
mov eax, dword [esp + 0xc4]
add eax, 0x18
add eax, edi
push eax
mov eax, dword [0x413ca8]
push esi
call dword [eax + 0x88]
test eax, eax
je 0x1760ea
mov eax, 0x20b
cmp word [esp + 0x39c], ax
jne 0x1760ea
cmp dword [esp + 0x408], ebx
jb 0x175c20
mov ebx, dword [esp + 0x410]
mov eax, dword [esp + 0x40c]
mov dword [esp + 0x18], ebx
jmp 0x175c3f
push 0
push 0
lea ecx, [esp + 0xc4]
push ecx
push eax
push esi
call fcn.00175a84
mov esi, eax
mov eax, dword [0x413ca8]
push ebx
call dword [eax + 0x84]
mov eax, dword [0x413ca8]
push dword [esp + 0x1c]
call dword [eax + 0x84]
mov eax, dword [0x413ca8]
push ebp
call dword [eax + 0x84]
mov eax, esi
jmp 0x1760ec
lea esi, [ecx + edi]
mov ecx, dword [0x413ca8]
push ebx
call dword [ecx + 0x84]
mov ecx, dword [0x413ca8]
push dword [esp + 0x1c]
call dword [ecx + 0x84]
mov ecx, dword [0x413ca8]
push ebp
call dword [ecx + 0x84]
jmp 0x175fbc
and dword [esp + 0x20], 0
cmp dword [esp + 0x58], 0
jbe 0x1760ba
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
and dword [esp + 0x24], 0
lea eax, [esp + 0x58c]
push 0x100
push 0
push eax
call 0x1704e0
add esp, 0xc
xor ecx, ecx
mov dword [esp + 0x14], ecx
xor eax, eax
inc eax
push 0
push eax
lea eax, [esp + 0x1b]
push eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
add eax, ecx
add eax, edi
push eax
mov eax, dword [0x413ca8]
push esi
call dword [eax + 0x88]
test eax, eax
je 0x1760ba
lea eax, [esp + 0x58c]
push eax
call fcn.00175346
pop ecx
mov cl, byte [esp + 0x13]
test cl, cl
mov byte [esp + eax + 0x58c], cl
mov eax, dword [esp + 0x24]
push 1
pop ecx
cmove eax, ecx
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ecx
test eax, eax
je 0x17602c
push dword [esp + 0x698]
lea eax, [esp + 0x590]
push eax
call fcn.0017538f
pop ecx
test eax, eax
mov eax, dword [esp + 0x24]
pop ecx
jne 0x1760f9
add dword [esp + 0x2c], 4
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x58]
jb 0x17600a
mov eax, dword [0x413ca8]
push ebx
call dword [eax + 0x84]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1760da
push eax
mov eax, dword [0x413ca8]
call dword [eax + 0x84]
test ebp, ebp
je 0x1760ea
mov eax, dword [0x413ca8]
push ebp
call dword [eax + 0x84]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x67c
ret 0x14
movzx eax, word [ebp + eax*2]
mov ecx, dword [ebx + eax*4]
mov eax, dword [esp + 0x28]
cmp ecx, eax
jb 0x175fc3
add eax, dword [esp + 0x18]
cmp ecx, eax
ja 0x175fc3
and dword [esp + 0x14], 0
lea eax, [esp + 0x1bc]
push 0x100
push 0
push eax
call 0x1704e0
add esp, 0xc
xor ecx, ecx
mov dword [esp + 0x24], ecx
xor eax, eax
inc eax
push 0
push eax
lea eax, [esp + 0x1b]
push eax
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x2c]
add eax, dword [ebx + ecx*4]
push eax
mov eax, dword [0x413ca8]
push esi
call dword [eax + 0x88]
test eax, eax
je 0x1760ba
lea eax, [esp + 0x1bc]
push eax
call fcn.00175346
pop ecx
mov cl, byte [esp + 0x13]
test cl, cl
mov byte [esp + eax + 0x1bc], cl
mov eax, dword [esp + 0x14]
push 1
pop ecx
cmove eax, ecx
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
test eax, eax
je 0x17613b
lea eax, [esp + 0x1bc]
push 0x2e
push eax
call fcn.001752f7
mov edi, eax
lea eax, [esp + 0x1c4]
push 0x2e
push eax
sub edi, eax
call fcn.001752f7
add esp, 0x10
test eax, eax
je 0x1760ba
push 0x100
lea eax, [esp + 0x490]
push 0
push eax
call fcn.0017518f
push 0x100
lea eax, [esp + 0xcc]
push 0
push eax
call fcn.0017518f
push edi
lea eax, [esp + 0x1d8]
push eax
lea eax, [esp + 0x4ac]
push eax
call fcn.00175357
lea eax, [esp + 0x1e1]
add eax, edi
push eax
lea eax, [esp + 0xe4]
push eax
call fcn.0017532d
add esp, 0x2c
lea eax, [esp + 0x48c]
push eax
push esi
call fcn.001758ef
cmp byte [esp + 0xbc], 0x23
mov dword [esp + 0x14], eax
jne 0x175f80
and dword [esp + 0x18], 0
lea eax, [esp + 0xbc]
push eax
call fcn.00175346
push eax
lea eax, [esp + 0xc4]
push eax
push eax
call fcn.0017526a
lea eax, [esp + 0xcc]
xor edi, edi
push eax
call fcn.00175346
add esp, 0x14
test eax, eax
je 0x1762b3
mov esi, dword [esp + 0x18]
mov al, byte [esp + edi + 0xbc]
cmp al, 0x30
jl 0x1762a8
cmp al, 0x39
jg 0x1762a8
imul ecx, esi, 0xa
movsx esi, al
lea eax, [esp + 0xbc]
push eax
add ecx, 0xffffffd0
add esi, ecx
inc edi
call fcn.00175346
pop ecx
cmp edi, eax
jb 0x17627b
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x690]
xor eax, eax
inc eax
push eax
push dword [esp + 0x1c]
jmp 0x175f16