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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5215ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov eax, dword [ebx + 0xe40]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
jle 0x42b429
mov eax, dword [ebx + 0xe3c]
mov esi, dword [eax + edi*4]
mov eax, dword [esi + 0x238]
test eax, eax
je 0x42b3f9
mov ecx, esi
call fcn.00498bf0
fadd qword [esp + 0x1c]
mov ecx, dword [esi + 0x238]
fstp qword [esp + 0x1c]
fld qword [esp + 0x24]
fadd qword [ecx + 0x298]
mov dword [esi + 0x1e4], 0
fstp qword [esp + 0x24]
jmp 0x42b40d
mov dword [esi + 0x238], 0
mov dword [esi + 0x1e4], 1
mov al, byte [ebp + 8]
test al, al
je 0x42b41e
mov dword [esi + 0x120], 0
mov eax, dword [ebx + 0xe40]
inc edi
cmp edi, eax
jl 0x42b3b7
mov ecx, ebx
call fcn.004f90c0
mov ecx, eax
fld qword [ecx + 0x30]
fcomp qword [0x5317b0]
fnstsw ax
test ah, 0x41
je 0x42b46a
fld qword [ecx + 0x30]
fcomp qword [0x5317a8]
fnstsw ax
test ah, 1
jne 0x42b46a
fld qword [ecx + 0x30]
fmul qword [0x5317a0]
fsubr qword [0x531798]
fmul qword [ecx + 0x18]
fstp qword [esp + 0x14]
jmp 0x42b478
mov edx, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 0xc]
call fcn.004f90c0
mov ecx, eax
fld qword [ecx + 0x30]
fcomp qword [0x5317b0]
fnstsw ax
test ah, 0x41
je 0x42b4b6
fld qword [ecx + 0x30]
fcomp qword [0x5317a8]
fnstsw ax
test ah, 1
jne 0x42b4b6
fld qword [ecx + 0x30]
fmul qword [0x5317a0]
fsubr qword [0x531798]
fmul qword [ecx + 0x18]
jmp 0x42b4b9
fld qword [ecx + 0x18]
fld qword [esp + 0x14]
fdiv st(1)
fstp qword [esp + 0x64]
fstp st(0)
fld qword [esp + 0x1c]
fdiv qword [esp + 0x24]
fdiv qword [esp + 0x64]
fld qword [0x531798]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x42b4f4
fstp st(0)
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0x3ff00000
jmp 0x42b4f8
fstp qword [esp + 0x54]
mov ecx, dword [ebx + 0xe40]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x1c], eax
jle 0x42b8be
mov ecx, dword [ebx + 0xe3c]
mov edi, dword [ecx + eax*4]
mov dword [esp + 0x24], edi
mov esi, dword [edi + 0x238]
test esi, esi
je 0x42b8ab
mov edx, dword [esi]
mov ebx, dword [edi]
mov ecx, esi
call dword [edx + 0x20]
push eax
mov ecx, edi
call dword [ebx + 0x1c]
lea ecx, [esp + 0x90]
call fcn.00488210
mov eax, dword [edi + 0x2a0]
mov ecx, dword [esi + 0x2a0]
xor ebx, ebx
cmp eax, ecx
mov dword [esp + 0x178], ebx
je 0x42b56c
lea eax, [esp + 0x90]
mov ecx, esi
push eax
call fcn.00502280
jmp 0x42b5d5
mov eax, dword [edi + 0x120]
test al, 2
setg cl
test al, 1
setg dl
push ecx
push edx
lea ecx, [esp + 0x98]
call fcn.0048a420
lea ecx, [esp + 0xe0]
call fcn.00488210
lea eax, [esp + 0xe0]
mov ecx, esi
push eax
mov byte [esp + 0x17c], 1
call fcn.00502280
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x94]
call fcn.0048a960
lea ecx, [esp + 0xe0]
mov byte [esp + 0x178], 0
call fcn.00519440
lea edx, [esp + 0x44]
mov ecx, edi
push edx
call fcn.00498bc0
lea eax, [esp + 0x44]
lea ecx, [esp + 0x90]
push eax
call fcn.0048a9d0
fld qword [esp + 0x54]
fmul qword [esi + 0x268]
fsub qword [esp + 0x44]
fstp qword [esp + 0x44]
fld qword [esp + 0x64]
fmul qword [esi + 0x270]
mov eax, dword [esp + 0x48]
fsub qword [esp + 0x4c]
fstp qword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
lea ecx, [esp + 0xa0]
call fcn.0048a850
mov edx, dword [edi]
lea eax, [esp + 0x90]
push eax
mov ecx, edi
call dword [edx + 0x10]
mov al, byte [ebp + 8]
mov dword [edi + 0x1e4], ebx
test al, al
je 0x42b88d
mov ecx, edi
call fcn.00498bf0
fcomp qword [esi + 0x298]
fnstsw ax
test ah, 1
je 0x42b88d
mov ecx, edi
call fcn.00498b90
mov ecx, dword [eax + 0x20]
lea ebx, [esi + 0x278]
mov dword [esp + 0x6c], ecx
mov ecx, ebx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x70], edx
call fcn.00488350
fcomp qword [esp + 0x6c]
fnstsw ax
test ah, 1
jne 0x42b88d
mov ecx, edi
call fcn.00498b90
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x5c], ecx
mov ecx, ebx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x60], edx
call fcn.00488370
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 1
jne 0x42b88d
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov ecx, dword [eax + 0x1d8]
test ecx, ecx
jle 0x42b88d
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x1d4]
mov ecx, esi
mov eax, dword [edx + ebx*4]
push eax
call fcn.00502680
test al, al
jne 0x42b709
mov ecx, dword [esp + 0x10]
inc ebx
cmp ebx, dword [ecx + 0x1d8]
jl 0x42b6de
jmp 0x42b88d
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x1d4]
mov ecx, dword [eax + ebx*4]
call fcn.0047ab90
xor ecx, ecx
mov ebx, eax
mov dword [esp + 0x30], 0x53290c
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ecx
mov eax, dword [ebx + 8]
mov byte [esp + 0x178], 2
cmp eax, ecx
mov dword [esp + 0x14], eax
jne 0x42b754
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ecx
jmp 0x42b78c
mov edi, eax
shl edi, 4
push edi
call fcn.0051af44
mov edx, eax
mov ecx, edi
mov dword [esp + 0x38], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
add esi, 0x450
lea ecx, [esp + 0x90]
push esi
call fcn.0048a6c0
mov eax, dword [ebx + 8]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], esi
jle 0x42b83b
xor edi, edi
mov eax, dword [ebx + 4]
add eax, edi
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [eax + 4]
mov dword [esp + 0x7c], edx
fld dword [esp + 0x7c]
mov eax, dword [eax + 8]
fstp qword [ecx + esi]
mov edx, dword [ebx + 4]
mov dword [esp + 0x80], eax
add edx, edi
mov eax, dword [edx]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [edx + 4]
mov dword [esp + 0x88], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x8c], edx
fld dword [esp + 0x8c]
fstp qword [eax + esi + 8]
mov ecx, dword [esp + 0x34]
add ecx, esi
push ecx
lea ecx, [esp + 0x94]
call fcn.0048a9d0
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
inc eax
add edi, 0xc
add esi, 0x10
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x42b7b2
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x130]
lea eax, [esp + 0x30]
push edx
push eax
push edi
call fcn.004b1d30
add esp, 0xc
test al, al
je 0x42b864
mov edx, dword [edi]
lea eax, [esp + 0x130]
push eax
mov ecx, edi
call dword [edx + 4]
mov dword [esp + 0x30], 0x53290c
mov eax, dword [esp + 0x34]
mov byte [esp + 0x178], 3
test eax, eax
je 0x42b885
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x30], 0x53138c
lea ecx, [esp + 0x90]
mov dword [esp + 0x178], 0xffffffff
call fcn.00519440
mov eax, dword [esp + 0x1c]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx + 0xe40]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x42b50c
push 1
mov ecx, ebx
call fcn.004f88b0
mov ecx, dword [esp + 0x170]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc