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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1118
push 0x4a2bd4
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 0x47ac5b
xor eax, eax
jmp 0x47aee8
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 0x47acac
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
jmp 0x47aee8
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 0x47acd9
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x28], 0
jne 0x47acd9
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x50], 0
je 0x47acee
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
jmp 0x47aee8
mov edx, dword [ebp - 0x38]
add edx, 0x80
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
jne 0x47ad17
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x54]
jmp 0x47aee8
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.0042b63a
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x47ad4b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
jmp 0x47aee8
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0xc], 0
je 0x47aeb2
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.0042b63a
add esp, 0xc
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x47ad7d
jmp 0x47aeb2
push str.USER32.dll
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.ntdll.dll__stricmp]
add esp, 8
test eax, eax
jne 0x47aea4
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 0x47adcc
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.0042b63a
add esp, 0xc
mov dword [ebp - 0x40], eax
jmp 0x47adf5
cmp dword [ebp + 0x14], 0
jne 0x47adf5
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x10], 0
je 0x47adf5
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.0042b63a
add esp, 0xc
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x47ae00
jmp 0x47aeb2
mov edx, dword [ebp - 0x40]
cmp dword [edx], 0
je 0x47aea4
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
and ecx, 0x80000000
test ecx, ecx
jne 0x47ae96
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.0042b63a
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x47ae3c
jmp 0x47aea4
push str.FindWindowA
mov eax, dword [ebp - 0x44]
add eax, 2
push eax
call dword [sym.imp.ntdll.dll__stricmp]
add esp, 8
test eax, eax
jne 0x47ae69
push str.import_FindWindowA
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x24], 1
jmp 0x47aea4
push str.IsChild
mov ecx, dword [ebp - 0x44]
add ecx, 2
push ecx
call dword [sym.imp.ntdll.dll__stricmp]
add esp, 8
test eax, eax
jne 0x47ae96
push str.import_IsChild
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x1c], 1
jmp 0x47aea4
mov edx, dword [ebp - 0x40]
add edx, 4
mov dword [ebp - 0x40], edx
jmp 0x47ae00
mov eax, dword [ebp - 0x28]
add eax, 0x14
mov dword [ebp - 0x28], eax
jmp 0x47ad4b
cmp dword [ebp - 0x24], 0
jne 0x47aebe
cmp dword [ebp - 0x1c], 0
je 0x47aec5
mov dword [ebp - 0x20], 0x6b
mov dword [ebp - 4], 0xffffffff
jmp 0x47aee5
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