Function at 0x47ec85
Capabilities:
Enumerate pe sections
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7340
push 0x4a8984
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x48], ecx
cmp dword [ebp + 0xc], 0
jne 0x47ecbb
xor eax, eax
jmp 0x47ef48
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov cx, word [eax + 6]
cmp ecx, 3
je 0x47ed0c
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
jmp 0x47ef48
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov cx, word [eax + 0x14]
mov edx, dword [ebp - 0x38]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp dword [ecx], 0
jne 0x47ed39
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x28], 0
jne 0x47ed39
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x50], 0
je 0x47ed4e
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
jmp 0x47ef48
mov edx, dword [ebp - 0x38]
add edx, 0x80
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
jne 0x47ed77
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x54]
jmp 0x47ef48
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0042f9aa
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x47edab
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
jmp 0x47ef48
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0xc], 0
je 0x47ef12
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0042f9aa
add esp, 0xc
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x47eddd
jmp 0x47ef12
push 0x53f218
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.ntdll.dll__stricmp]
add esp, 8
test eax, eax
jne 0x47ef04
push str.import_dll_USer32.dll
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x28]
cmp dword [ecx], 0
je 0x47ee2c
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0042f9aa
add esp, 0xc
mov dword [ebp - 0x40], eax
jmp 0x47ee55
cmp dword [ebp + 0x14], 0
jne 0x47ee55
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x10], 0
je 0x47ee55
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042f9aa
add esp, 0xc
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x47ee60
jmp 0x47ef12
mov edx, dword [ebp - 0x40]
cmp dword [edx], 0
je 0x47ef04
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
and ecx, 0x80000000
test ecx, ecx
jne 0x47eef6
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0042f9aa
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x47ee9c
jmp 0x47ef04
push 0x53f23c
mov eax, dword [ebp - 0x44]
add eax, 2
push eax
call dword [sym.imp.ntdll.dll__stricmp]
add esp, 8
test eax, eax
jne 0x47eec9
push str.import_FindWindowA
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x24], 1
jmp 0x47ef04
push 0x53f25c
mov ecx, dword [ebp - 0x44]
add ecx, 2
push ecx
call dword [sym.imp.ntdll.dll__stricmp]
add esp, 8
test eax, eax
jne 0x47eef6
push str.import_IsChild
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x1c], 1
jmp 0x47ef04
mov edx, dword [ebp - 0x40]
add edx, 4
mov dword [ebp - 0x40], edx
jmp 0x47ee60
mov eax, dword [ebp - 0x28]
add eax, 0x14
mov dword [ebp - 0x28], eax
jmp 0x47edab
cmp dword [ebp - 0x24], 0
jne 0x47ef1e
cmp dword [ebp - 0x1c], 0
je 0x47ef25
mov dword [ebp - 0x20], 0x6b
mov dword [ebp - 4], 0xffffffff
jmp 0x47ef45
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10