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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x160
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x15c], eax
cmp dword [edi + 4], 0
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x30], eax
je 0x42518b
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
mov ebx, eax
mov dword [esp + 0xc], ebx
jmp 0x425197
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 0xc]
mov esi, dword [edi + 0x4ac]
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
push esi
mov ecx, ebx
call eax
test al, al
je 0x42543e
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x42543e
imul esi, esi, 0x68
lea esi, [esi + eax - 0x68]
mov dword [esp + 0x34], esi
test esi, esi
je 0x42543e
fld dword [esi + 0x54]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x42543e
lea esi, [esp + 0x48]
call fcn.00412900
xor eax, eax
mov dword [esp + 0x28], eax
cmp dword [edi + 0x394], eax
jbe 0x425377
mov dword [esp + 0x24], eax
jmp 0x425204
mov ebx, dword [esp + 0xc]
mov eax, dword [edi + 0x3a0]
add eax, dword [esp + 0x24]
sub esp, 0x20
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], edx
fild dword [esp + 0x34]
mov edx, dword [eax + 0xc]
mov eax, esp
mov dword [esp + 0x38], ecx
fild dword [esp + 0x38]
mov dword [esp + 0x3c], edx
fild dword [esp + 0x3c]
fxch st(3)
fstp qword [eax]
fxch st(1)
fstp qword [eax + 8]
fstp qword [eax + 0x10]
fstp qword [eax + 0x18]
lea eax, [esp + 0x58]
push eax
mov eax, dword [edi + 0x4ac]
call fcn.00442f70
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov eax, dword [eax + 0xc]
mov esi, dword [0x9f48bc]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x80]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 8], eax
test eax, eax
jle 0x4252f6
mov eax, dword [esp + 0x34]
add eax, 0x58
cmp dword [eax], 0
mov dword [esp + 0x20], 0
jge 0x4252a6
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], ecx
jmp 0x4252aa
mov dword [esp + 0x2c], eax
fild dword [esp + 8]
mov edx, dword [esp + 0xc]
fmul dword [edx + 0x70]
call fcn.0065d070
mov esi, dword [esi + 0x84]
mov ebx, eax
mov eax, dword [esp + 0x2c]
add ebx, dword [eax]
mov dword [esp + 8], esi
test esi, esi
jle 0x4252d6
fild dword [esp + 8]
jmp 0x4252dc
fld qword [0x9ad880]
mov ecx, dword [esp + 0xc]
fmul dword [ecx + 0x70]
call fcn.0065d070
sub dword [esp + 0x14], 4
add dword [esp + 0x1c], 8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
lea ecx, [eax + 1]
lea esi, [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0x20], ecx
call fcn.00426a40
test al, al
jne 0x425316
xor eax, eax
mov byte [eax], al
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x48]
mov esi, ecx
shl esi, 4
add esi, dword [esp + 0x54]
cmp eax, ecx
jbe 0x42533e
sub eax, ecx
shl eax, 4
push eax
lea ecx, [esi + 0x10]
push esi
push ecx
call fcn.006586a0
add esp, 0xc
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add dword [esp + 0x24], 0x10
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x1c]
mov dword [esi], ebx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 8], ecx
inc eax
mov dword [esi + 0xc], edx
mov dword [esp + 0x28], eax
cmp eax, dword [edi + 0x394]
jb 0x425200
mov ecx, dword [edi + 0x350]
fnstcw word [esp + 0xc]
mov edx, dword [edi + 0x354]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edi + 0x358]
mov dword [eax + 4], edx
mov edx, dword [edi + 0x35c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, 5
sub eax, dword [edi + 0x4b0]
push 0
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
movzx eax, word [esp + 0x20]
or eax, 0xc00
fmul qword [0x9adce0]
mov dword [esp + 0x1c], eax
mov eax, dword [0x9f48bc]
fdiv qword [0x9adcd8]
fldcw word [esp + 0x1c]
fistp dword [esp + 0x1c]
mov cl, byte [esp + 0x1c]
movzx edx, cl
mov ecx, dword [eax + 0x88]
push edx
mov edx, dword [esp + 0x48]
fldcw word [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x68]
call fcn.0042bee0
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x78]
add esp, 0x20
cmp eax, ecx
je 0x42543e
mov ecx, dword [esp + 0x158]
push eax
test ecx, ecx
jne 0x425437
call fcn.00658a01
add esp, 4
pop esi
pop ebx
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x164]
pop esi
pop ebx
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret