Function at 0x5b0ef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x65a59f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
lea ecx, [esp + 0x50]
mov dword [esp + 0x3c], 0
call fcn.004baf30
mov eax, dword [ebp + 0xc]
mov edi, 0x6e0cbc
mov dword [esp + 0x40], edi
mov esi, 0x6d3e1c
fld dword [eax + 4]
fsub dword [eax]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 8]
fstp dword [esp + 0x10]
fld dword [eax + 0xc]
fsub dword [eax + 8]
mov dword [esp + 0x34], ecx
or ecx, 0xffffffff
mov dword [esp + 0x38], edx
mov dword [esp + 0x68], 1
fmul dword [0x6641a8]
mov dword [esp + 0x48], esi
fadd dword [eax + 8]
fst dword [esp + 0x14]
fld dword [esp + 0x10]
fmul dword [0x6641a8]
fadd dword [eax]
fst dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
xor eax, eax
repne scasb al, byte es:[edi]
fstp dword [esp + 0x2c]
fstp dword [esp + 0x30]
fld dword [esp + 0x14]
fstp qword [esp + 0x14]
not ecx
dec ecx
mov edi, esi
mov dword [esp + 0x44], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
fld dword [esp + 0x1c]
fstp qword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
not ecx
dec ecx
lea eax, [esp + 0x48]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x24]
push ebx
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.004bb140
mov ecx, eax
call fcn.004bb0a0
mov ecx, eax
call fcn.004bb140
mov ecx, eax
call fcn.004bb0a0
mov edi, 0x6e0cb4
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x48], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x4c], ecx
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
fld dword [esp + 0x28]
lea eax, [esp + 0x48]
mov dword [esp + 0x40], esi
not ecx
push eax
dec ecx
sub esp, 8
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x4c]
fstp qword [esp]
fld dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x60]
sub esp, 8
fstp qword [esp]
call fcn.004bb140
mov ecx, eax
call fcn.004bb0a0
mov ecx, eax
call fcn.004bb140
mov ecx, eax
call fcn.004bb0a0
mov edi, 0x6e0cb4
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x48], edi
repne scasb al, byte es:[edi]
fld dword [esp + 0x30]
not ecx
dec ecx
mov edi, esi
mov dword [esp + 0x4c], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
lea edx, [esp + 0x48]
lea eax, [esp + 0x40]
push edx
mov dword [esp + 0x44], esi
sub esp, 8
not ecx
fstp qword [esp]
fld dword [esp + 0x40]
push eax
dec ecx
sub esp, 8
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x68]
fstp qword [esp]
call fcn.004bb140
mov ecx, eax
call fcn.004bb0a0
mov ecx, eax
call fcn.004bb140
mov ecx, eax
call fcn.004bb0a0
mov edi, 0x6e0cb4
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x48], edi
repne scasb al, byte es:[edi]
fld dword [esp + 0x38]
not ecx
dec ecx
mov edi, esi
mov dword [esp + 0x4c], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x40]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x44], esi
sub esp, 8
fstp qword [esp]
fld dword [esp + 0x1c]
push edx
sub esp, 8
lea ecx, [esp + 0x68]
fstp qword [esp]
call fcn.004bb140
mov ecx, eax
call fcn.004bb0a0
mov ecx, eax
call fcn.004bb140
mov ecx, eax
call fcn.004bb0a0
mov edi, 0x6e0cb4
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x48], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, esi
mov dword [esp + 0x4c], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x48]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x24]
push ebx
lea edx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x58], esi
call fcn.004bb140
mov ecx, eax
call fcn.004bb0a0
mov ecx, eax
call fcn.004bb140
mov ecx, eax
call fcn.004bb0a0
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x50]
push esi
call fcn.004bb060
mov dword [esp + 0x3c], 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 0
call fcn.004baf50
mov ecx, dword [esp + 0x60]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret