Function at 0x588b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6cc681
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x38], ebp
call fcn.004a45c0
mov al, byte [esp + 0x13]
xor esi, esi
mov dword [esp + 0xa4], esi
mov byte [ebp + 8], al
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], esi
mov cl, byte [esp + 0x13]
mov dword [ebp + 0x1c], esi
mov byte [ebp + 0x18], cl
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x24], esi
mov dl, byte [esp + 0x13]
lea ebx, [ebp + 0x28]
mov byte [ebx], dl
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov al, byte [esp + 0x13]
mov dword [ebp + 0x3c], esi
mov byte [ebp + 0x38], al
mov dword [ebp + 0x40], esi
mov dword [ebp + 0x44], esi
mov cl, byte [esp + 0x13]
mov dword [ebp + 0x4c], esi
mov byte [ebp + 0x48], cl
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x54], esi
mov dl, byte [esp + 0x13]
mov dword [ebp + 0x5c], esi
mov byte [ebp + 0x58], dl
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x64], esi
mov al, byte [esp + 0x13]
mov dword [ebp + 0x6c], esi
mov byte [ebp + 0x68], al
mov dword [ebp + 0x70], esi
mov dword [ebp + 0x74], esi
mov cl, byte [esp + 0x13]
mov dword [ebp + 0x7c], esi
mov byte [ebp + 0x78], cl
mov dword [ebp + 0x80], esi
mov dword [ebp + 0x84], esi
lea ecx, [ebp + 0x8c]
mov byte [esp + 0xa4], 8
call fcn.0061d780
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], 9
mov dword [ebp], 0x6e20a0
call fcn.0061bb00
push 6
push 0x7133c0
lea ecx, [esp + 0x24]
mov byte [esp + 0xac], 0xa
call fcn.0061d820
mov ax, word [esp + 0xac]
mov byte [esp + 0xa4], 0xb
sar ax, 8
push eax
mov word [esp + 0x24], ax
push 4
lea ecx, [esp + 0x24]
call fcn.0061dbc0
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
mov dword [esp + 0x28], ecx
mov byte [ecx], dl
call fcn.004138c0
mov edi, str.PID.db
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, dword [esp + 0x28]
push edi
mov dword [esp + 0x30], edi
call fcn.00414230
test al, al
je 0x588d1d
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, ecx
mov esi, str.PID.db
mov eax, dword [eax + 4]
mov edi, eax
mov eax, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
call fcn.00414210
xor esi, esi
lea ecx, [esp + 0x4c]
call fcn.0061bef0
movzx ax, al
cmp ax, si
je 0x589141
push 0xaf
push esi
lea ecx, [esp + 0x24]
call fcn.0061dbc0
push esi
push 1
lea ecx, [esp + 0x24]
call fcn.0061dbc0
push 1
push 2
lea ecx, [esp + 0x24]
call fcn.0061dbc0
push esi
push 3
lea ecx, [esp + 0x24]
call fcn.0061dbc0
mov ecx, dword [esp + 0x20]
push ecx
push 4
lea ecx, [esp + 0x24]
call fcn.0061dbc0
push esi
push 5
lea ecx, [esp + 0x24]
call fcn.0061dbc0
lea edx, [esp + 0x1c]
lea eax, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.0061c400
mov dword [esp + 0x14], eax
lea edi, [ebp + 0x38]
mov byte [esp + 0xa4], 0xc
cmp edi, eax
je 0x588ed3
mov ecx, dword [eax + 4]
cmp ecx, esi
jne 0x588dba
mov dword [esp + 0x18], esi
jmp 0x588dc6
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x18], eax
mov ecx, edi
call fcn.00647dd0
cmp dword [esp + 0x18], eax
ja 0x588e0e
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 4]
push edx
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
push eax
push ecx
call fcn.00414d10
mov ecx, dword [edi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, edi
call fcn.00413d20
mov ecx, dword [esp + 0x14]
call fcn.00647dd0
mov edx, dword [edi + 4]
lea eax, [edx + eax*4]
mov dword [edi + 8], eax
jmp 0x588ed3
mov ecx, edi
call fcn.006480f0
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.00647dd0
cmp eax, esi
ja 0x588e7a
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
mov dword [esp + 0x20], ecx
mov ecx, edi
call fcn.00647dd0
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 4]
lea eax, [edx + eax*4]
mov edx, dword [edi + 4]
push edx
push eax
push ecx
mov dword [esp + 0x2c], eax
call fcn.00414d10
mov ecx, dword [edi + 8]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x2c]
add esp, 0xc
push ecx
push eax
push edx
mov ecx, edi
call fcn.00413d50
mov ecx, esi
call fcn.00647dd0
mov ecx, dword [edi + 4]
xor esi, esi
lea edx, [ecx + eax*4]
mov dword [edi + 8], edx
jmp 0x588ed3
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
mov ecx, edi
call fcn.00413d20
mov eax, dword [edi + 4]
push eax
call fcn.006a64d0
mov ecx, dword [esp + 0x18]
add esp, 4
call fcn.00647dd0
xor esi, esi
cmp eax, esi
jge 0x588ea6
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.006a6832
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [edi + 4], eax
mov ecx, dword [edx + 8]
mov edx, dword [edx + 4]
push eax
push ecx
push edx
mov ecx, edi
call fcn.00413d50
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
cmp edi, eax
mov byte [esp + 0xa4], 0xb
mov dword [esp + 0x20], eax
je 0x588f02
push esi
mov ecx, edi
call fcn.00415c90
mov eax, dword [esp + 0x20]
add edi, 4
cmp edi, eax
jne 0x588eeb
mov edi, dword [esp + 0x2c]
push edi
call fcn.006a64d0
mov ecx, dword [ebp + 0x3c]
add esp, 4
cmp ecx, esi
jne 0x588f1a
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x588f26
mov eax, dword [ebp + 0x40]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x14], eax
cmp ax, si
jle 0x589138
movsx eax, ax
xor edi, edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x50]
lea ecx, [ebp + 0x48]
add eax, edi
push eax
push 1
push edx
call fcn.00414350
mov eax, dword [esp + 0x18]
add edi, 4
dec eax
mov dword [esp + 0x18], eax
jne 0x588f38
mov eax, dword [esp + 0x14]
cmp ax, si
jle 0x589138
movsx ecx, ax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push eax
push ecx
mov ecx, ebx
call fcn.00413cd0
mov eax, dword [ebp + 0x4c]
mov edx, dword [esp + 0x14]
add eax, edx
lea ecx, [esp + 0x3c]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0061c400
mov edi, eax
cmp ebx, edi
mov byte [esp + 0xa4], 0xd
je 0x58909f
mov ecx, ebx
call fcn.00647dd0
mov ecx, edi
mov esi, eax
call fcn.00647dd0
cmp eax, esi
ja 0x588ff6
mov edx, dword [ebx + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414d10
mov ecx, dword [ebx + 8]
add esp, 0xc
push ecx
push eax
mov ecx, ebx
call fcn.00413d20
mov ecx, edi
call fcn.00647dd0
mov edx, dword [ebx + 4]
xor esi, esi
lea eax, [edx + eax*4]
mov dword [ebx + 8], eax
jmp 0x58909f
mov ecx, ebx
call fcn.006480f0
mov ecx, edi
mov esi, eax
call fcn.00647dd0
cmp eax, esi
ja 0x58904c
mov esi, dword [edi + 4]
mov ecx, ebx
call fcn.00647dd0
mov ecx, dword [ebx + 4]
lea esi, [esi + eax*4]
mov eax, dword [edi + 4]
push ecx
push esi
push eax
call fcn.00414d10
mov edx, dword [ebx + 8]
mov eax, dword [edi + 8]
add esp, 0xc
mov ecx, ebx
push edx
push eax
push esi
call fcn.00413d50
mov ecx, edi
call fcn.00647dd0
mov ecx, dword [ebx + 4]
xor esi, esi
lea edx, [ecx + eax*4]
mov dword [ebx + 8], edx
jmp 0x58909f
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push eax
push ecx
mov ecx, ebx
call fcn.00413d20
mov eax, dword [ebx + 4]
push eax
call fcn.006a64d0
add esp, 4
mov ecx, edi
call fcn.00647dd0
xor esi, esi
cmp eax, esi
jge 0x589076
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.006a6832
add esp, 4
mov dword [ebx + 4], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push ecx
push edi
mov ecx, ebx
call fcn.00413d50
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0xac], 0xb
call fcn.00413d20
mov edx, dword [esp + 0x2c]
push edx
call fcn.006a64d0
mov edi, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x30]
add esp, 4
cmp edi, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
jae 0x58911e
push esi
mov ecx, edi
call fcn.0061daa0
push 1
mov ecx, edi
mov byte [esp + 0x28], al
call fcn.0061daa0
push 2
mov ecx, edi
mov byte [esp + 0x29], al
call fcn.0061daa0
lea ecx, [ebp + 0x78]
mov byte [esp + 0x26], al
lea edx, [esp + 0x24]
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.0058b9b0
mov eax, dword [ebp + 0x30]
add edi, 4
cmp edi, eax
jb 0x5890dd
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 4
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jne 0x588f72
lea ecx, [esp + 0x3c]
call fcn.0061c140
mov esi, dword [esp + 0xac]
lea ecx, [esp + 0x1c]
push esi
push 5
call fcn.0061dbc0
lea ecx, [esp + 0x1c]
mov word [ebp + 0x88], si
mov byte [esp + 0xa4], 0xa
call fcn.0061d8c0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], 9
call fcn.0061bc60
mov ecx, dword [esp + 0x9c]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x98
ret 4