Function at 0x5e6640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62f790
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov edi, dword [esp + 0xe4]
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov esi, dword [edi + 4]
push eax
lea ebp, [edi + 0xc]
push ecx
lea ebx, [edi + 4]
push edx
push esi
lea ecx, [esp + 0x74]
call fcn.00532c70
lea ecx, [esp + 0x80]
mov dword [esp + 0xd8], 0
call fcn.005331a0
mov esi, dword [esp + 0xe0]
mov eax, dword [esi + 8]
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea ecx, [esi + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x48], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x44], ecx
push eax
mov ecx, esi
mov byte [esp + 0xdc], 1
call edx
mov eax, dword [eax + 4]
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc8]
push eax
mov ecx, esi
call edx
mov eax, dword [eax]
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x14]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x3c], edx
mov edx, dword [ebx]
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], edx
mov dx, word [esi + 0x20]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x38], eax
xor eax, eax
and dx, 0xfff9
cmp dx, 1
lea ecx, [esi + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [ecx]
setne al
mov dword [esp + 0x54], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], edi
mov ecx, dword [esp + 0x40]
mov edi, dword [ebp]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x1c]
push eax
push ecx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x94]
mov dword [esp + 0x30], edi
call fcn.00533800
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x70]
call fcn.00533020
mov edi, eax
test edi, edi
jne 0x5e6902
movzx eax, word [esi + 0x20]
test al, 2
jne 0x5e6850
cwde
and eax, 0xfffffffb
cmp ax, 2
je 0x5e6850
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x6c]
call fcn.005330b0
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x5e67e8
mov edx, dword [ebx]
mov ecx, dword [esp + 0xe8]
mov dword [ecx], edx
mov eax, dword [ebx + 4]
mov edi, 1
mov dword [ecx + 4], eax
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x88]
call fcn.005330b0
test eax, eax
je 0x5e6815
mov ecx, dword [esp + 0xe8]
mov edx, dword [ebp]
lea eax, [ecx + edi*8]
mov dword [eax], edx
mov ecx, dword [ebp + 4]
inc edi
mov dword [eax + 4], ecx
test edi, edi
jne 0x5e6a9e
mov eax, dword [ebx]
cmp eax, dword [ebp]
jne 0x5e6ab6
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebp + 4]
jne 0x5e6ab6
mov edx, dword [ebp]
mov eax, dword [esp + 0xe8]
mov dword [eax], edx
mov ebp, dword [ebp + 4]
mov edi, 1
mov dword [eax + 4], ebp
jmp 0x5e6ab6
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x6c]
call fcn.005330b0
test eax, eax
je 0x5e6883
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [esp + 0xe8]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov edi, 1
mov dword [eax + 4], ecx
jmp 0x5e6ab6
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x88]
call fcn.005330b0
test eax, eax
jne 0x5e68a8
mov ecx, dword [esp + 0x18]
push ebp
call fcn.0040b230
test eax, eax
je 0x5e68bf
mov ecx, dword [ebp]
mov eax, dword [esp + 0xe8]
mov dword [eax], ecx
mov ebp, dword [ebp + 4]
mov edi, 1
mov dword [eax + 4], ebp
push 0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x88]
call fcn.005330b0
test eax, eax
jne 0x5e68e8
mov ecx, dword [esp + 0x18]
push ebx
call fcn.0040b230
test eax, eax
je 0x5e6a9e
mov eax, dword [esp + 0xe8]
mov ecx, dword [ebx]
lea eax, [eax + edi*8]
mov dword [eax], ecx
mov ebx, dword [ebx + 4]
inc edi
mov dword [eax + 4], ebx
jmp 0x5e6a9e
mov eax, dword [esp + 0xe8]
cmp edi, 1
jne 0x5e6a83
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [eax], edx
mov dword [eax + 4], ecx
movzx eax, word [esi + 0x20]
test al, 2
jne 0x5e69cf
cwde
and eax, 0xfffffffb
cmp ax, 2
je 0x5e69cf
push 0
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x6c]
call fcn.005330b0
test eax, eax
je 0x5e6967
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xe8]
mov edx, dword [ecx]
add eax, 8
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
jmp 0x5e69a7
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x88]
call fcn.005330b0
test eax, eax
jne 0x5e6992
mov edx, dword [esp + 0x14]
push edx
mov ecx, ebp
call fcn.0040b230
test eax, eax
je 0x5e6ab6
mov eax, dword [esp + 0xe8]
mov ecx, dword [ebp]
add eax, 8
mov dword [eax], ecx
mov ebp, dword [ebp + 4]
mov dword [eax + 4], ebp
mov edx, dword [esp + 0xe8]
push eax
push edx
mov edi, 2
call fcn.00524de0
add esp, 8
test eax, eax
je 0x5e6aa3
mov edi, 1
jmp 0x5e6ab6
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x88]
call fcn.005330b0
test eax, eax
jne 0x5e6a6a
mov ecx, dword [esp + 0x18]
push ebx
call fcn.0040b230
test eax, eax
jne 0x5e6a6a
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x88]
call fcn.005330b0
test eax, eax
jne 0x5e6a50
mov ecx, dword [esp + 0x18]
push ebp
call fcn.0040b230
test eax, eax
jne 0x5e6a50
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x6c]
call fcn.005330b0
test eax, eax
je 0x5e6ab6
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [esp + 0xe8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 4]
mov edi, 2
mov dword [eax + 0xc], ecx
jmp 0x5e6aa3
mov ecx, dword [ebp]
mov eax, dword [esp + 0xe8]
mov dword [eax + 8], ecx
mov ebp, dword [ebp + 4]
mov edi, 2
mov dword [eax + 0xc], ebp
jmp 0x5e6aa3
mov edx, dword [ebx]
mov eax, dword [esp + 0xe8]
mov dword [eax + 8], edx
mov ebx, dword [ebx + 4]
mov edi, 2
mov dword [eax + 0xc], ebx
jmp 0x5e6aa3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
cmp edi, 2
jne 0x5e6ab6
mov eax, dword [esp + 0xe8]
push esi
push 2
push eax
call fcn.005610f0
add esp, 0xc
lea ecx, [esp + 0x80]
mov byte [esp + 0xd8], 0
call fcn.00533200
lea ecx, [esp + 0x64]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00532c00
mov eax, edi
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret