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

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4315a9
sub esp, 0x6c
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x98]
mov dword [esp], ecx
call fcn.0040d4c0
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004309f0
mov eax, dword [esp + 0x78]
shl eax, 0xd
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x74]
lea edx, [eax + ecx - 1]
mov ebx, dword [esp + 4]
mov dword [esp + 0x24], ebx
mov dword [esp], edx
call fcn.004309f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x54]
add edx, ecx
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x24]
cmp eax, ebx
je 0x431345
mov dword [esp + 0x3c], eax
movzx ebp, byte [esp + 0x7c]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4312a5
mov ebp, dword [esp + 0x70]
mov esi, dword [ebp + 0x24]
mov dword [esp + 0x58], esi
jmp 0x4315a3
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x5c], ecx
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.00430db0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x5c]
lea edx, [ecx + eax*8]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 8]
test byte [ebx], al
mov dword [esp], ebx
call fcn.004346c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x68]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x24]
sub ecx, edx
mov ebx, dword [esp + 0x3c]
mov ebp, ebx
sub ebx, edx
dec ecx
neg ecx
sar ecx, 0x1f
inc edx
shl edx, 3
and ecx, edx
add ecx, dword [eax + 0x24]
lea edx, [ebx - 1]
movzx ebx, byte [esp + 0x7d]
test bl, bl
jne 0x431321
xor ebx, ebx
jmp 0x431544
test edx, edx
je 0x4314f0
mov dword [esp], ecx
shl edx, 3
mov dword [esp + 4], edx
call fcn.0046dd90
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x3c]
jmp 0x4314f0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x24]
lea ecx, [ecx + ebx*8]
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x20], ecx
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.00430db0
mov eax, dword [esp + 8]
test byte [eax], al
mov dword [esp], eax
call fcn.004346c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x20]
cmp ecx, edx
sete dl
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
sete bl
and edx, ebx
test dl, dl
jne 0x4313ab
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0x24]
mov ebp, dword [esp + 0x24]
lea ebx, [ebx + ebp*8]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x4313af
add esp, 0x6c
ret
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x74]
mov ebx, 2
mov ebp, 1
jmp 0x4313d8
mov esi, dword [esp + 0x30]
lea ebx, [esi - 1]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x74]
mov ebp, edx
mov edx, dword [esp + 0x70]
test ebx, ebx
jl 0x431422
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x431422
mov dword [esp + 0x30], ebx
lea edx, [0x54a440]
mov ebp, dword [edx + ebx*4 + 4]
mov dword [esp + 0x2c], ebp
lea esi, [0x54a460]
mov edi, dword [esi + ebx*4 + 4]
mov dword [esp + 0x28], edi
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00430b40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
xor edx, edx
jmp 0x431435
add esp, 0x6c
ret
movzx edx, byte [esp + 0x1b]
or edx, edi
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
cmp eax, ecx
jge 0x4313c3
mov dword [esp + 0x34], eax
mov byte [esp + 0x1b], dl
mov edx, dword [esp + 0x30]
lea ebx, [edx + edx*2]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x70]
mov esi, dword [ebp + ebx*4 + 0x14]
mov ecx, dword [esp + 0x2c]
mov edi, eax
shl eax, cl
lea edx, [edi + 1]
mov dword [esp + 0x4c], edx
shl edx, cl
cmp ecx, 0x20
sbb ecx, ecx
and eax, ecx
mov dword [esp + 0x48], eax
sub esi, eax
mov dword [esp + 0x40], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
shl eax, 3
sar esi, 0x1f
and esi, eax
add esi, dword [ebp + ebx*4 + 0xc]
mov dword [esp], esi
and edx, ecx
mov eax, dword [esp + 0x48]
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
call fcn.00432f90
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x70]
mov ebx, dword [ebp + ebx*4]
mov esi, dword [esp + 0x34]
lea ebx, [ebx + esi*8]
cmp dword [ebx], eax
xchg esi, ebx
setne bl
xchg esi, ebx
cmp dword [ebx + 4], edx
xchg edi, ebx
setne bl
xchg edi, ebx
or edi, esi
xchg edi, eax
test al, al
xchg edi, eax
je 0x431426
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x431426
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.00430db0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x5c]
lea eax, [ecx + eax*8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 8]
test byte [ecx], al
mov dword [esp], ecx
call fcn.004346c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x64]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov edx, dword [esp + 0x70]
jmp 0x4313af
lea esi, [ecx + ebx*8]
mov dword [esi], 0x8000200
mov dword [esi + 4], 0x2000
inc ebx
cmp ebx, edx
jl 0x431533
jmp 0x4314f0
mov dword [esp + 0x44], ebx
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.00430db0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
lea edx, [ecx + eax*8]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 8]
test byte [ebx], al
mov dword [esp], ebx
call fcn.004346c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x60]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x44]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x58]
cmp ebx, eax
jbe 0x43154a
jmp 0x43152a
call fcn.0046c370
jmp fcn.00431210