Function at 0x6178ef
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 0x103b0c5d
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 + 0x18], esi
mov dword [esi], 0x1049b060
xor eax, eax
mov dword [esi + 4], eax
mov byte [esi + 8], al
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], al
mov dword [esi + 0x14], eax
mov byte [esi + 0x18], al
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
lea ebx, [esi + 0x2c]
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov ecx, 7
xor edx, edx
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x14], eax
mov word [ebx + 4], dx
mov byte [ebx + 0x1c], al
mov dword [esi + 0x64], ecx
mov dword [esi + 0x60], eax
mov word [esi + 0x50], dx
mov dword [esp + 0x30], eax
mov byte [esi + 0x68], al
mov byte [esi + 0x6c], al
mov byte [esi + 0x6d], al
mov byte [esi + 0x6e], al
mov byte [esi + 0x6f], al
mov byte [esi + 0x70], al
mov byte [esi + 0x71], al
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x88], eax
mov word [esi + 0x78], dx
mov byte [esi + 0x90], al
mov byte [esi + 0x94], al
mov byte [esi + 0x95], al
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xac], eax
mov word [esi + 0x9c], dx
mov byte [esi + 0xb4], al
mov dword [esi + 0xb8], eax
mov byte [esi + 0xbc], al
mov dword [esi + 0xc0], eax
mov byte [esi + 0xc4], al
mov dword [esi + 0xc8], eax
mov byte [esi + 0xcc], al
mov dword [esi + 0xe8], ecx
xor ecx, ecx
mov dword [esi + 0xe4], eax
mov word [esi + 0xd4], cx
mov byte [esi + 0xec], al
mov ecx, esi
mov byte [esp + 0x30], 4
call fcn.0060f3cf
mov edi, dword [ebp + 8]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x1c]
lea eax, [esi + 4]
cmp eax, edx
je 0x617a21
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x617a32
mov dl, byte [esp + 0x20]
mov byte [eax], dl
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x20], eax
lea edx, [esp + 0x1c]
lea eax, [esi + 0xc]
cmp eax, edx
je 0x617a49
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x617a5a
mov dl, byte [esp + 0x20]
mov byte [eax], dl
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x20], eax
lea edx, [esp + 0x1c]
lea eax, [esi + 0x14]
cmp eax, edx
je 0x617a71
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x617a82
mov dl, byte [esp + 0x20]
mov byte [eax], dl
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x20], eax
lea edx, [esp + 0x1c]
lea eax, [esi + 0x1c]
cmp eax, edx
je 0x617a99
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x617aaa
mov dl, byte [esp + 0x20]
mov byte [eax], dl
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x20], eax
lea edx, [esp + 0x1c]
lea eax, [esi + 0x24]
cmp eax, edx
je 0x617ac1
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x617ad2
mov dl, byte [esp + 0x20]
mov byte [eax], dl
lea eax, [edi + 0x2c]
push eax
mov ecx, ebx
call fcn.0058033f
lea ecx, [edi + 0x4c]
push ecx
lea ecx, [esi + 0x4c]
call fcn.0058033f
mov cx, word [edi + 0x6c]
lea edx, [esp + 0x14]
lea eax, [esi + 0x6c]
cmp eax, edx
je 0x617afa
mov byte [eax], cl
inc eax
lea edx, [esp + 0x15]
cmp eax, edx
je 0x617b05
mov byte [eax], ch
mov cx, word [edi + 0x6e]
lea edx, [esp + 0x14]
lea eax, [esi + 0x6e]
cmp eax, edx
je 0x617b16
mov byte [eax], cl
inc eax
lea edx, [esp + 0x15]
cmp eax, edx
je 0x617b21
mov byte [eax], ch
mov cx, word [edi + 0x70]
lea edx, [esp + 0x14]
lea eax, [esi + 0x70]
cmp eax, edx
je 0x617b32
mov byte [eax], cl
inc eax
lea edx, [esp + 0x15]
cmp eax, edx
je 0x617b3d
mov byte [eax], ch
lea eax, [edi + 0x74]
push eax
lea ecx, [esi + 0x74]
call fcn.0058033f
mov cx, word [edi + 0x94]
lea edx, [esp + 0x14]
lea eax, [esi + 0x94]
cmp eax, edx
je 0x617b60
mov byte [eax], cl
inc eax
lea edx, [esp + 0x15]
cmp eax, edx
je 0x617b6b
mov byte [eax], ch
lea eax, [edi + 0x98]
push eax
lea ecx, [esi + 0x98]
call fcn.0058033f
mov ecx, dword [edi + 0xb8]
mov edx, dword [edi + 0xbc]
lea ebx, [esp + 0x1c]
lea eax, [esi + 0xb8]
cmp eax, ebx
je 0x617b99
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x617ba6
mov byte [eax], dl
mov ecx, dword [edi + 0xc0]
mov edx, dword [edi + 0xc4]
lea ebx, [esp + 0x1c]
lea eax, [esi + 0xc0]
cmp eax, ebx
je 0x617bc2
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x617bcf
mov byte [eax], dl
mov ecx, dword [edi + 0xc8]
mov edx, dword [edi + 0xcc]
lea ebx, [esp + 0x1c]
lea eax, [esi + 0xc8]
cmp eax, ebx
je 0x617beb
mov dword [eax], ecx
add eax, 4
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x617bf8
mov byte [eax], dl
add edi, 0xd0
push edi
lea ecx, [esi + 0xd0]
call fcn.0058033f
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