Function at 0x599030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ef0ac
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x638190]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebp
push edi
mov eax, dword [0x638190]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
add eax, 0x10
push eax
lea ecx, [esp + 0x14]
fst qword [esp + 0x3c]
fld qword [eax - 0x10]
fmul st(0), st(0)
fld st(1)
fmul st(2)
fsubp st(1)
fmul qword [0x5f3df0]
fdivrp st(1)
fstp qword [esp + 0x44]
call fcn.004f8580
lea ecx, [esp + 0x24]
mov dword [esp + 0xd0], 0
call fcn.004f8520
lea ecx, [esp + 0x10]
mov byte [esp + 0xd0], 1
call fcn.004f85c0
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fsubr qword [esp + 0x40]
call fcn.005c3ce0
mov ecx, dword [esi]
mov edx, dword [ecx + 0x40]
mov edi, dword [ecx + 0x3c]
sub edx, dword [esp + 0x18]
sub edi, dword [esp + 0x14]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], edi
mov edi, dword [ecx + 0x24]
push eax
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x18]
call fcn.004f8e00
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], edx
call fcn.004fbb10
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x28]
call fcn.004f8960
fld qword [0x5f3de0]
lea edx, [esp + 0x14]
push edx
sub esp, 8
mov eax, esp
lea ecx, [esp + 0x1c]
fstp qword [eax]
mov dword [esp + 0x18], esp
call fcn.004fb690
fld qword [0x5f3de8]
lea eax, [esp + 0x28]
push eax
sub esp, 8
mov eax, esp
lea ecx, [esp + 0x30]
fstp qword [eax]
mov dword [esp + 0x18], esp
call fcn.004fb690
mov eax, dword [esi]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x2c], edx
fld qword [esp + 0x38]
call fcn.005c3ce0
mov ebp, eax
neg ebp
push ebp
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
call fcn.004f8dc0
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
push ebp
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], edx
call fcn.004f8dc0
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
push 0
mov dword [esp + 0x30], edx
mov edx, dword [esi]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
push ecx
add edx, 0x3c
push edx
lea ecx, [esp + 0xb0]
call fcn.004f16b0
mov eax, dword [esi]
push 0
add eax, 0x3c
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x8c]
mov byte [esp + 0xe0], 2
call fcn.004f16b0
push edi
push edi
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdc], 3
call fcn.0051a800
push eax
lea ecx, [esi + 4]
mov byte [esp + 0xd4], 4
call fcn.0051ed40
lea ecx, [esp + 0x50]
mov byte [esp + 0xd0], 3
call fcn.0051a830
push edi
push edi
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x5c]
call fcn.0051a800
push eax
lea ecx, [esi + 0x30]
mov byte [esp + 0xd4], 5
call fcn.0051ed40
lea ecx, [esp + 0x50]
mov byte [esp + 0xd0], 3
call fcn.0051a830
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd0], 2
call fcn.004f1b60
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd0], 1
call fcn.004f1b60
mov byte [esp + 0xd0], 0
lea ecx, [esp + 0x24]
call fcn.004f85b0
lea ecx, [esp + 0x10]
mov dword [esp + 0xd0], 0xffffffff
call fcn.004f85b0
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.005c3bb6
add esp, 0xc8
ret