Function at 0x5bf7ef
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x103af0ab
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x105623f8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], 0x10486990
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], al
mov dword [esi + 0x18], eax
mov byte [esi + 0x1c], al
mov dword [esi + 0x20], eax
mov byte [esi + 0x24], al
mov dword [esi + 0x28], eax
mov byte [esi + 0x2c], al
mov dword [esi + 0x30], eax
mov byte [esi + 0x34], al
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov byte [esi + 0x40], al
mov dword [esi + 0x48], eax
mov byte [esi + 0x4c], al
lea ebx, [esi + 8]
mov dword [esi + 0x50], eax
mov byte [esi + 0x54], al
mov dword [esi + 0x58], eax
mov byte [esi + 0x5c], al
mov dword [esi + 0x60], eax
mov byte [esi + 0x64], al
mov dword [esi + 0x68], eax
mov byte [esi + 0x6c], al
mov dword [esi + 0x70], eax
mov byte [esi + 0x74], al
xor ecx, ecx
mov dword [esi + 0x90], 7
mov dword [esi + 0x8c], eax
mov word [esi + 0x7c], cx
mov byte [esi + 0x94], al
mov ecx, esi
mov dword [esp + 0x30], eax
mov byte [esi + 0x98], al
mov byte [esi + 0x99], al
call fcn.005b53df
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x1c], edx
mov edx, dword [edi + 0x14]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x14]
cmp ebx, edx
je 0x5bf8d1
mov dword [ebx], eax
mov dword [ebx + 4], ecx
lea eax, [ebx + 8]
lea ecx, [esp + 0x1c]
cmp eax, ecx
je 0x5bf8e2
mov dl, byte [esp + 0x1c]
mov byte [eax], dl
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
lea ebx, [esp + 0x14]
lea eax, [esi + 0x18]
cmp eax, ebx
je 0x5bf8f5
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x5bf902
mov byte [eax], dl
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
lea ebx, [esp + 0x14]
lea eax, [esi + 0x20]
cmp eax, ebx
je 0x5bf915
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x5bf922
mov byte [eax], dl
mov ecx, dword [edi + 0x28]
mov edx, dword [edi + 0x2c]
lea ebx, [esp + 0x14]
lea eax, [esi + 0x28]
cmp eax, ebx
je 0x5bf935
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x5bf942
mov byte [eax], dl
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 0x34]
lea ebx, [esp + 0x14]
lea eax, [esi + 0x30]
cmp eax, ebx
je 0x5bf955
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x5bf962
mov byte [eax], dl
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x20], eax
lea ebx, [esp + 0x14]
lea eax, [esi + 0x38]
cmp eax, ebx
je 0x5bf986
mov dword [eax], ecx
mov dword [eax + 4], edx
add eax, 8
lea ecx, [esp + 0x1c]
cmp eax, ecx
je 0x5bf997
mov dl, byte [esp + 0x1c]
mov byte [eax], dl
mov ecx, dword [edi + 0x48]
mov edx, dword [edi + 0x4c]
lea ebx, [esp + 0x14]
lea eax, [esi + 0x48]
cmp eax, ebx
je 0x5bf9aa
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x5bf9b7
mov byte [eax], dl
mov ecx, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
lea ebx, [esp + 0x14]
lea eax, [esi + 0x50]
cmp eax, ebx
je 0x5bf9ca
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x5bf9d7
mov byte [eax], dl
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x5c]
lea ebx, [esp + 0x14]
lea eax, [esi + 0x58]
cmp eax, ebx
je 0x5bf9ea
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x5bf9f7
mov byte [eax], dl
mov ecx, dword [edi + 0x60]
mov edx, dword [edi + 0x64]
lea ebx, [esp + 0x14]
lea eax, [esi + 0x60]
cmp eax, ebx
je 0x5bfa0a
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x5bfa17
mov byte [eax], dl
mov ecx, dword [edi + 0x68]
mov edx, dword [edi + 0x6c]
lea ebx, [esp + 0x14]
lea eax, [esi + 0x68]
cmp eax, ebx
je 0x5bfa2a
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x5bfa37
mov byte [eax], dl
mov ecx, dword [edi + 0x70]
mov edx, dword [edi + 0x74]
lea ebx, [esp + 0x14]
lea eax, [esi + 0x70]
cmp eax, ebx
je 0x5bfa4a
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x5bfa57
mov byte [eax], dl
lea edx, [edi + 0x78]
push edx
lea ecx, [esi + 0x78]
call fcn.0058033f
mov cx, word [edi + 0x98]
lea edx, [esp + 0x10]
lea eax, [esi + 0x98]
cmp eax, edx
je 0x5bfa7a
mov byte [eax], cl
inc eax
lea edx, [esp + 0x11]
cmp eax, edx
je 0x5bfa85
mov byte [eax], ch
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4