Function at 0x487798
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4879c4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x4879dc
call fcn.0040472c
xor eax, eax
mov al, byte [ebx + 8]
cmp eax, 6
ja case.default.0x4877de
jmp dword [eax*4 + 0x4877e5]
lea eax, [ebp - 4]
mov edx, 0x4879dc
call fcn.0040472c
jmp case.default.0x4877de
lea eax, [ebp - 4]
mov edx, 0x4879ec
call fcn.0040472c
jmp case.default.0x4877de
lea eax, [ebp - 4]
mov edx, 0x487a04
call fcn.0040472c
jmp case.default.0x4877de
lea eax, [ebp - 4]
mov edx, 0x487a18
call fcn.0040472c
jmp case.default.0x4877de
lea eax, [ebp - 4]
mov edx, 0x487a28
call fcn.0040472c
jmp case.default.0x4877de
lea eax, [ebp - 4]
mov edx, 0x487a38
call fcn.0040472c
jmp case.default.0x4877de
lea eax, [ebp - 4]
mov edx, 0x487a48
call fcn.0040472c
lea eax, [ebp - 8]
call fcn.00404694
test byte [ebx + 0x20], 1
je 0x487883
lea eax, [ebp - 8]
mov edx, 0x487a58
call fcn.00404978
test byte [ebx + 0x20], 2
je 0x487896
lea eax, [ebp - 8]
mov edx, 0x487a74
call fcn.00404978
test byte [ebx + 0x20], 4
je 0x4878a9
lea eax, [ebp - 8]
mov edx, 0x487a8c
call fcn.00404978
test byte [ebx + 0x20], 8
je 0x4878bc
lea eax, [ebp - 8]
mov edx, 0x487aac
call fcn.00404978
test byte [ebx + 0x20], 0x10
je 0x4878cf
lea eax, [ebp - 8]
mov edx, 0x487ac4
call fcn.00404978
test byte [ebx + 0x20], 0x20
je 0x4878e2
lea eax, [ebp - 8]
mov edx, 0x487ae0
call fcn.00404978
push esi
mov eax, dword [ebx + 4]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0xb
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xb
lea ecx, [ebp - 0x84]
mov dl, 1
mov al, byte [ebx + 0x14]
call fcn.00408e64
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xb
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x80]
mov ecx, 0xe
mov eax, 0x487afc
call fcn.0040a054
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4879cb
lea eax, [ebp - 0x84]
call fcn.00404694
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046b8
ret