Function at 0x4b0330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58587b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push esi
mov esi, ecx
lea ecx, [esp + 0x18]
lea eax, [esi + 0x20]
push eax
call fcn.00499d60
mov eax, dword [esi + 0x30]
lea ecx, [esp + 0x38]
add eax, 0x20
push eax
call fcn.00499d60
lea ecx, [esp + 0x78]
call fcn.00505b00
fld dword [esp + 0x44]
fadd dword [esp + 0x24]
sub esp, 0x10
xor esi, esi
lea ecx, [esp + 0x58]
mov dword [esp + 0x144], esi
fstp dword [esp + 0xc]
fld dword [esp + 0x50]
fadd dword [esp + 0x30]
fstp dword [esp + 8]
fld dword [esp + 0x4c]
fadd dword [esp + 0x2c]
fstp dword [esp + 4]
fld dword [esp + 0x48]
fadd dword [esp + 0x28]
fstp dword [esp]
call fcn.0045dab0
lea ecx, [esp + 0x48]
push 0x3f000000
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.00402ac0
fld dword [esp + 0x40]
fsub dword [esp + 0x30]
fstp dword [esp + 8]
fld dword [esp + 0x3c]
fsub dword [esp + 0x2c]
fstp dword [esp + 4]
fld dword [esp + 0x38]
fsub dword [esp + 0x28]
fstp dword [esp]
fld dword [esp + 0x34]
fsub dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x68]
fstp dword [esp]
call fcn.0045dab0
lea eax, [esp + 0x58]
push 0x3f000000
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.00402ac0
fld dword [esp + 0x80]
fadd dword [esp + 0x30]
fstp dword [esp + 8]
fld dword [esp + 0x7c]
fadd dword [esp + 0x2c]
fstp dword [esp + 4]
fld dword [esp + 0x78]
fadd dword [esp + 0x28]
fstp dword [esp]
fld dword [esp + 0x74]
fadd dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x58]
fstp dword [esp]
call fcn.0045dab0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x28], edx
fld dword [esp + 0x4c]
fsub dword [0x58aea4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0x44]
fsub dword [esp + 0x24]
sub esp, 0x10
lea ecx, [esp + 0x18]
fstp dword [esp + 0xc]
fld dword [esp + 0x50]
fsub dword [esp + 0x30]
fstp dword [esp + 8]
fld dword [esp + 0x4c]
fsub dword [esp + 0x2c]
fstp dword [esp + 4]
fld dword [esp + 0x48]
fsub dword [esp + 0x28]
fstp dword [esp]
call fcn.0045dab0
lea ecx, [esp + 8]
mov dword [esp + 0xc], esi
call fcn.00403940
fsqrt
fcom dword [0x589284]
fnstsw ax
and eax, 0x4100
jne 0x4b04f2
fdivr dword [0x589878]
fld dword [esp + 8]
fmul st(1)
fstp dword [esp + 8]
fld dword [esp + 0xc]
fmul st(1)
fstp dword [esp + 0xc]
fmul dword [esp + 0x10]
jmp 0x4b04f8
fstp st(0)
fld dword [esp + 0x10]
fld dword [esp + 8]
fxch st(1)
fstp dword [esp + 8]
push ebx
xor bl, bl
fchs
fstp dword [esp + 0x14]
fld dword [esp + 0x38]
fsub dword [esp + 0x18]
sub esp, 0x10
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1b], bl
fstp dword [esp + 0xc]
fld dword [esp + 0x44]
fsub dword [esp + 0x24]
fstp dword [esp + 8]
fld dword [esp + 0x40]
fsub dword [esp + 0x20]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
fsub dword [esp + 0x1c]
fstp dword [esp]
call fcn.0045dab0
fld dword [esp + 0x18]
fadd dword [esp + 0x38]
sub esp, 0x10
lea ecx, [esp + 0x5c]
fstp dword [esp + 0xc]
fld dword [esp + 0x24]
fadd dword [esp + 0x44]
fstp dword [esp + 8]
fld dword [esp + 0x20]
fadd dword [esp + 0x40]
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fadd dword [esp + 0x3c]
fstp dword [esp]
call fcn.0045dab0
lea edx, [esp + 0x5c]
lea eax, [esp + 0x4c]
push edx
push eax
lea ecx, [esp + 0x84]
call fcn.00505c00
push esi
push 1
lea ecx, [esp + 0x84]
call fcn.00505c40
test al, al
je 0x4b05b0
mov bl, 1
lea ecx, [esp + 0x7c]
call fcn.004b1810
push esi
push 1
lea ecx, [esp + 0x84]
call fcn.00505c40
test al, al
mov al, 1
jne 0x4b05d2
mov al, byte [esp + 0xb]
test bl, bl
pop ebx
je 0x4b05e0
test al, al
jne 0x4b061d
or esi, 0xffffffff
jmp 0x4b05e9
test al, al
je 0x4b061d
mov esi, 1
lea ecx, [esp + 0x18]
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x5c]
push edx
push eax
call fcn.00404c70
mov ecx, dword [esp + 0x148]
push eax
push ecx
call fcn.00402af0
fcomp dword [0x589284]
add esp, 0x14
fnstsw ax
test ah, 5
jp 0x4b061d
neg esi
lea ecx, [esp + 0x114]
mov dword [esp + 0x134], 0xffffffff
call fcn.00422020
mov ecx, dword [esp + 0x12c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x134
ret 4