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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 4]
push ebx
push esi
push edi
mov esi, dword [eax + 4]
mov ebx, edx
mov dword [esp + 0x20], ecx
mov eax, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x18]
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x20]
mov eax, dword [esi + 0x20]
mov ecx, eax
cmp edi, eax
mov dword [esp + 0x14], eax
mov eax, edi
cdq
cmovl ecx, edi
mov esi, edx
mov dword [esp + 0x34], ecx
push esi
push eax
push 0
push ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], esi
call fcn.004c2a20
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
cmp edi, dword [esp + 0x14]
je 0x431ce1
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0xc], 0
je 0x431ce1
mov eax, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
mov ebx, eax
mov ecx, edx
sub ebx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebx
sbb ecx, esi
xor edi, edi
mov dword [esp + 0x10], ecx
cmp ecx, edx
jg 0x431ec8
jl 0x431d07
cmp ebx, eax
jae 0x431ec8
mov eax, dword [esp + 0x14]
cdq
push edx
push eax
push ecx
push ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], edx
call fcn.004c2a60
xor edx, edx
lea esi, [eax + 1]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov eax, dword [0x4da850]
mov ecx, dword [ecx + 4]
div dword [ecx + 0x20]
inc eax
cmp esi, eax
je 0x431ea3
push 0
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
mov eax, dword [eax + 0xc8]
call eax
mov edi, eax
add esp, 0x10
mov dword [esp + 0xc], edi
test edi, edi
jne 0x431e47
mov esi, dword [esp + 0x48]
test byte [esi + 0x1c], 4
mov ecx, dword [esi + 0x14]
je 0x431d9c
mov eax, dword [ecx + 0x18]
cmp eax, dword [esi + 0x18]
jb 0x431d9c
cmp dword [ecx + 0x60], edi
je 0x431d94
mov ecx, esi
call fcn.0041ec00
mov edi, eax
mov dword [esp + 0xc], edi
jmp 0x431dd3
xor edi, edi
mov dword [esp + 0xc], edi
jmp 0x431ddb
mov edi, dword [ecx + 0x28]
mov dword [esp + 0xc], edi
test edi, edi
jne 0x431e4b
mov eax, dword [ecx + 0x94]
cmp eax, dword [ecx + 0x98]
mov ecx, esi
jbe 0x431dc8
call fcn.00420780
mov edi, eax
mov dword [esp + 0xc], edi
jmp 0x431dd3
call fcn.004206b0
mov edi, eax
mov dword [esp + 0xc], eax
test edi, edi
jne 0x431e47
mov esi, dword [esp + 0x48]
push dword [esp + 0x30]
push dword [esp + 0x2c]
push dword [esp + 0x18]
push ebx
call fcn.004c2b10
push dword [esp + 0x34]
add eax, dword [esi + 4]
push dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
push dword [esp + 0x24]
mov dword [esp + 0x30], eax
push esi
push ebx
call fcn.004c2b10
add eax, dword [esp + 0x40]
push eax
push dword [esp + 0x2c]
call fcn.004ae080
mov eax, dword [esp + 0x54]
add esp, 0xc
mov eax, dword [eax + 8]
mov byte [eax], 0
mov eax, ebx
or eax, esi
jne 0x431e47
cmp dword [ebp + 0xc], eax
jne 0x431e47
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2c]
bswap eax
mov dword [ecx + 0x1c], eax
mov esi, dword [esp + 0x48]
test esi, esi
je 0x431ea3
test byte [esi + 0x1c], 0x20
je 0x431e9c
mov eax, dword [esi + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [esi + 0x10], ecx
mov edi, dword [eax + 0x3c]
mov dword [eax + 0x88], esi
push dword [esi + 4]
mov eax, dword [eax + 0x98]
mov ecx, dword [esi + 0x18]
mov ebx, dword [edi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004c2a20
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov edi, dword [esp + 0x1c]
add esp, 0x10
mov ebx, dword [esp + 0x2c]
jmp 0x431ea3
mov ecx, esi
call fcn.0041a3d0
add ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
adc ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], ecx
test edi, edi
jne 0x431ec8
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
jmp 0x431cf5
mov ecx, dword [esp + 0x4c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret