Function at 0x558f38
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1018770d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
movzx edx, word [edi + 0x14]
mov word [esi + 0x14], dx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
lea edx, [edi + 0x20]
mov dword [esi + 0x1c], ecx
push edx
lea ecx, [esi + 0x20]
call fcn.005574c8
movzx eax, byte [edi + 0x30]
mov byte [esi + 0x30], al
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [esi + 0x40]
mov dword [esi + 0x3c], edx
lea eax, [edi + 0x40]
push ebx
mov ebp, 0xf
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0x2c], ebx
mov byte [ecx + 4], bl
call fcn.0049c5f8
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov ecx, dword [edi + 0x60]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0x64]
mov dword [esi + 0x64], edx
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov ecx, dword [edi + 0x6c]
mov dword [esi + 0x6c], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x70]
lea eax, [edi + 0x70]
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x2c], 1
mov byte [ecx + 4], bl
call fcn.0049c5f8
movzx edx, byte [edi + 0x8c]
mov byte [esi + 0x8c], dl
mov eax, dword [edi + 0x90]
mov dword [esi + 0x90], eax
movzx ecx, byte [edi + 0x94]
mov byte [esi + 0x94], cl
movzx edx, byte [edi + 0x95]
mov byte [esi + 0x95], dl
mov eax, dword [edi + 0x98]
mov dword [esi + 0x98], eax
mov ecx, dword [edi + 0x9c]
mov dword [esi + 0x9c], ecx
mov edx, dword [edi + 0xa0]
mov dword [esi + 0xa0], edx
mov eax, dword [edi + 0xa4]
mov dword [esi + 0xa4], eax
mov ecx, dword [edi + 0xa8]
mov byte [esp + 0x20], 2
mov dword [esi + 0xa8], ecx
movzx edx, byte [edi + 0xac]
mov byte [esi + 0xac], dl
mov eax, dword [edi + 0xb0]
mov dword [esi + 0xb0], eax
mov ecx, dword [edi + 0xb4]
mov dword [esi + 0xb4], ecx
mov edx, dword [edi + 0xb8]
mov dword [esi + 0xb8], edx
movzx eax, byte [edi + 0xbc]
mov byte [esi + 0xbc], al
movzx ecx, word [edi + 0xbe]
mov word [esi + 0xbe], cx
movzx edx, word [edi + 0xc0]
mov word [esi + 0xc0], dx
movzx eax, word [edi + 0xc2]
mov word [esi + 0xc2], ax
movzx ecx, word [edi + 0xc4]
mov word [esi + 0xc4], cx
push 0xffffffffffffffff
lea ecx, [esi + 0xc8]
lea eax, [edi + 0xc8]
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.0049c5f8
mov edx, dword [edi + 0xe4]
mov dword [esi + 0xe4], edx
mov eax, dword [edi + 0xe8]
mov dword [esi + 0xe8], eax
mov ecx, dword [edi + 0xec]
mov dword [esi + 0xec], ecx
mov edx, dword [edi + 0xf0]
mov dword [esi + 0xf0], edx
mov eax, dword [edi + 0xf4]
mov dword [esi + 0xf4], eax
mov ecx, dword [edi + 0xf8]
mov dword [esi + 0xf8], ecx
movzx edx, byte [edi + 0xfc]
mov byte [esi + 0xfc], dl
movzx eax, byte [edi + 0xfd]
mov byte [esi + 0xfd], al
movzx ecx, word [edi + 0xfe]
mov word [esi + 0xfe], cx
mov edx, dword [edi + 0x100]
mov dword [esi + 0x100], edx
mov eax, dword [edi + 0x104]
mov dword [esi + 0x104], eax
movzx ecx, byte [edi + 0x108]
mov byte [esi + 0x108], cl
mov edx, dword [edi + 0x110]
mov dword [esi + 0x110], edx
mov eax, dword [edi + 0x114]
mov dword [esi + 0x114], eax
mov ecx, dword [edi + 0x118]
mov dword [esi + 0x118], ecx
mov edx, dword [edi + 0x11c]
mov dword [esi + 0x11c], edx
mov eax, dword [edi + 0x120]
mov dword [esi + 0x120], eax
mov ecx, dword [edi + 0x124]
mov dword [esi + 0x124], ecx
mov edx, dword [edi + 0x128]
mov dword [esi + 0x128], edx
mov eax, dword [edi + 0x12c]
mov dword [esi + 0x12c], eax
movzx ecx, word [edi + 0x130]
mov word [esi + 0x130], cx
movzx edx, byte [edi + 0x132]
mov byte [esi + 0x132], dl
movzx eax, byte [edi + 0x133]
mov byte [esi + 0x133], al
movzx ecx, byte [edi + 0x134]
mov byte [esi + 0x134], cl
mov edx, dword [edi + 0x138]
mov dword [esi + 0x138], edx
mov eax, dword [edi + 0x13c]
mov byte [esp + 0x20], 3
mov dword [esi + 0x13c], eax
mov ecx, dword [edi + 0x140]
mov dword [esi + 0x140], ecx
mov edx, dword [edi + 0x144]
mov dword [esi + 0x144], edx
movzx eax, byte [edi + 0x148]
mov byte [esi + 0x148], al
mov ecx, dword [edi + 0x14c]
mov dword [esi + 0x14c], ecx
mov edx, dword [edi + 0x150]
mov dword [esi + 0x150], edx
mov eax, dword [edi + 0x154]
mov dword [esi + 0x154], eax
mov ecx, dword [edi + 0x158]
mov dword [esi + 0x158], ecx
mov edx, dword [edi + 0x15c]
mov dword [esi + 0x15c], edx
mov eax, dword [edi + 0x160]
mov dword [esi + 0x160], eax
mov ecx, dword [edi + 0x164]
mov dword [esi + 0x164], ecx
mov edx, dword [edi + 0x168]
mov dword [esi + 0x168], edx
mov eax, dword [edi + 0x16c]
mov dword [esi + 0x16c], eax
mov ecx, dword [edi + 0x170]
mov dword [esi + 0x170], ecx
mov edx, dword [edi + 0x174]
mov dword [esi + 0x174], edx
mov eax, dword [edi + 0x178]
mov dword [esi + 0x178], eax
mov ecx, dword [edi + 0x17c]
mov dword [esi + 0x17c], ecx
mov edx, dword [edi + 0x180]
push 0xffffffffffffffff
lea ecx, [esi + 0x184]
mov dword [esi + 0x180], edx
lea eax, [edi + 0x184]
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.0049c5f8
mov eax, dword [edi + 0x1a0]
mov dword [esi + 0x1a0], eax
mov ecx, dword [edi + 0x1a4]
mov dword [esi + 0x1a4], ecx
movzx edx, byte [edi + 0x1a8]
mov byte [esi + 0x1a8], dl
movzx eax, byte [edi + 0x1a9]
mov byte [esi + 0x1a9], al
mov ecx, dword [edi + 0x1ac]
mov dword [esi + 0x1ac], ecx
mov edx, dword [edi + 0x1b0]
mov dword [esi + 0x1b0], edx
mov eax, dword [edi + 0x1b4]
mov dword [esi + 0x1b4], eax
mov ecx, dword [edi + 0x1b8]
mov dword [esi + 0x1b8], ecx
mov edx, dword [edi + 0x1bc]
mov dword [esi + 0x1bc], edx
mov eax, dword [edi + 0x1c0]
mov dword [esi + 0x1c0], eax
movzx ecx, byte [edi + 0x1c4]
mov byte [esi + 0x1c4], cl
mov edx, dword [edi + 0x1c8]
mov dword [esi + 0x1c8], edx
mov eax, dword [edi + 0x1cc]
mov dword [esi + 0x1cc], eax
push 0xffffffffffffffff
lea ecx, [esi + 0x1d0]
lea eax, [edi + 0x1d0]
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x2c], 4
mov byte [ecx + 4], bl
call fcn.0049c5f8
movzx ecx, word [edi + 0x1ec]
mov word [esi + 0x1ec], cx
movzx edx, word [edi + 0x1ee]
mov word [esi + 0x1ee], dx
mov eax, dword [edi + 0x1f0]
mov dword [esi + 0x1f0], eax
mov ecx, dword [edi + 0x1f4]
mov dword [esi + 0x1f4], ecx
mov edx, dword [edi + 0x1f8]
mov dword [esi + 0x1f8], edx
mov eax, dword [edi + 0x1fc]
mov dword [esi + 0x1fc], eax
mov ecx, dword [edi + 0x200]
mov dword [esi + 0x200], ecx
mov edx, dword [edi + 0x204]
mov dword [esi + 0x204], edx
mov eax, dword [edi + 0x208]
mov dword [esi + 0x208], eax
mov ecx, dword [edi + 0x20c]
mov dword [esi + 0x20c], ecx
mov edx, dword [edi + 0x210]
mov dword [esi + 0x210], edx
mov eax, dword [edi + 0x214]
mov dword [esi + 0x214], eax
movzx ecx, word [edi + 0x218]
mov word [esi + 0x218], cx
movzx edx, word [edi + 0x21a]
mov word [esi + 0x21a], dx
movzx eax, word [edi + 0x21c]
mov word [esi + 0x21c], ax
movzx ecx, word [edi + 0x21e]
mov word [esi + 0x21e], cx
movzx edx, word [edi + 0x220]
mov word [esi + 0x220], dx
movzx eax, word [edi + 0x222]
mov word [esi + 0x222], ax
movzx ecx, word [edi + 0x224]
mov word [esi + 0x224], cx
movzx edx, word [edi + 0x226]
mov word [esi + 0x226], dx
movzx eax, word [edi + 0x228]
mov word [esi + 0x228], ax
movzx ecx, word [edi + 0x22a]
mov word [esi + 0x22a], cx
movzx edx, word [edi + 0x22c]
mov word [esi + 0x22c], dx
movzx eax, word [edi + 0x22e]
mov word [esi + 0x22e], ax
movzx ecx, word [edi + 0x230]
mov word [esi + 0x230], cx
movzx edx, word [edi + 0x232]
mov word [esi + 0x232], dx
movzx eax, word [edi + 0x234]
mov word [esi + 0x234], ax
movzx ecx, word [edi + 0x236]
mov word [esi + 0x236], cx
movzx edx, word [edi + 0x238]
mov word [esi + 0x238], dx
movzx eax, word [edi + 0x23a]
mov word [esi + 0x23a], ax
movzx ecx, word [edi + 0x23c]
mov word [esi + 0x23c], cx
movzx edx, word [edi + 0x23e]
mov word [esi + 0x23e], dx
mov eax, dword [edi + 0x240]
mov dword [esi + 0x240], eax
mov ecx, dword [edi + 0x244]
mov dword [esi + 0x244], ecx
mov edx, dword [edi + 0x248]
mov dword [esi + 0x248], edx
mov eax, dword [edi + 0x24c]
mov dword [esi + 0x24c], eax
movzx ecx, byte [edi + 0x250]
mov byte [esi + 0x250], cl
mov edx, dword [edi + 0x254]
mov dword [esi + 0x254], edx
movzx eax, byte [edi + 0x258]
mov byte [esi + 0x258], al
mov ecx, dword [edi + 0x25c]
mov dword [esi + 0x25c], ecx
movzx edx, word [edi + 0x260]
mov word [esi + 0x260], dx
movzx eax, word [edi + 0x262]
mov word [esi + 0x262], ax
movzx ecx, byte [edi + 0x264]
mov byte [esi + 0x264], cl
movzx edx, byte [edi + 0x265]
mov byte [esi + 0x265], dl
movzx eax, byte [edi + 0x266]
mov byte [esi + 0x266], al
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4