Function at 0x588fa8
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov dword [ebp - 0x64], 0x6db550
mov dword [ebp - 0x60], esp
mov dword [ebp - 0x68], eax
mov word [ebp - 0x5c], 0
mov dword [ebp - 0x50], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x6c], ecx
lea eax, [ebp - 0x6c]
mov dword fs:[0], eax
mov word [ebp - 0x5c], 8
mov ecx, dword [ebp + 8]
mov edx, 0x6dbcb4
xor eax, eax
add esp, 0xfffffff0
mov dword [ecx], edx
xor edx, edx
mov word [ebp - 0x5c], 0x14
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
xor eax, eax
xor edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
xor edx, edx
xor ecx, ecx
mov dword [ebp - 8], edx
xor edx, edx
inc dword [ebp - 0x50]
lea eax, [ebp - 0x48]
mov ebx, dword [ebp + 8]
add ebx, 0x94
lea esi, [eax + 0x18]
mov edi, ebx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ecx
xor edx, edx
mov dword [ebx + 0x10], edx
xor ecx, ecx
mov dword [ebx + 0x14], ecx
lea edx, [ebx + 0x18]
mov word [ebp - 0x5c], 0x44
xor ecx, ecx
mov dword [edx + 8], ecx
xor ecx, ecx
mov dword [edx + 0xc], ecx
xor ecx, ecx
mov dword [edx + 0x10], ecx
xor ecx, ecx
mov dword [edx + 0x14], ecx
xor edx, edx
mov dword [ebx + 0x30], edx
xor edx, edx
mov dword [ebx + 0x34], edx
lea edx, [ebx + 0x38]
xor ecx, ecx
mov dword [edx + 8], ecx
mov dword [esp + 8], edi
add esp, 0xffffffe8
mov edx, dword [esi + 8]
mov dword [esp + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0xc], ecx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x10], edx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x14], ecx
add esp, 0xffffffe8
mov edx, dword [eax + 8]
mov dword [esp + 8], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xc], ecx
lea ecx, [ebp - 0x80]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x10], edx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x14], eax
push ecx
call fcn.0058936c
inc dword [ebp - 0x50]
mov eax, dword [0x6db334]
mov word [ebp - 0x5c], 0x14
inc dword [ebp - 0x50]
add esp, 0x44
mov edx, dword [ebp + 8]
test eax, eax
mov dword [edx + 0x78], eax
mov ecx, dword [ebp + 8]
mov dword [0x6db334], ecx
je 0x589103
mov edx, dword [ebp + 8]
mov dword [eax + 0x7c], edx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x7c], ecx
xor eax, eax
mov dword [0x6db338], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
mov dword [edx + 8], ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0xc], 0
mov edx, dword [0x6db340]
test edx, edx
jne 0x589136
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0058a950
pop ecx
mov eax, dword [ebp + 8]
mov edx, dword [0x6db348]
lea ecx, [ebp - 0xa0]
mov dword [eax + 4], edx
inc dword [0x6db348]
inc dword [0x6db344]
lea eax, [ebp + 0x1c]
mov ebx, dword [0x6db324]
mov esi, ebx
mov dword [ebp - 0x88], esi
push eax
add esp, 0xfffffff0
mov dword [ebp - 0x70], ebx
mov edx, dword [ebp - 0x70]
mov dword [esp + 8], edx
add esp, 0xfffffff0
mov edi, dword [ebx]
mov dword [esp + 8], edi
push ecx
call fcn.00589974
add esp, 0x28
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x88]
cmp eax, edx
setne cl
and ecx, 1
test cl, cl
je 0x5891a4
mov eax, dword [ebp + 8]
mov byte [eax + 0xc], 1
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x58], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x54], ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x50], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], 0xffffffff
mov edx, dword [ebp + 8]
mov dword [edx + 0x24], 0x78
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], 0x78
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], 0xffffffff
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], 0x78
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ecx + 0x34], 0x2d
mov eax, dword [ebp + 8]
mov dword [eax + 0x38], edx
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3c], eax
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], ecx
xor edx, edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x4c], ecx
xor edx, edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x70], edx
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x74], 1
mov eax, dword [ebp + 8]
mov byte [eax + 0xd], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xffffffff
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x1c], edx
xor eax, eax
mov ecx, dword [ebp + 8]
test eax, eax
mov dword [ecx + 0xe0], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0xdc], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x150], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x128], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x104], eax
setne dl
mov ecx, dword [ebp + 8]
and edx, 1
mov byte [ecx + 0x90], dl
xor edx, edx
mov eax, dword [ebp + 8]
mov byte [eax + 0x76], dl
mov eax, dword [ebp + 8]
mov byte [eax + 0x75], dl
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x154], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x12c], eax
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x174], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x144], eax
mov eax, 0x1000
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x17c], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x14c], eax
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x100], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x10c], eax
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x11c], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x118], eax
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x88], eax
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], ecx
xor edx, edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x60], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], edx
xor eax, eax
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x48]
mov dword [ecx + 0x64], eax
dec dword [ebp - 0x50]
push 2
push edx
call fcn.0042bfb8
add esp, 8
mov ecx, dword [ebp - 0x6c]
mov dword fs:[0], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret