Function at 0x431f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa8
mov ecx, dword [esp + 0xb0]
push ebx
mov ebx, dword [esp + 0xb0]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x24], eax
movzx eax, word [ecx]
cmp ax, 0x40
push edi
jle 0x431f72
push 0x40
push 0x4670d4
mov edi, ebx
call fcn.0041a2a0
add esp, 8
pop edi
xor eax, eax
pop ebx
add esp, 0xa8
ret
test byte [esp + 0xc4], 0x80
je 0x431f86
mov dword [esp + 0xc], 1
jmp 0x431f8d
movsx edx, ax
mov dword [esp + 0xc], edx
mov eax, dword [ebx]
push ebp
mov ebp, dword [esp + 0x10]
lea ebp, [ebp + ebp*4]
shl ebp, 4
add ebp, 0x37
and ebp, 0xfffffff8
push esi
lea edi, [ebp + 0x264]
mov dword [esp + 0x24], eax
call fcn.004128f0
mov esi, eax
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1e], 0
mov dword [esp + 0x10], esi
je 0x431fda
mov ecx, eax
push esi
push ecx
call fcn.00410460
add esp, 8
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0xa8
ret
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0x14]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x18], edx
mov dword [esi], ebx
call fcn.004176a0
mov cx, word [esp + 0xcc]
lea edi, [esi + ebp]
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], edi
mov word [esi + 4], cx
mov edx, dword [ebx + 0x1b8]
push 0x104
mov dword [esi + 0x20], edx
mov eax, dword [ebx + 0x1bc]
lea ebp, [edi + 0x160]
push 0
push ebp
mov dword [esp + 0x50], edi
mov dword [esi + 0x24], eax
mov dword [esp + 0x5c], ebp
call fcn.0045c6f6
mov edx, ebp
mov ecx, ebx
mov eax, edi
call fcn.00408890
mov ebp, dword [esp + 0xd0]
mov edx, ebp
mov eax, ebx
call fcn.00431440
push 0x45
push ebp
push edi
call fcn.00414250
add esp, 0x18
test ebp, ebp
je 0x432087
cmp dword [esp + 0x14], 0
je 0x432075
mov ecx, ebp
call fcn.00411d80
test eax, eax
je 0x432087
mov ecx, dword [esi + 0x14]
push 8
push ecx
mov edx, ebp
push edx
push ebx
call fcn.0042f970
add esp, 0x10
mov ebx, dword [esp + 0xc0]
xor esi, esi
cmp word [ebx], si
jle 0x4320da
lea ebp, [ebx + 0x14]
jmp 0x4320a0
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x50]
call fcn.00408850
mov eax, dword [ebp]
test eax, eax
je 0x4320cd
test byte [eax + 0x22], 0x10
je 0x4320cd
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.0045c700
or dword [edi + 8], eax
or dword [edi + 0xc], edx
movsx eax, word [ebx]
add esi, 1
add ebp, 0x38
cmp esi, eax
jl 0x4320a0
call fcn.00431230
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x1e], 0
jne 0x43261e
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
xor edx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
add ecx, 0x30
cmp eax, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], ecx
jle 0x4324d5
add eax, 0xffffffff
mov dword [esp + 0x8c], eax
jmp 0x432130
mov edx, dword [esp + 0x8c]
xor eax, eax
xor ecx, ecx
or esi, 0xffffffff
cmp dword [esp + 0x28], edx
mov ebx, eax
setl cl
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
cmp ecx, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0x40000
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x40], ecx
jl 0x4323d3
lea ecx, [ecx]
test esi, esi
jge 0x4323cf
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0xc0]
lea ecx, [eax*8]
sub ecx, eax
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
lea ebp, [edx + ecx*8 + 8]
jge 0x4323c0
mov ecx, dword [esp + 0x10]
lea eax, [eax + eax*4]
shl eax, 4
lea edx, [eax + ecx + 0x78]
mov dword [esp + 0x4c], edx
mov al, byte [ebp + 0x15]
mov ecx, dword [esp + 0x28]
and al, 0xa
neg al
sbb eax, eax
neg eax
cmp dword [esp + 0x34], ecx
mov dword [esp + 0x88], eax
je 0x432204
test eax, eax
jne 0x4323c0
mov esi, dword [ebp + 0x18]
mov edx, dword [esp + 0x50]
call fcn.00408860
mov ebx, edx
mov edi, eax
and eax, dword [esp + 0x18]
mov ecx, ebx
and ecx, dword [esp + 0x1c]
or eax, ecx
jne 0x43223a
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x34], edx
jne 0x4323a3
add dword [esp + 0x28], 1
jmp 0x4323a3
cmp dword [esp + 0x40], 0
je 0x432247
mov ecx, edi
mov edx, ebx
jmp 0x43224f
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x5c], 0
jne 0x432265
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x432265
mov eax, dword [eax]
jmp 0x432267
xor eax, eax
cmp dword [ebp + 0x34], 0
jne 0x432272
add dword [esp + 0x48], 1
mov esi, dword [ebp + 0xc]
test byte [esi + 0x22], 0x10
lea esi, [esp + 0x90]
je 0x4322a2
push eax
mov eax, dword [esp + 0x48]
push edx
push ecx
mov ecx, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, ebp
call fcn.0041e540
add esp, 0x14
jmp 0x4322c6
push esi
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
push edx
mov edx, dword [esp + 0xd0]
push ecx
mov ecx, dword [esp + 0x5c]
push ebp
push ecx
push edx
call fcn.004239d0
add esp, 0x24
cmp dword [esp + 0x40], 0
mov edx, dword [esp + 0x90]
je 0x4322e4
test edx, 0x100f3000
jne 0x4322e4
or dword [esp + 0x54], edi
or dword [esp + 0x58], ebx
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
and eax, dword [esp + 0x18]
and ecx, dword [esp + 0x1c]
or eax, ecx
jne 0x432399
mov ecx, dword [esp + 0x38]
test ecx, ecx
jl 0x432320
and edi, dword [esp + 0x54]
and ebx, dword [esp + 0x58]
mov eax, edi
or eax, ebx
jne 0x432320
test edx, 0x100f3000
je 0x432399
cmp dword [esp + 0x48], 0
je 0x432335
cmp dword [ebp + 0x34], 0
je 0x432335
test edx, 0x100f3000
je 0x432399
test ecx, ecx
jl 0x43237f
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x7c]
cmp ecx, edx
jl 0x43237f
mov eax, dword [esp + 0xa8]
jg 0x432357
cmp eax, dword [esp + 0x78]
jb 0x43237f
cmp ecx, edx
jg 0x432399
jl 0x432363
cmp eax, dword [esp + 0x78]
ja 0x432399
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0x6c]
jg 0x432399
jl 0x43237f
mov ecx, dword [esp + 0x98]
cmp ecx, dword [esp + 0x68]
jae 0x432399
mov edx, dword [esp + 0x34]
mov ecx, 0xa
lea esi, [esp + 0x90]
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x38], edx
cmp dword [esp + 0x88], 0
jne 0x4323c0
mov eax, dword [esp + 0x34]
add dword [esp + 0x4c], 0x50
add eax, 1
add ebp, 0x38
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
jl 0x4321e0
sub dword [esp + 0x40], 1
mov esi, dword [esp + 0x38]
jns 0x4321a0
mov ebx, dword [esp + 0x60]
test ebx, 0x1000000
je 0x4323e8
mov eax, dword [esp + 0xc8]
mov dword [eax], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
and dword [esp + 0x2c], ebx
test ebx, 0x200f0000
mov edi, dword [esp + 0xbc]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
je 0x432430
mov edx, dword [edi + 0x44]
mov dword [eax + 0x20], edx
add dword [edi + 0x44], 1
jmp 0x432437
mov dword [eax + 0x20], 0xffffffff
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x50]
lea eax, [esi*8]
sub eax, esi
mov esi, dword [ecx + eax*8 + 0x20]
lea ebp, [ecx + eax*8]
call fcn.00408860
not eax
and dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
not edx
and dword [esp + 0x1c], edx
mov dl, byte [esp + 0x38]
mov byte [eax + 0x34], dl
mov eax, dword [esp + 0x6c]
test eax, eax
jl 0x4324a4
jg 0x43247f
cmp dword [esp + 0x68], 1
jb 0x4324a4
mov ecx, dword [esp + 0x68]
mov edx, dword [edi + 0x1bc]
push eax
mov eax, dword [edi + 0x1b8]
push ecx
push edx
push eax
call fcn.0045c720
mov dword [edi + 0x1b8], eax
mov dword [edi + 0x1bc], edx
mov ebp, dword [ebp + 0x3c]
test ebp, ebp
je 0x4324b7
test ebx, 0xf0000
je 0x43260d
mov eax, dword [esp + 0x5c]
add dword [esp + 0x20], 0x50
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
jl 0x432130
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xbc]
cmp dword [edx + 0x40], 0
jne 0x43261e
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1e], 0
jne 0x43261e
mov edx, dword [esp + 0x2c]
and edx, 0x4000000
je 0x432511
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x432511
mov dword [eax], 0
test byte [esp + 0xcc], 4
je 0x43252d
test edx, edx
je 0x43252d
mov edx, dword [esp + 0x10]
and dword [ecx], 0xff7fffff
mov byte [edx + 6], 1
mov eax, dword [esp + 0xbc]
or esi, 0xffffffff
call fcn.0042e400
mov eax, dword [esp + 0x14]
test eax, eax
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x10]
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], 0
jle 0x432780
mov dword [esp + 0x2c], eax
lea ebx, [ebx]
movzx eax, byte [ebp + 0x34]
mov edx, dword [esp + 0xc0]
lea ecx, [eax*8]
sub ecx, eax
mov ebx, dword [edx + ecx*8 + 0x14]
lea eax, [edx + ecx*8 + 8]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x18]
mov dword [ebp + 0x1c], eax
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.0045c720
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
mov esi, dword [ebx + 0x40]
call fcn.00408ac0
test byte [ebx + 0x22], 2
mov esi, eax
mov dword [esp + 0x3c], esi
jne 0x4326e1
cmp dword [ebx + 0x1c], 0
jne 0x4326e1
mov eax, dword [ebp]
test eax, 0x8000000
je 0x432656
mov ecx, dword [esp + 0x24]
push 0xfffffffffffffff6
mov eax, ebx
call fcn.00408930
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x18]
mov edi, dword [esp + 0x34]
push eax
push 0x7f
xor eax, eax
xor ecx, ecx
call fcn.004189b0
add esp, 0xc
jmp 0x4326e1
mov ecx, dword [ebp]
push ecx
push 0x4670f0
call fcn.0041a2a0
add esp, 8
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x20]
mov ecx, dword [esp + 0xbc]
mov dword [ecx + 0x1b8], edx
mov edx, dword [eax + 0x24]
push eax
mov eax, dword [esp + 0x28]
push eax
mov dword [ecx + 0x1bc], edx
call fcn.00412ab0
add esp, 8
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0xa8
ret
test eax, 0x800000
jne 0x4326e1
test byte [esp + 0xcc], 0x10
jne 0x4326e1
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xbc]
xor eax, eax
cmp byte [ecx + 6], al
setne al
add eax, 0x26
push eax
push esi
mov esi, dword [esp + 0x28]
mov edx, dword [esi + 0x18]
push edx
call fcn.004185e0
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp byte [eax + 6], 0
jne 0x4326dd
cmp dword [ebx + 8], 0x40
jge 0x4326dd
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x4326c0
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
add edx, 1
or esi, ecx
jne 0x4326b1
mov ecx, dword [esp + 0x30]
push edx
mov eax, ecx
call fcn.00409c90
push ecx
sub eax, 1
mov ecx, 0xfffffff2
call fcn.00417360
add esp, 8
mov esi, dword [esp + 0x3c]
mov eax, dword [ebp]
test eax, 0x20000000
je 0x432712
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push ebp
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0xc8]
push eax
push ecx
push edx
call fcn.00426030
add esp, 0x18
jmp 0x432743
test eax, 0xf0000
je 0x432743
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0xbc]
push edi
push eax
call fcn.0041f630
mov ecx, dword [edi + 0x14]
mov edx, dword [ebp + 0x20]
mov edi, dword [esp + 0x38]
push 0xfffffffffffffff0
push eax
push 0x26
mov eax, esi
call fcn.004189b0
add esp, 0x14
mov eax, dword [esp + 0xbc]
call fcn.0042e400
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
mov esi, dword [ecx + 0x18]
mov edx, dword [edx + 4]
call fcn.00408860
mov esi, dword [esp + 0x10]
not eax
and dword [esp + 0x18], eax
not edx
and dword [esp + 0x1c], edx
add ebp, 0x50
sub dword [esp + 0x2c], 1
jne 0x432570
mov eax, dword [esp + 0x30]
call fcn.00409c90
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1e], 0
jne 0x43261e
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
or eax, 0xffffffff
or edx, 0xffffffff
xor esi, esi
test ebx, ebx
jle 0x4327d6
lea ebp, [edi + 0x5c]
mov ecx, dword [esp + 0xcc]
push edx
push eax
push ecx
push edi
mov ecx, esi
call fcn.00431480
mov ecx, dword [ebp]
add esi, 1
add esp, 0x10
add ebp, 0x50
cmp esi, ebx
mov dword [edi + 0x10], ecx
jl 0x4327b1
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
add esp, 0xa8
ret