Function at 0x470c90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
test dl, dl
je 0x470cae
add esp, 0xfffffff0
call fcn.00403fa0
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404fac
mov eax, dword [ebp + 0x64]
call fcn.00404fac
mov eax, dword [ebp + 0x60]
call fcn.00404fac
mov eax, dword [ebp + 0x5c]
call fcn.00404fac
xor eax, eax
push ebp
push 0x470f81
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00403ba8
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 0xc]
call fcn.00404ba4
mov eax, dword [ebp - 4]
add eax, 8
mov edx, dword [ebp + 0x64]
call fcn.00404ba4
mov eax, dword [ebp - 4]
add eax, 0xc
mov edx, dword [ebp + 0x60]
call fcn.00404ba4
mov eax, dword [ebp - 4]
add eax, 0x10
mov edx, dword [ebp + 0x5c]
call fcn.00404ba4
mov eax, dword [ebp + 0x58]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp + 0x54]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp + 0x50]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov eax, dword [ebp + 0x4c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x3c]
mov dword [eax + 0x2c], edx
mov edx, dword [ebp + 0x40]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x34]
mov dword [eax + 0x34], edx
mov edx, dword [ebp + 0x38]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x2c]
mov dword [eax + 0x3c], edx
mov edx, dword [ebp + 0x30]
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x24]
mov dword [eax + 0x44], edx
mov edx, dword [ebp + 0x28]
mov dword [eax + 0x48], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0x4c], edx
mov edx, dword [ebp + 0x20]
mov dword [eax + 0x50], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x54], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + 0x58], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x5c], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x60], edx
mov al, byte [ebp + 8]
mov edx, dword [ebp - 4]
mov byte [edx + 0x64], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
dec eax
je 0x470de5
dec eax
je 0x470e28
dec eax
je 0x470e6b
dec eax
je 0x470ee3
jmp 0x470f59
mov eax, dword [ebp - 4]
fld qword [eax + 0x34]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x114]
mov edx, dword [ebp + 0x44]
xor eax, eax
call fcn.004095e3
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x10]
call fcn.00404d9c
mov eax, dword [ebp - 4]
add eax, 0x14
mov ecx, 0x470fb4
mov edx, dword [ebp - 0x10]
call fcn.00404e44
jmp 0x470f59
mov eax, dword [ebp - 4]
fld qword [eax + 0x3c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x114]
mov edx, dword [ebp + 0x44]
xor eax, eax
call fcn.004095e3
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x10]
call fcn.00404d9c
mov eax, dword [ebp - 4]
add eax, 0x14
mov ecx, 0x470fc4
mov edx, dword [ebp - 0x10]
call fcn.00404e44
jmp 0x470f59
mov eax, dword [ebp - 4]
fld qword [eax + 0x44]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x114]
mov edx, dword [ebp + 0x44]
xor eax, eax
call fcn.004095e3
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x10]
call fcn.00404d9c
mov eax, dword [ebp - 4]
fld qword [eax + 0x3c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x114]
mov edx, dword [ebp + 0x44]
xor eax, eax
call fcn.004095e3
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x14]
call fcn.00404d9c
push dword [ebp - 0x10]
push 0x470fd4
push dword [ebp - 0x14]
push 0x470fe0
mov eax, dword [ebp - 4]
add eax, 0x14
mov edx, 4
call fcn.00404eb8
jmp 0x470f59
mov eax, dword [ebp - 4]
fld qword [eax + 0x34]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x114]
mov edx, dword [ebp + 0x44]
xor eax, eax
call fcn.004095e3
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x10]
call fcn.00404d9c
mov eax, dword [ebp - 4]
fld qword [eax + 0x3c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x114]
mov edx, dword [ebp + 0x44]
xor eax, eax
call fcn.004095e3
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x14]
call fcn.00404d9c
push dword [ebp - 0x10]
push 0x470fd4
push dword [ebp - 0x14]
push 0x470ff0
mov eax, dword [ebp - 4]
add eax, 0x14
mov edx, 4
call fcn.00404eb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470f88
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404b74
lea eax, [ebp + 0x5c]
mov edx, 3
call fcn.00404b74
ret