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

Disassembly:
sub esp, 0x178
mov eax, dword [esp + 0x17c]
push ebx
mov ebx, ecx
push esi
mov ecx, dword [eax + 0x134]
push edi
add ecx, 0x124
mov edi, dword [ebx + 0x34]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], 0
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov edx, dword [ebx + 0x28]
mov eax, dword [ecx + 4]
mov dword [esp + 0x50], eax
mov eax, dword [edx]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x54], ecx
mov ecx, dword [edx + 4]
test eax, eax
mov edx, dword [edx + 8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jle 0x4a03cd
mov eax, 0xff000000
push ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 0x3f800000
mov dword [esp + 0x9c], 0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0x3f800000
lea ebp, [edi + 0x38]
mov dword [esp + 0x2c], 0xc
jmp 0x4a013b
mov edi, dword [esp + 0x30]
mov eax, dword [ebx + 0x28]
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
fld dword [esp + 0x10]
fsub dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], edx
fld dword [esp + 0x14]
fsub dword [esp + 0x20]
mov dword [esp + 0x18], eax
fld dword [esp + 0x18]
fsub dword [esp + 0x24]
fld dword [esp + 0x54]
fmul st(1)
fld dword [esp + 0x58]
fmul st(3)
fisub word [esi - 0x27]
pop esp
and al, 0x34
fld dword [esp + 0x58]
fmul st(3)
fxch st(1)
fmul dword [esp + 0x50]
fsubp st(1)
fstp dword [esp + 0x38]
fmul dword [esp + 0x50]
fld dword [esp + 0x54]
fmul st(2)
fsubp st(1)
fstp dword [esp + 0x3c]
fstp st(0)
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fsqrt
fst dword [esp + 0x28]
fcomp qword [0x4fe6c0]
fnstsw ax
test ah, 5
jp 0x4a0202
fld dword [esp + 0x28]
fcomp qword [0x4fe6b8]
fnstsw ax
and eax, 0x4100
jne 0x4a0202
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
jmp 0x4a0219
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x60]
push edx
push eax
call fcn.00401ae0
add esp, 0xc
fld dword [ebx + 0x24]
fld dword [esp + 0x5c]
fmul st(1)
mov edx, dword [ebx + 8]
sub esp, 0xc
lea esi, [esp + 0x74]
mov dword [esp + 0x80], edx
fstp dword [esp + 0x4c]
fld dword [esp + 0x6c]
fmul st(1)
fstp dword [esp + 0x50]
fmul dword [esp + 0x70]
fld dword [esp + 0x1c]
fsub dword [esp + 0x4c]
fld dword [esp + 0x20]
fsub dword [esp + 0x50]
fld dword [esp + 0x24]
fsub st(3)
fstp dword [esp + 0xf4]
fxch st(1)
fstp dword [esp + 0x74]
mov ecx, dword [esp + 0xf4]
fstp dword [esp + 0x78]
fld dword [esp + 0x4c]
fadd dword [esp + 0x1c]
fld dword [esp + 0x50]
fadd dword [esp + 0x20]
fld st(2)
fadd dword [esp + 0x24]
mov dword [esp + 0x7c], ecx
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0xd0]
fxch st(1)
fstp dword [esp + 0x90]
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0xd0]
fstp dword [ebx + edi + 0x94]
fld dword [esp + 0x28]
fsub dword [esp + 0x4c]
fld dword [esp + 0x2c]
fsub dword [esp + 0x50]
fld dword [esp + 0x30]
fsub st(3)
mov dword [esp + 0x9c], ecx
lea edi, [ebp - 0x1c]
mov ecx, 7
lea esi, [esp + 0x90]
fstp dword [esp + 0xe8]
fxch st(1)
fstp dword [esp + 0xac]
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x98], eax
fstp dword [esp + 0xb0]
rep movsd dword es:[edi], dword [esi]
mov edx, 0x61302423
pop esp
and al, 8
fld dword [esp + 0x50]
fadd dword [esp + 0x2c]
fstp dword [esp + 4]
fld dword [esp + 0x4c]
mov eax, dword [ebx + 8]
mov ecx, 7
fadd dword [esp + 0x5c]
lea esi, [esp + 0xac]
mov al, 0xfd
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], eax
rep movsd dword es:[edi], dword [esi]
fstp dword [esp]
lea ecx, [esp + 0xd4]
call fcn.00402d30
mov ecx, dword [ebx + 8]
push 0x3f800000
push 0x3f800000
push 0xff000000
lea edx, [esp + 0xd4]
push ecx
push edx
lea ecx, [esp + 0x100]
call fcn.004849d0
mov edx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x30]
lea edi, [ebp + 0x1c]
add eax, 0x70
mov ecx, 7
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x2c]
add ebp, 0x70
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x30]
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], edx
jl 0x4a0137
pop ebp
mov eax, dword [ebx]
push 0x1c2
mov eax, dword [eax + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x130]
mov ecx, dword [ebx]
push 2
call fcn.0046a630
mov ecx, dword [ebx]
push 2
call fcn.0046a650
mov ecx, dword [ebx]
push 0
call fcn.0046a5b0
mov ecx, dword [ebx]
push 0
call fcn.0046ad90
mov ecx, dword [ebx]
push 1
call fcn.0046a860
mov ecx, dword [ebx]
push 0
call fcn.0046a6e0
lea ebx, [esp + 0x44]
add dword [eax], eax
add byte [edx - 0x18], dl
cmp eax, 0xb9fffbba
adc byte [eax], al
add byte [eax], al
mov esi, eax
lea edi, [esp + 0x108]
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x424848d]
add dword [eax], eax
add byte [eax - 0x18], dl
wait
wait
cld
dec dword [ebx + 0x6a2c4b]
test ecx, ecx
je 0x4a0455
mov edx, dword [ecx]
call dword [edx + 0x14]
jmp 0x4a045c
mov ecx, dword [ebx]
call fcn.0046ad50
mov ecx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x38]
push 0x1c
push ecx
push 0x65
push edx
lea ecx, [eax + eax]
lea edx, [eax*4]
push ecx
mov ecx, dword [ebx]
push edx
push 0
push 4
call fcn.0046aa30
mov ecx, dword [ebx]
push 1
call fcn.0046a5b0
mov ecx, dword [ebx]
push 1
call fcn.0046ad90
mov ecx, dword [ebx]
push 3
call fcn.0046a860
mov ecx, dword [ebx]
push 1
call fcn.0046a6e0
mov ecx, dword [ebx]
push 5
call fcn.0046a630
mov ecx, dword [ebx]
push 6
call fcn.0046a650
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x178
ret 4