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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5acdad
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5fa040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi + 0xc], 0
lea esi, [edi + 0x10]
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00474750
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov byte [ebp - 4], 6
mov ebx, dword [ebp + 8]
mov byte [edi + 0xb8], 0
cmp dword [ebx + 4], 0
jne 0x475c8a
cmp byte [ebx + 0x1a], 0
je 0x475dc7
cmp ebx, esi
je 0x475d49
mov edi, dword [esi + 4]
test edi, edi
je 0x475cc3
nop dword [eax]
mov eax, dword [esi]
dec edi
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x475cbc
mov ecx, ebx
call fcn.00476800
push 0x28
push ebx
call fcn.00587dca
add esp, 8
test edi, edi
jne 0x475ca0
mov ebx, dword [ebp + 8]
mov dword [esi + 4], 0
mov ecx, esi
mov edi, dword [ebx + 4]
push edi
mov dword [ebp - 0x18], edi
call fcn.0046f150
xor ecx, ecx
mov dword [ebp - 0x10], ecx
test edi, edi
je 0x475d46
mov eax, dword [ebx]
push 0x28
mov edi, dword [eax + ecx*4]
call fcn.00587dd8
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
push edi
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.00476930
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x20], eax
mov al, byte [edi + 0x24]
mov byte [ebx + 0x24], al
mov byte [ebp - 4], 6
mov ecx, dword [esi + 4]
lea eax, [ecx + 1]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov dword [eax + ecx*4], ebx
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x18]
jb 0x475ce1
mov edi, dword [ebp - 0x14]
lea eax, [ebx + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00476740
movzx eax, byte [ebx + 0x18]
lea ecx, [esi + 0x24]
mov byte [esi + 0x18], al
movzx eax, byte [ebx + 0x19]
mov byte [esi + 0x19], al
movzx eax, byte [ebx + 0x1a]
mov byte [esi + 0x1a], al
movzx eax, byte [ebx + 0x1b]
mov byte [esi + 0x1b], al
movzx eax, byte [ebx + 0x1c]
mov byte [esi + 0x1c], al
movzx eax, byte [ebx + 0x1d]
mov byte [esi + 0x1d], al
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x20], eax
lea eax, [ebx + 0x24]
push eax
call fcn.0046d120
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
mov dword [esi + 0x30], eax
mov eax, edi
mov dword [esi + 0x34], ecx
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x5f79a8
lea eax, [ebp + 8]
mov dword [ebp + 8], 1
push eax
call fcn.0058acc1
int3