Function at 0x5ce400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62c786
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x682d00]
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.0057c9e0
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], ebx
call fcn.0051fdc0
mov edx, dword [esi + 0x44]
push edx
lea ebp, [esi + 0x30]
push ebp
lea ecx, [esp + 0x60]
mov byte [esp + 0xd8], 1
call fcn.00519db0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x5c]
push edi
push ecx
mov byte [esp + 0xdc], 2
call fcn.0052c940
add esp, 0xc
test eax, eax
je 0x5ce4b8
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.0052c940
add esp, 0xc
test eax, eax
je 0x5ce4e6
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 0x5ce53e
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x2c]
jne 0x5ce53e
lea edx, [esi + 0x10]
push edx
lea ecx, [esp + 0x44]
call fcn.00520200
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x44]
push ecx
add esi, 0x2c
push esi
call fcn.0052c940
fld qword [0x6325e8]
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.00523120
jmp 0x5ce56b
push ebp
lea ecx, [esp + 0x28]
call fcn.00520530
test ax, ax
jne 0x5ce55d
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
call fcn.0057e720
jmp 0x5ce56b
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
call fcn.0057e8d0
push edi
lea ecx, [esp + 0xac]
call fcn.005314e0
mov ebp, dword [esp + 0xdc]
push ebp
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 3
call fcn.005314e0
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd4], 4
call fcn.005314e0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0xb0]
mov byte [esp + 0xd8], 5
call fcn.00531300
test eax, eax
je 0x5ce5e1
mov esi, dword [esp + 0xd8]
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.005823c0
jmp 0x5ce5f8
mov ecx, dword [esp + 0xd8]
add edi, 4
push edi
call fcn.005823c0
mov esi, dword [esp + 0xd8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x90]
call fcn.00531300
lea ecx, [esi + 0x10]
test eax, eax
je 0x5ce61c
lea edx, [esp + 0x14]
push edx
jmp 0x5ce620
add ebp, 0xc
push ebp
call fcn.005823c0
lea ecx, [esp + 0x68]
mov byte [esp + 0xd0], 4
call fcn.0051a4a0
lea ecx, [esp + 0x88]
mov byte [esp + 0xd0], 3
call fcn.0051a4a0
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd0], 2
call fcn.0051a4a0
lea ecx, [esp + 0x58]
mov byte [esp + 0xd0], 1
call fcn.00519ea0
lea ecx, [esp + 0x40]
mov byte [esp + 0xd0], bl
call fcn.0051fe50
lea ecx, [esp + 0x24]
mov dword [esp + 0xd0], 0xffffffff
call fcn.0057ca70
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