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

Disassembly:
push 0xffffffffffffffff
push 0x624940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
push esi
mov eax, dword [ebx + 0x18]
push edi
cmp eax, 1
mov dword [esp + 0x30], ecx
jne 0x4aaa96
mov eax, dword [ebx + 0x10]
lea edi, [ebx + 0x10]
mov ecx, ebx
mov esi, dword [eax]
call fcn.0049db40
mov ebp, eax
lea ecx, [ebp*8]
push ecx
call fcn.00486090
add esp, 4
mov ecx, ebx
mov dword [esp + 0x20], eax
push eax
call fcn.0049e370
mov ecx, edi
call fcn.004acc40
fstp dword [esp + 0x24]
mov ecx, edi
call fcn.004acc20
fstp dword [esp + 0x44]
push 0x20
mov ecx, esi
call fcn.004a2b90
cmp eax, 0xffffffff
je 0x4aa64c
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x20]
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
fmul dword [esp + 0x24]
fmul dword [0x6348d4]
fst dword [esp + 0x10]
fcomp dword [0x635d9c]
fnstsw ax
test ah, 0x40
je 0x4aa65a
fld dword [esp + 0x24]
fmul dword [0x646ac8]
fstp dword [esp + 0x10]
mov ecx, edi
call fcn.004acc60
fcomp dword [0x635d9c]
fnstsw ax
test ah, 0x40
jne 0x4aa7ec
mov eax, dword [0x646ac4]
lea edx, [esp + 0x60]
mov ecx, eax
push edx
mov dword [esp + 0x64], ecx
mov ecx, ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
call fcn.0049dcd0
mov eax, dword [ebx + 0x38]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x3c], ecx
jle 0x4aa7da
mov ebp, dword [esp + 0x20]
cmp eax, 1
jne 0x4aa6cc
mov edi, dword [ebx + 0x3c]
jmp 0x4aa6d2
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax + ecx*4]
cmp edi, 0xffffffff
je 0x4aa7ca
mov edx, dword [esi]
lea eax, [esp + 0x50]
push eax
push edi
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x2c]
fld dword [eax + 4]
fild dword [esp + 0x54]
lea ecx, [esp + 0x48]
add ebp, 8
fmul st(1)
fmul dword [0x6348d4]
fstp dword [esp + 0x18]
fstp st(0)
fld dword [eax + 4]
fild dword [esp + 0x5c]
lea eax, [esp + 0x4c]
push eax
push ecx
fmul st(1)
push 0
push edx
lea ecx, [esp + 0x70]
fmul dword [0x6348d4]
fstp dword [esp + 0x2c]
fstp st(0)
call fcn.0049b340
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x70]
call fcn.0049b3a0
lea ecx, [esp + 0x28]
call fcn.004892c0
lea ecx, [esp + 0x28]
push edi
push ecx
mov ecx, esi
mov dword [esp + 0x88], 0
call fcn.004a29f0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
push esi
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push 0
call fcn.004aaab0
lea ecx, [esp + 0x28]
mov dword [esp + 0x80], 0xffffffff
call fcn.004892e0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ebx + 0x38]
inc ecx
cmp ecx, eax
mov dword [esp + 0x3c], ecx
jl 0x4aa6c2
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004860c0
add esp, 4
jmp 0x4aaa96
mov edx, dword [edi]
add ebp, ebp
xor edi, edi
fld dword [edx + 4]
fld dword [esp + 0x24]
fdiv st(1)
cmp ebp, edi
fstp dword [esp + 0x4c]
fstp st(0)
jle 0x4aa818
mov eax, dword [esp + 0x20]
fld dword [esp + 0x4c]
fmul dword [eax]
add eax, 4
dec ebp
fstp dword [eax - 4]
jne 0x4aa809
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x24]
mov edx, dword [ebx + 0x28]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], eax
call fcn.004892c0
mov eax, dword [ebx + 0x38]
mov ebp, dword [esp + 0x44]
fld dword [0x635d9c]
xor edx, edx
cmp eax, edi
mov dword [esp + 0x80], 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x48], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x4c], edx
jle 0x4aaa20
mov ecx, dword [esp + 0x20]
cmp eax, 1
mov eax, dword [ebx + 0x3c]
je 0x4aa891
mov eax, dword [eax + edx*4]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x4aaa10
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x40], eax
fld dword [esp + 0x18]
fcomp st(1)
add ecx, 8
mov dword [esp + 0x44], ecx
fnstsw ax
test ah, 1
fstp st(0)
jne 0x4aa8dc
fld dword [esp + 0x18]
fsub dword [esp + 0x48]
fld dword [esp + 0x10]
fmul dword [0x635da8]
fcompp
fnstsw ax
test ah, 1
je 0x4aa93b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
fld dword [esp + 0x2c]
fadd dword [esp + 0x14]
lea ecx, [esp + 0x88]
push esi
push ecx
mov ecx, dword [esp + 0x40]
push ebp
push edx
push eax
push ecx
push ecx
mov edx, dword [esp + 0x58]
fstp dword [esp]
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x50]
fstp dword [esp]
push edx
push edi
call fcn.004aaab0
mov edi, eax
mov eax, dword [esp + 0x18]
push 0x6edc4c
lea ecx, [esp + 0x8c]
mov dword [esp + 0x20], eax
call fcn.004894e0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
cmp eax, 0x20
mov eax, dword [esp + 0x28]
je 0x4aa9fb
cmp eax, 1
jle 0x4aa9a6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
fld dword [esp + 0x2c]
fadd dword [esp + 0x14]
lea ecx, [esp + 0x88]
push esi
push ecx
mov ecx, dword [esp + 0x40]
push ebp
push edx
push eax
push ecx
push ecx
mov edx, dword [esp + 0x58]
fstp dword [esp]
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x50]
fstp dword [esp]
push edx
push edi
call fcn.004aaab0
push 0x6edc4c
lea ecx, [esp + 0x8c]
mov edi, eax
call fcn.004894e0
jmp 0x4aa9b9
jne 0x4aa9b9
lea eax, [esp + 0x88]
push 0x20
push eax
mov ecx, esi
call fcn.004a29f0
lea ecx, [esp + 0x88]
call fcn.00489400
test eax, eax
jne 0x4aa9d1
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x34], edx
call fcn.004a29f0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x28], 0
jmp 0x4aaa00
inc eax
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x40]
fld dword [esp + 0x18]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x4c]
mov eax, dword [ebx + 0x38]
inc edx
cmp edx, eax
mov dword [esp + 0x4c], edx
jl 0x4aa886
lea ecx, [esp + 0x88]
fstp st(0)
call fcn.00489400
test eax, eax
je 0x4aaa72
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
fld dword [esp + 0x2c]
fadd dword [esp + 0x14]
lea eax, [esp + 0x88]
push esi
push eax
mov eax, dword [esp + 0x40]
push ebp
push ecx
push edx
push eax
push ecx
fstp dword [esp]
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x5c]
fstp dword [esp]
push ecx
mov ecx, dword [esp + 0x54]
push edi
call fcn.004aaab0
mov edx, dword [esp + 0x20]
push edx
call fcn.004860c0
add esp, 4
lea ecx, [esp + 0x88]
mov dword [esp + 0x80], 0xffffffff
call fcn.004892e0
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 4