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

Disassembly:
mov eax, dword [0x51a450]
sub esp, 0x3c
test eax, eax
je 0x42bb17
push edi
mov edi, dword [esp + 0x44]
mov eax, dword [edi + 0x100c]
mov edx, dword [edi + 0xf94]
mov ecx, dword [edi + 0xf98]
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x1010]
add eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x42b857
call fcn.00445ad0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x34]
push eax
call fcn.00445880
add esp, 4
mov ecx, dword [0x51a450]
mov edx, dword [ecx + 8]
dec edx
mov dword [esp + 8], edx
js 0x42baf7
push ebx
push ebp
push esi
mov eax, dword [0x51a450]
mov ecx, dword [eax]
mov esi, dword [ecx + edx*4]
test esi, esi
jne 0x42b887
mov dword [0x505734], edx
jmp 0x42bae5
mov ebx, dword [esi + 0x88]
test bl, 8
je 0x42bae5
mov eax, dword [esi + 0x74]
mov ecx, dword [edi + 0x101c]
cmp eax, ecx
jbe 0x42bb71
mov edx, dword [esp + 0x54]
test edx, edx
jne 0x42b8b4
sub eax, ecx
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x78]
test eax, eax
je 0x42b90f
mov eax, dword [esi + 0x7c]
mov ecx, dword [edi + 0x101c]
cmp eax, ecx
jae 0x42b8fb
test bl, 1
je 0x42b8db
push esi
call fcn.0042bb80
mov eax, dword [esi + 0x78]
add esp, 4
jmp 0x42b8fd
mov edx, ebx
mov eax, dword [esi + 0x78]
shr edx, 2
and edx, 1
inc edx
neg edx
shl edx, 2
xor edx, ebx
and edx, 4
xor edx, ebx
mov dword [esi + 0x88], edx
jmp 0x42b8fd
sub eax, ecx
mov ebx, dword [esi + 0x88]
mov dword [esi + 0x7c], eax
test bl, 4
jne 0x42bae5
fld dword [edi + 0x263c]
fdivr dword [esi + 0x6c]
fld dword [edi + 0x263c]
fdivr dword [esi + 0x70]
fstp dword [esp + 0x3c]
fadd dword [esi + 0x64]
fst dword [esi + 0x64]
fld dword [esp + 0x3c]
fadd dword [esi + 0x68]
fst dword [esp + 0x18]
fstp dword [esi + 0x68]
call fcn.004f7d68
fld dword [esp + 0x18]
mov ebp, eax
call fcn.004f7d68
test bl, 2
mov dword [esp + 0x34], eax
je 0x42b962
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add ebp, edx
add eax, ecx
mov dword [esp + 0x34], eax
mov ecx, dword [esi]
dec ecx
je 0x42bb36
dec ecx
je 0x42ba8d
dec ecx
jne 0x42bae5
mov ecx, dword [edi + 0x101c]
mov edx, dword [esi + 0x14]
sub edx, ecx
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x14], edx
mov edx, dword [edi + 0x101c]
sub ecx, edx
mov dword [esi + 0x2c], ecx
mov ecx, dword [esi + 0x18]
and ecx, 1
cmp cl, 1
jne 0x42b9b2
mov ecx, dword [esi + 8]
mov bl, byte [ecx]
test bl, bl
mov byte [esp + 0x13], bl
je 0x42b9b6
mov byte [ecx], 0
jmp 0x42b9b6
mov bl, byte [esp + 0x13]
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x42ba3c
push eax
push ebp
call fcn.00446670
mov edx, dword [esi + 4]
add esp, 8
cmp byte [edx], 0
je 0x42b9fb
mov eax, dword [esi + 0x1c]
push eax
call fcn.004459b0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push ecx
push edx
call fcn.00444ec0
lea eax, [esi + 0x20]
push eax
call fcn.00445730
mov ecx, dword [esi + 4]
push ecx
call fcn.00443ce0
add esp, 0x14
test byte [esi + 0x18], 4
je 0x42ba3c
lea edx, [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00446540
mov ecx, dword [esi + 0x38]
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x30]
mov ebp, dword [esi + 0x34]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
add edx, ecx
sub eax, ebp
push edx
push eax
mov eax, dword [edi + 0x2034]
push ecx
mov ecx, dword [eax + 4]
push ecx
call fcn.0044e6f0
add esp, 0x20
mov edx, dword [esi + 0x18]
and edx, 1
cmp dl, 1
jne 0x42ba5a
test bl, bl
je 0x42ba5a
mov eax, dword [esi + 8]
mov byte [eax], bl
mov eax, dword [esi + 0x14]
test eax, eax
jg 0x42ba5a
inc dword [esi + 8]
mov eax, dword [esi + 0x2c]
test eax, eax
jg 0x42ba7e
add eax, 0x1f4
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x18]
test al, 2
je 0x42ba7e
mov ecx, eax
not ecx
xor ecx, eax
and ecx, 4
xor ecx, eax
mov dword [esi + 0x18], ecx
mov eax, dword [esi + 0x14]
test eax, eax
jg 0x42bae5
add eax, 0x32
mov dword [esi + 0x14], eax
jmp 0x42bae5
mov eax, dword [esi + 0x18]
test eax, eax
je 0x42bae5
mov edx, dword [esp + 0x50]
lea edi, [esi + 0xc]
mov eax, dword [edx + 0x101c]
push eax
push edi
call fcn.00456fe0
mov eax, dword [esp + 0x5c]
add esp, 8
test eax, eax
je 0x42bae1
mov eax, dword [esi + 0x54]
test eax, eax
je 0x42bb1b
cmp eax, 1
je 0x42bb1b
mov ecx, dword [esp + 0x34]
push 0x3f800000
push 0x3f800000
add esi, 0x58
push 0
push esi
push eax
push 0
push ecx
push ebp
push edi
call fcn.004572b0
add esp, 0x24
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
dec edx
mov dword [esp + 0x14], edx
jns 0x42b86e
pop esi
pop ebp
pop ebx
mov eax, dword [esp + 0x48]
pop edi
test eax, eax
je 0x42bb17
mov edx, dword [esp + 0x14]
push edx
call fcn.004459b0
lea eax, [esp + 0x34]
push eax
call fcn.00445730
add esp, 8
add esp, 0x3c
ret
mov edx, dword [edi + 0x24]
mov eax, dword [esp + 0x34]
push 0x3f800000
push 0x3f800000
push 0
push 0
push edx
push 0
push eax
jmp 0x42bad7
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x42bae5
mov esi, dword [esi + 4]
test esi, esi
je 0x42bae5
mov ecx, dword [edi + 0x2034]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x42bae5
push 0x3e7
push 0x3e7
push 0
push 0
push esi
push eax
push ebp
push ecx
call fcn.00448390
add esp, 0x20
jmp 0x42bae5
push edx
call fcn.0042b4b0
add esp, 4
jmp 0x42bae5