Function at 0x5847d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5e651b
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x62fda0]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
push eax
lea esi, [ebx + 0xc]
lea edi, [ebx + 4]
push esi
push edi
call fcn.004f9950
fstp qword [esp + 0x30]
add esp, 0xc
push edi
lea ecx, [esp + 0xa8]
call fcn.005b98d0
push esi
lea ecx, [esp + 0x68]
call fcn.005b98d0
fild dword [ebx + 0x14]
sub esp, 8
lea ecx, [esp + 0x3c]
fmul qword [0x5ecc78]
lea edx, [esp + 0x4c]
lea eax, [esp + 0xac]
fst qword [esp + 0x34]
fstp qword [esp]
push ecx
push edx
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.005beec0
push esi
push edi
call fcn.004fca10
fdivr qword [esp + 0x44]
add esp, 0x18
fstp qword [esp]
call fcn.004f9fa0
add esp, 8
test eax, eax
jne 0x5849db
mov ebx, dword [ebp + 8]
push esi
push ebx
call fcn.004fca10
fdivr qword [esp + 0x2c]
fstp qword [esp]
call fcn.004f9fa0
add esp, 8
test eax, eax
jne 0x5849db
push ebx
lea ecx, [esp + 0x78]
call fcn.005b98d0
fld qword [esp + 0x2c]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.005beec0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.005bef40
add esp, 0x28
push eax
lea ecx, [esp + 0x38]
call fcn.005befe0
fldz
fld qword [esp + 0x3c]
fcom st(1)
fnstsw ax
fld qword [0x5ecc78]
test ah, 1
jne 0x58491f
fadd st(1), st(0)
jmp 0x584921
fsub st(1), st(0)
fld qword [esp + 0x34]
fcom st(3)
fnstsw ax
fstp st(3)
test ah, 1
jne 0x584934
faddp st(2)
jmp 0x584936
fsubp st(2)
fxch st(1)
call fcn.005bd3f0
mov esi, eax
call fcn.005bd3f0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov dword [ecx], esi
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0xc0]
push ecx
call fcn.005bef40
add esp, 0x10
push eax
lea ecx, [esp + 0x48]
call fcn.005befe0
fldz
fld qword [esp + 0x4c]
fcom st(1)
fnstsw ax
fld qword [0x5ecc78]
test ah, 1
jne 0x584991
fadd st(1), st(0)
jmp 0x584993
fsub st(1), st(0)
fld qword [esp + 0x44]
fcom st(3)
fnstsw ax
fstp st(3)
test ah, 1
jne 0x5849a6
faddp st(2)
jmp 0x5849a8
fsubp st(2)
fxch st(1)
call fcn.005bd3f0
mov esi, eax
call fcn.005bd3f0
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov dword [ecx], esi
mov eax, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
fldz
fld qword [esp + 0x3c]
fcom st(1)
fnstsw ax
fld qword [0x5ecc78]
test ah, 1
jne 0x5849f4
fadd st(1), st(0)
jmp 0x5849f6
fsub st(1), st(0)
fld qword [esp + 0x34]
fcom st(3)
fnstsw ax
test ah, 1
jne 0x584a07
fadd st(1)
jmp 0x584a09
fsub st(1)
call fcn.005bd3f0
fxch st(1)
mov ebx, eax
call fcn.005bd3f0
fld qword [esp + 0x4c]
mov ecx, dword [ebp + 0xc]
fcom st(2)
mov dword [ecx + 4], eax
mov dword [ecx], ebx
fnstsw ax
test ah, 1
jne 0x584a30
fadd st(1)
jmp 0x584a32
fsub st(1)
fld qword [esp + 0x44]
fcom st(3)
fnstsw ax
fstp st(3)
fxch st(2)
test ah, 1
jne 0x584a47
faddp st(1)
jmp 0x584a49
fsubrp st(1)
call fcn.005bd3f0
mov ebx, eax
call fcn.005bd3f0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov edx, dword [edi]
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
mov dword [esp + 0x24], edx
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x30], eax
call fcn.004f2c00
mov ecx, dword [esi + 4]
mov eax, dword [esi]
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], ecx
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x104], 0
mov dword [esp + 0x30], eax
call fcn.004f2e40
mov dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x54]
test eax, eax
je 0x584ad7
call fcn.004f2cc0
mov eax, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.004f2cc0
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc