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

Disassembly:
sub esp, 0xb4
mov eax, dword [ecx + 0x4c]
push esi
lea esi, [ecx + 0x4c]
mov dword [esp + 0x24], ecx
mov ecx, esi
call dword [eax + 8]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x38]
cmp eax, 2
jne 0x422d43
mov eax, dword [esi]
push ebx
push ebp
push edi
mov ecx, esi
call dword [eax + 4]
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
call dword [edx + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x54]
mov ebx, eax
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x20]
mov ebp, eax
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x44], edx
mov eax, dword [eax + 8]
add ecx, 0x88
mov edx, dword [ecx]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x64], eax
fld dword [esp + 0x64]
fadd dword [0x89096c]
mov dword [esp + 0x60], edx
mov dword [esp + 0xa8], 0x3f800000
mov dword [esp + 0x94], 0x3f800000
fstp dword [esp + 0x64]
mov dword [esp + 0x80], 0x3f800000
fld dword [esp + 0x60]
mov dword [esp + 0x6c], 0x3f800000
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
fsub dword [ebp]
fld dword [esp + 0x64]
mov dword [esp + 0x68], ecx
fsub dword [ebp + 4]
fld dword [esp + 0x68]
fsub dword [ebp + 8]
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
fxch st(1)
mov dword [esp + 0x28], edx
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x34]
mov dword [esp + 0x38], ecx
push eax
mov ecx, eax
push ecx
mov dword [esp + 0x44], edx
call fcn.0040fe20
mov edx, dword [esi]
add esp, 8
mov ecx, esi
call dword [edx + 0xcc]
fstp dword [esp + 0x1c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
fst dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
fcomp dword [ecx + 0x84]
fnstsw ax
test ah, 0x41
jne 0x422951
fld dword [esp + 0xc8]
mov ecx, dword [ecx + 0x84]
fmul dword [0x890614]
mov dword [esp + 0x10], ecx
fsubr dword [esp + 0x14]
fcom dword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x422999
jmp 0x422993
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x78]
fld dword [esp + 0x1c]
fmul dword [0x890634]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x84]
mov dword [esp + 0x10], edx
fadd dword [0x890634]
fmulp st(1)
fmul dword [esp + 0xc8]
fadd dword [esp + 0x14]
fcom dword [esp + 0x10]
fnstsw ax
test ah, 5
jnp 0x422999
fstp st(0)
fld dword [esp + 0x10]
mov eax, dword [esi]
fstp dword [esp + 0x14]
mov ecx, esi
call dword [eax + 0x74]
fld dword [esp + 0x1c]
fmul dword [0x8910f0]
fadd dword [0x891050]
fmulp st(1)
fstp dword [esp + 0x10]
fld dword [0x890968]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4229d3
fld dword [0x890968]
jmp 0x4229d7
fld dword [esp + 0x14]
fld dword [esp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4229ea
fstp st(0)
fld dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
fst dword [esp + 0x10]
mov ecx, dword [ecx + 0xd4]
fstp dword [esp + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x14]
test al, al
je 0x422a13
fld dword [esp + 0x10]
fmul dword [0x891068]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
mov ecx, edi
fmul dword [esp + 0xc8]
fld dword [esp + 0x34]
fmul st(1)
fadd dword [esp + 0x40]
fstp dword [esp + 0x40]
fld dword [esp + 0x38]
fmul st(1)
fadd dword [esp + 0x44]
fstp dword [esp + 0x44]
fld dword [esp + 0x3c]
fmul st(1)
fadd dword [esp + 0x48]
fstp dword [esp + 0x48]
mov eax, dword [edi]
fstp st(0)
call dword [eax + 0x4c]
mov edi, eax
push 1
push ebp
mov ecx, edi
call fcn.00789190
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx]
mov byte [esp + 0x1b], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x3f800000
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
call dword [edx + 0xc4]
test al, al
jne 0x422b59
test byte [edi + 0x30], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x3f800000
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
je 0x422aca
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.00402690
jmp 0x422ae2
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x3f800000
lea ecx, [esp + 0x20]
push ecx
mov edx, ecx
push edx
call fcn.0040feb0
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
add esp, 8
fld dword [esp + 0x24]
mov dword [esp + 0x2c], 0
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x422b59
fld dword [esp + 0x24]
fcomp dword [0x891058]
fnstsw ax
test ah, 1
jne 0x422b59
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x1b], 1
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x90], edx
push ecx
lea edx, [esp + 0x90]
mov dword [esp + 0x98], eax
push edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb4], 0x3f800000
call fcn.0041ea60
mov al, byte [esp + 0x27]
add esp, 0xc
test al, al
je 0x422c02
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
lea edx, [esp + 0x8c]
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x6c]
jmp 0x422c11
lea edx, [esp + 0x7c]
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x8c]
push edx
push eax
push ecx
call fcn.0041ea60
mov edx, dword [esp + 0x70]
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x98], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x10], edx
call dword [eax + 0x48]
test eax, eax
je 0x422c61
mov cl, byte [eax + 0x55]
test cl, cl
je 0x422c61
fld dword [eax + 0x40]
fadd dword [0x89096c]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx]
call dword [edx + 0xc4]
test al, al
jne 0x422c7d
push ebp
mov ecx, edi
call fcn.00768200
fstp dword [esp + 0x10]
mov eax, dword [ebx]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, ebx
mov dword [esp + 0x20], 0
call dword [eax + 0x4c]
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0xd8]
test eax, eax
je 0x422ccd
xor esi, esi
mov ecx, dword [edi + 0xd8]
mov edx, dword [ecx]
push esi
call dword [edx + 0x64]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x422cc3
fstp st(0)
fld dword [esp + 0x1c]
inc esi
fstp dword [esp + 0x1c]
cmp esi, 4
jl 0x422ca4
fld dword [esp + 0xbc]
lea ecx, [esp + 0x40]
fadd dword [esp + 0x1c]
push ecx
mov ecx, ebx
fadd dword [esp + 0x14]
fstp dword [esp + 0x48]
mov eax, dword [ebx]
call dword [eax + 0x5c]
mov edx, dword [ebx]
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call dword [edx + 0x70]
fld dword [esp + 0x34]
fmul dword [esp + 0x14]
lea eax, [esp + 0xac]
push eax
mov ecx, ebx
fstp dword [esp + 0xb0]
fld dword [esp + 0x3c]
fmul dword [esp + 0x18]
fstp dword [esp + 0xb4]
fld dword [esp + 0x40]
fmul dword [esp + 0x18]
fstp dword [esp + 0xb8]
mov edx, dword [ebx]
call dword [edx + 0x60]
mov edx, dword [ebx]
push 0x8a2fb4
mov ecx, ebx
call dword [edx + 0x64]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xb4
ret 4