Function at 0x59a6b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ef436
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x638190]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
mov eax, dword [esi + 0x24]
xor ebx, ebx
push ebx
push eax
mov eax, dword [esp + 0xe4]
add eax, 4
push eax
lea ecx, [edi + 0xc]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00589230
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], ebx
call fcn.004f8520
mov edx, dword [esi + 0x44]
push edx
lea ebp, [esi + 0x30]
push ebp
lea ecx, [esp + 0x60]
mov byte [esp + 0xd8], 1
call fcn.004f73b0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x5c]
push edi
push ecx
mov byte [esp + 0xdc], 2
call fcn.005033f0
add esp, 0xc
test eax, eax
je 0x59a768
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0xdc]
lea ecx, [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x60]
push eax
call fcn.005033f0
add esp, 0xc
test eax, eax
je 0x59a796
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x28]
jne 0x59a7ee
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x2c]
jne 0x59a7ee
lea edx, [esi + 0x10]
push edx
lea ecx, [esp + 0x44]
call fcn.004f8960
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x44]
push ecx
add esi, 0x2c
push esi
call fcn.005033f0
fld qword [0x5f3de8]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
sub esp, 8
mov eax, esp
lea ecx, [esp + 0x4c]
fstp qword [eax]
mov dword [esp + 0x60], esp
call fcn.004fb690
jmp 0x59a81b
push ebp
lea ecx, [esp + 0x28]
call fcn.004f8c80
test ax, ax
jne 0x59a80d
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
call fcn.0058af70
jmp 0x59a81b
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
call fcn.0058b120
push edi
lea ecx, [esp + 0xac]
call fcn.005085c0
mov ebp, dword [esp + 0xdc]
push ebp
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 3
call fcn.005085c0
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd4], 4
call fcn.005085c0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0xb0]
mov byte [esp + 0xd8], 5
call fcn.005083e0
test eax, eax
je 0x59a891
mov esi, dword [esp + 0xd8]
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.0056fa20
jmp 0x59a8a8
mov ecx, dword [esp + 0xd8]
add edi, 4
push edi
call fcn.0056fa20
mov esi, dword [esp + 0xd8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x90]
call fcn.005083e0
lea ecx, [esi + 0x10]
test eax, eax
je 0x59a8cc
lea edx, [esp + 0x14]
push edx
jmp 0x59a8d0
add ebp, 0xc
push ebp
call fcn.0056fa20
lea ecx, [esp + 0x68]
mov byte [esp + 0xd0], 4
call fcn.00440ab0
lea ecx, [esp + 0x88]
mov byte [esp + 0xd0], 3
call fcn.00440ab0
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd0], 2
call fcn.00440ab0
lea ecx, [esp + 0x58]
mov byte [esp + 0xd0], 1
call fcn.004f74a0
lea ecx, [esp + 0x40]
mov byte [esp + 0xd0], bl
call fcn.004f85b0
lea ecx, [esp + 0x24]
mov dword [esp + 0xd0], 0xffffffff
call fcn.005892c0
mov eax, 2
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret