Function at 0x58a230
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6c8aa6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
mov eax, dword [0x721bb0]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x160], eax
mov ebx, ecx
call fcn.0058a160
mov eax, dword [esp + 0x178]
mov ecx, dword [esp + 0x174]
push eax
push ecx
mov ecx, dword [ebx + 0x18]
call fcn.0059c4c0
mov ebp, eax
mov esi, dword [ebp]
mov ecx, dword [ebp + 4]
add ebp, 4
mov edx, dword [ebp + 4]
add ebp, 4
mov eax, edx
add eax, ecx
add eax, esi
push eax
mov dword [esp + 0x14], ecx
mov dword [ebx + 0x10], edx
add ebp, 4
call fcn.0069197a
mov edx, dword [esp + 0x14]
mov edi, eax
lea eax, [edi + esi]
mov dword [ebx + 8], eax
add eax, edx
mov dword [ebx + 0xc], eax
mov ecx, esi
shr ecx, 2
mov dword [ebx], edi
mov dword [ebx + 4], edi
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebx + 8]
mov ecx, edx
mov eax, ecx
shr ecx, 2
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0xc]
mov ecx, edx
add ebp, ecx
mov ecx, dword [ebx + 0x10]
mov edx, ecx
shr ecx, 2
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 0x10]
mov eax, dword [ebp + esi]
add ebp, esi
add esp, 4
add ebp, 4
test eax, eax
jle 0x58a445
mov dword [esp + 0x10], eax
mov cl, byte [ebp]
cmp cl, 0xa
lea eax, [esp + 0x60]
je 0x58a32c
lea ecx, [ecx]
inc ebp
mov byte [eax], cl
mov cl, byte [ebp]
inc eax
cmp cl, 0xa
jne 0x58a320
mov esi, dword [ebx + 0xc]
inc ebp
mov ecx, dword [ebp + 4]
mov byte [eax], 0
mov eax, dword [ebp]
add ebp, 4
add esi, ecx
push eax
lea ecx, [esp + 0x18]
add ebp, 4
call fcn.0058b9f0
lea eax, [esp + 0x60]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x58a367
sub eax, edi
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x20]
call fcn.00403f5d
mov edi, dword [esp + 0x14]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x178], 0
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
call fcn.00403ece
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], esi
mov ecx, dword [ebx + 0x14]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x174], 1
call fcn.00589fb0
mov eax, dword [esp + 0x4c]
mov esi, 0x10
cmp eax, esi
jb 0x58a3f1
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00692701
add esp, 4
cmp dword [esp + 0x30], esi
mov edi, 0xf
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x16c], 0xffffffff
jb 0x58a425
mov edx, dword [esp + 0x1c]
push edx
call fcn.00692701
add esp, 4
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x10], eax
jne 0x58a311
mov ecx, dword [ebp]
lea eax, [ebx + 0x1c]
mov dword [eax], ecx
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
push eax
push ecx
mov ecx, dword [ebx + 0x18]
push edx
call fcn.0059bef0
mov ecx, ebx
mov byte [ebx + 0x30], 1
call fcn.00588d30
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x154]
pop ebx
call fcn.00692fc7
add esp, 0x160
ret 8