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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6c2668
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
mov ebp, dword [esp + 0x60]
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp]
mov esi, ecx
cmp eax, ebx
mov byte [ebp + 8], 1
je 0x4a26d6
mov ecx, dword [ebp + 4]
sub ecx, ebx
je 0x4a26b9
dec ecx
jne 0x4a26d6
cmp dword [eax + 4], ebx
je 0x4a26d6
mov dword [esp + 0x60], ebx
mov eax, dword [esi + 0x34]
add eax, 0x30
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
mov edi, dword [esp + 0x6c]
mov byte [esp + 0x60], 2
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x4a26d6
mov dword [esp + 0x68], eax
call fcn.00404010
and eax, 0xffff
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
fild qword [esp + 0x14]
fmul dword [0x6d21a8]
fsubr dword [0x6d0348]
fmul dword [edi + 0x28]
fstp dword [esp + 0x10]
call fcn.00404010
and eax, 0xffff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
fild qword [esp + 0x1c]
fmul dword [0x6d21a8]
fsubr dword [0x6d0348]
fmul dword [edi + 0x24]
fstp dword [esp + 0x6c]
call fcn.00404010
and eax, 0xffff
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
push ecx
fild qword [esp + 0x28]
fmul dword [0x6d21a8]
fsubr dword [0x6d0348]
fmul dword [edi + 0x20]
fadd dword [edi + 0x14]
fstp dword [esp + 0x38]
fld dword [esp + 0x70]
fadd dword [edi + 0x18]
fstp dword [esp + 0x3c]
fld dword [esp + 0x14]
fadd dword [edi + 0x1c]
fst dword [esp + 0x40]
fmul dword [esp + 0x40]
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
faddp st(1)
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fstp dword [esp]
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x4a25ed
fdivr dword [0x6d0348]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul st(1)
fstp dword [esp + 0x3c]
mov ecx, dword [esi + 0x10]
fstp st(0)
test byte [ecx + 0x18], 2
je 0x4a260e
mov ecx, dword [esi + 0x34]
lea edx, [esp + 0x34]
push 1
lea eax, [esp + 0x50]
push edx
push eax
call fcn.004b9550
jmp 0x4a2626
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
fld dword [esp + 0x44]
fadd dword [0x6d0350]
fstp dword [esp + 0x44]
call fcn.00404010
and eax, 0xffff
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], eax
mov ecx, dword [ebp]
fild qword [esp + 0x2c]
mov eax, dword [esi + 0x40]
mov ecx, dword [ecx + 4]
cmp eax, ebx
fmul dword [0x6d21a8]
mov edx, dword [ecx]
fsubr dword [0x6d0348]
fmul dword [edi + 0x10]
fadd dword [edi + 0xc]
fstp dword [esp + 0x6c]
je 0x4a268e
mov ebx, dword [esi + 0x44]
push ebx
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esp + 0x78]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x54]
push eax
call dword [edx + 0x64]
xor ebx, ebx
jmp 0x4a26a8
mov eax, dword [esi + 0x44]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esp + 0x74]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x50]
push eax
call dword [edx + 0x68]
mov eax, dword [esp + 0x68]
dec eax
mov dword [esp + 0x68], eax
jne 0x4a2504
jmp 0x4a26d6
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x4a26d6
mov ecx, dword [esp + 0x6c]
mov edx, dword [esi + 0x34]
add ecx, 8
add edx, 0x30
push ecx
push edx
mov ecx, eax
call fcn.0049ea30
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 8