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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5289d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x4a3843
mov esi, dword [ebp + 0x10]
push esi
call fcn.0049c6d0
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
fld qword [ebp + 8]
fcomp qword [0x534220]
fnstsw ax
test ah, 1
je 0x4a3885
mov eax, dword [edi + 8]
mov byte [esp + 0xf], 1
cmp eax, 0x32
jge 0x4a388a
mov esi, dword [ebp + 0x10]
mov ecx, edi
push esi
call fcn.0049c6d0
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov byte [esp + 0xf], 0
mov eax, dword [edi + 8]
mov esi, dword [ebp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x4a389d
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4a38b0
push eax
call fcn.0051aee4
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esp + 0x38], 0x53add0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x4c], 0x5315ac
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov ecx, edi
mov byte [esp + 0x88], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0049c880
mov edi, eax
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x40]
inc ebx
cmp eax, dword [ecx + 0x40]
je 0x4a397e
mov ecx, dword [edi + 0x38]
push edi
cmp eax, dword [ecx + 0x40]
je 0x4a3968
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x3c]
push eax
call fcn.004a6b80
mov ecx, dword [esp + 0x40]
push edi
push ecx
lea ecx, [esp + 0x40]
call fcn.004a6b80
mov edx, dword [esp + 0x54]
push ebx
push edx
lea ecx, [esp + 0x54]
call fcn.004a6b80
mov eax, dword [esp + 0x54]
push 1
push eax
jmp 0x4a39b5
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x40]
call fcn.004a6b80
mov edx, dword [esp + 0x54]
push ebx
push edx
jmp 0x4a39b5
test eax, eax
je 0x4a39d0
fld qword [edi + 0x48]
fsubr qword [0x53ad40]
fadd qword [esp + 0x14]
fst qword [esp + 0x14]
fcomp qword [0x53ad40]
fnstsw ax
test ah, 1
jne 0x4a39d0
mov eax, dword [esp + 0x40]
push edi
push eax
lea ecx, [esp + 0x40]
call fcn.004a6b80
mov ecx, dword [esp + 0x54]
push ebx
push ecx
lea ecx, [esp + 0x54]
call fcn.004a6b80
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
xor ebx, ebx
fld qword [esp + 0x1c]
fadd qword [edi + 0x10]
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 0x38]
fstp qword [esp + 0x1c]
call fcn.0049c880
cmp edi, eax
jne 0x4a391e
cmp dword [esp + 0x40], 1
jg 0x4a3a3d
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
push esi
push edx
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push edi
push 1
call fcn.004a3e80
mov edi, dword [edi + 0x3c]
sub esp, 0x10
mov edx, esp
mov eax, dword [esi + 8]
mov ecx, dword [edi]
push eax
mov dword [edx], ecx
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 8]
mov dword [edx + 8], ecx
mov ecx, dword [edi + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, esi
call fcn.004a6900
jmp 0x4a3af5
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
add ecx, ebx
mov ebx, 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
cmp ecx, ebx
jle 0x4a3ad7
mov edx, dword [esp + 0x50]
cmp dword [edx + ebx*4], 0xa
jge 0x4a3aab
mov cl, byte [esp + 0xf]
test cl, cl
je 0x4a3aab
mov edi, dword [eax + ebx*4 - 4]
mov ecx, dword [eax + ebx*4]
cmp edi, ecx
je 0x4a3ace
sub esp, 0x10
mov eax, edi
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 8]
push eax
mov ecx, esi
call fcn.004a6900
mov eax, dword [esp + 0x3c]
mov edi, dword [edi + 0x38]
cmp edi, dword [eax + ebx*4]
jne 0x4a3a75
jmp 0x4a3ace
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + ebx*4 - 4]
mov eax, dword [eax + ebx*4]
push esi
mov edx, dword [ecx + 0x40]
push edi
mov edi, dword [ebp + 8]
push edi
push eax
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.004a3e80
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
inc ebx
cmp ebx, ecx
jl 0x4a3a58
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + ecx*4 - 4]
mov eax, dword [eax]
push esi
mov edx, dword [ecx + 0x40]
push edi
mov edi, dword [ebp + 8]
push edi
push eax
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.004a3e80
mov al, byte [esp + 0xf]
test al, al
je 0x4a3b56
mov esi, dword [esi + 8]
mov dword [esp + 0x4c], 0x5315ac
mov eax, dword [esp + 0x50]
mov byte [esp + 0x88], 2
test eax, eax
je 0x4a3b21
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x4c], 0x53138c
mov dword [esp + 0x38], 0x53add0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x88], 3
test eax, eax
je 0x4a3e64
push eax
call fcn.0051aee4
add esp, 4
jmp 0x4a3e64
mov edi, 0x5328f8
xor eax, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov ebx, dword [esi + 8]
mov byte [esp + 0x88], 4
cmp ebx, eax
jne 0x4a3b8a
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
jmp 0x4a3bac
lea ecx, [ebx + ebx*8]
shl ecx, 3
push ecx
call fcn.0051af44
add esp, 4
mov dword [esp + 0x28], eax
push ebx
push eax
call fcn.0040e990
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x60]
call fcn.00487f90
mov eax, dword [esi + 8]
mov ebx, 1
cmp eax, ebx
mov byte [esp + 0x88], 5
jle 0x4a3c2c
mov edi, 0x48
mov dword [esp + 0x14], 0x10
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add eax, edx
push eax
add eax, 0xfffffff0
push eax
add ecx, edi
call fcn.00488a10
mov edx, dword [esp + 0x28]
lea ecx, [edi + edx]
lea eax, [ecx + 0x28]
push eax
call fcn.00488960
mov ecx, dword [esp + 0x28]
lea edx, [edi + ecx + 0x28]
lea ecx, [esp + 0x60]
push edx
call fcn.004880c0
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 8]
inc ebx
add edx, 0x10
add edi, 0x48
cmp ebx, eax
mov dword [esp + 0x14], edx
jl 0x4a3bd6
mov edi, 0x5328f8
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x28]
shl ebx, 4
push eax
lea eax, [ebx + eax - 0x10]
push eax
call fcn.00488a10
mov ecx, dword [esp + 0x28]
lea edx, [ecx + 0x28]
push edx
call fcn.00488960
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x60]
add eax, 0x28
push eax
call fcn.004880c0
fld qword [ebp + 8]
fld qword [esp + 0x60]
fsub st(1)
push 0xffffffffffffffff
push 0
mov ecx, esi
fstp qword [esp + 0x68]
fld qword [esp + 0x70]
fsub st(1)
fstp qword [esp + 0x70]
fld qword [esp + 0x78]
fadd st(1)
fstp qword [esp + 0x78]
fld qword [esp + 0x80]
fadd st(1)
fstp qword [esp + 0x80]
fstp st(0)
call fcn.004c4110
fld qword [ebp + 8]
fmul qword [ebp + 8]
mov ecx, dword [esp + 0x10]
fmul qword [0x53ada0]
fstp qword [esp + 0x14]
fld qword [ecx + 0x80]
fabs
fld qword [esp + 0x1c]
fmul qword [ebp + 8]
fmul qword [0x531170]
fld st(1)
fsub st(1)
fld qword [0x531cf0]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4a3ced
fstp st(0)
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
jmp 0x4a3cf1
fstp qword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push esi
push edx
lea edx, [esp + 0x68]
fadd st(1)
sub esp, 8
fstp qword [esp]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
push 0
fstp st(0)
call fcn.004a0ad0
add esp, 0x28
test al, al
jne 0x4a3de2
lea ecx, [esp + 0x60]
mov byte [esp + 0x88], 4
call fcn.00519440
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0x28]
mov byte [esp + 0x88], 6
test esi, esi
je 0x4a3d77
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4a3d6e
lea edi, [eax]
push 0
mov ecx, esi
call fcn.0040e8f0
add esi, 0x48
dec edi
jne 0x4a3d5b
mov esi, dword [esp + 0x28]
push esi
call fcn.0051aee4
add esp, 4
mov edi, 0x53138c
mov dword [esp + 0x4c], 0x5315ac
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x50]
mov byte [esp + 0x88], 7
test eax, eax
je 0x4a3da1
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x38], 0x53add0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x88], 8
test eax, eax
je 0x4a3dc9
push eax
call fcn.0051aee4
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [esi + 8]
lea ecx, [esp + 0x60]
mov byte [esp + 0x88], 4
call fcn.00519440
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x28]
mov byte [esp + 0x88], 9
test eax, eax
je 0x4a3e22
mov edx, dword [esp + 0x2c]
push edx
push eax
call fcn.004a6b20
mov eax, dword [esp + 0x28]
push eax
call fcn.0051aee4
add esp, 4
mov edi, 0x53138c
mov dword [esp + 0x4c], 0x5315ac
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x50]
mov byte [esp + 0x88], 0xa
test eax, eax
je 0x4a3e4c
push eax
call fcn.0051aee4
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x88], 0xffffffff
call fcn.004a67e0
mov ecx, dword [esp + 0x80]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc