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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0xb0]
test eax, eax
mov dword [esp + 0x34], eax
je 0x4b98dc
mov eax, dword [ebx + 4]
push 0
push 0x5ffb50
push 0x5fd238
mov ecx, dword [eax + 0x10]
push 0
push 0x5ffb50
mov edx, dword [ecx + ebx + 4]
lea ecx, [ecx + ebx + 4]
call dword [edx + 4]
push eax
call fcn.0053ce5e
lea esi, [eax + 0x18]
mov ecx, 0xe
lea edi, [esp + 0x7c]
lea eax, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x7c]
push eax
push ecx
call fcn.004bcc80
mov eax, dword [ebp + 8]
mov edi, dword [ebx + 0xac]
fstp qword [esp + 0xcc]
fld qword [eax + 8]
fsub qword [esp + 0x8c]
fld qword [eax]
fsub qword [esp + 0x84]
mov esi, dword [edi]
xor ecx, ecx
add esp, 0x1c
mov dword [esp + 0x30], ecx
fpatan
fstp qword [esp + 0x40]
fld qword [esp + 0x80]
fsub qword [esp + 0x70]
fstp qword [esp + 0x28]
fld qword [esp + 0x78]
fsub qword [esp + 0x68]
fstp qword [esp + 0x38]
fld qword [esp + 0x28]
fld qword [esp + 0x38]
fpatan
fstp qword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
xor eax, eax
fld qword [0x5b3130]
cmp esi, edi
je 0x4b955f
mov edx, dword [esi + 8]
mov dword [esp + 0x64], ecx
fstp st(0)
mov edx, dword [edx + 0xe8]
mov dword [esp + 0x60], edx
fild qword [esp + 0x60]
jmp 0x4b9577
cmp eax, ecx
je 0x4b95b7
mov edx, dword [eax + 0xe8]
mov dword [esp + 0x54], ecx
fstp st(0)
mov dword [esp + 0x50], edx
fild qword [esp + 0x50]
fmul qword [0x5af430]
cmp eax, ecx
je 0x4b95b7
cmp esi, edi
je 0x4b95b7
mov edx, dword [esi + 8]
mov dword [esp + 0x5c], ecx
fild dword [edx + 0xe4]
mov edx, dword [eax + 0xe8]
mov dword [esp + 0x58], edx
fild qword [esp + 0x58]
fmul qword [0x5af430]
faddp st(1)
fiadd dword [eax + 0xec]
fadd qword [esp + 0x88]
faddp st(1)
fld qword [esp + 0xb0]
fcomp qword [0x5b3130]
fnstsw ax
test ah, 0x40
jne 0x4b960f
fld qword [esp + 0x90]
fmul st(1)
fmul qword [0x5af430]
fdiv qword [esp + 0xb0]
fstp qword [esp + 0x18]
fstp st(0)
fld qword [esp + 0x18]
fcomp qword [0x5b95a0]
fld qword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x4b9623
fld qword [0x5b8fd0]
call fcn.0054094a
fsub qword [0x5b8fd0]
jmp 0x4b9645
fstp st(0)
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
jmp 0x4b9649
fcomp qword [0x5b95d0]
fnstsw ax
test ah, 1
je 0x4b9649
fld qword [esp + 0x18]
fld qword [0x5b8fd0]
call fcn.0054094a
fadd qword [0x5b8fd0]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fadd qword [esp + 0x10]
fst qword [esp + 0x10]
fcomp qword [0x5b95a0]
fld qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4b9679
fld qword [0x5b8fd0]
call fcn.0054094a
fsub qword [0x5b8fd0]
jmp 0x4b969b
fcomp qword [0x5b95d0]
fnstsw ax
test ah, 1
je 0x4b969f
fld qword [esp + 0x10]
fld qword [0x5b8fd0]
call fcn.0054094a
fadd qword [0x5b8fd0]
fstp qword [esp + 0x10]
fld qword [esp + 0x40]
fsub qword [esp + 0x10]
fcom qword [0x5b95a0]
fst qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4b96d1
fstp st(0)
fld qword [esp + 0x20]
fld qword [0x5b8fd0]
call fcn.0054094a
fsub qword [0x5b8fd0]
jmp 0x4b96f5
fcom qword [0x5b95d0]
fnstsw ax
test ah, 1
je 0x4b96f5
fstp st(0)
fld qword [esp + 0x20]
fld qword [0x5b8fd0]
call fcn.0054094a
fadd qword [0x5b8fd0]
fabs
fld qword [esp + 0x18]
fabs
fcompp
fnstsw ax
test ah, 0x41
je 0x4b977d
fld qword [esp + 0x18]
fadd qword [esp + 0x10]
fcom qword [0x5b95a0]
fst qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4b9738
fstp st(0)
fld qword [esp + 0x20]
fld qword [0x5b8fd0]
call fcn.0054094a
fsub qword [0x5b8fd0]
jmp 0x4b975c
fcom qword [0x5b95d0]
fnstsw ax
test ah, 1
je 0x4b975c
fstp st(0)
fld qword [esp + 0x20]
fld qword [0x5b8fd0]
call fcn.0054094a
fadd qword [0x5b8fd0]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 8]
mov esi, dword [esi]
fstp qword [esp + 0x10]
inc ecx
cmp ecx, edx
mov dword [esp + 0x30], ecx
jg 0x4b978a
xor ecx, ecx
jmp 0x4b953c
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov al, byte [ebp + 0xc]
test al, al
je 0x4b98dc
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
mov ecx, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], edx
call fcn.004b2210
fmul qword [esp + 0x90]
fmul qword [0x5af430]
fld qword [esp + 0x28]
fmul qword [esp + 0x28]
fld qword [esp + 0x38]
fmul qword [esp + 0x38]
faddp st(1)
fsqrt
fdivp st(1)
fadd qword [esp + 0x20]
fcom qword [0x5b95a0]
fst qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4b981d
fstp st(0)
fld qword [esp + 0x20]
fld qword [0x5b8fd0]
call fcn.0054094a
fsub qword [0x5b8fd0]
jmp 0x4b9841
fcom qword [0x5b95d0]
fnstsw ax
test ah, 1
je 0x4b9841
fstp st(0)
fld qword [esp + 0x20]
fld qword [0x5b8fd0]
call fcn.0054094a
fadd qword [0x5b8fd0]
fsub qword [esp + 0x40]
fcom qword [0x5b95a0]
fst qword [esp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x4b986f
fstp st(0)
fld qword [esp + 0x40]
fld qword [0x5b8fd0]
call fcn.0054094a
fsub qword [0x5b8fd0]
jmp 0x4b9893
fcom qword [0x5b95d0]
fnstsw ax
test ah, 1
je 0x4b9893
fstp st(0)
fld qword [esp + 0x40]
fld qword [0x5b8fd0]
call fcn.0054094a
fadd qword [0x5b8fd0]
fld qword [esp + 0x90]
fcomp qword [0x5b3130]
fnstsw ax
fcomp qword [0x5b3130]
test ah, 0x41
fnstsw ax
jne 0x4b98bf
test ah, 0x41
jne 0x4b98cf
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test ah, 1
je 0x4b98cf
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 8