Function at 0x4a41e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2c
push 0
push 0
dec ecx
jne 0x4a41e8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x34]
mov edx, dword [0x4a3ea8]
call fcn.004056bc
xor eax, eax
push ebp
push 0x4a4a1a
push dword fs:[eax]
mov dword fs:[eax], esp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [ebp - 0x80]
xor edx, edx
mov eax, 0x4a4a34
call fcn.004a3ec8
mov edx, dword [ebp - 0x80]
lea ecx, [ebp - 0x50]
mov eax, 0x4a4a40
call fcn.004a3ec8
lea ecx, [ebp - 0x88]
xor edx, edx
mov eax, 0x4a4a4c
call fcn.004a3ec8
mov edx, dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
mov eax, 0x4a4a58
call fcn.004a3ec8
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x54]
mov eax, 0x4a4a64
call fcn.004a3ec8
lea ecx, [ebp - 0xa0]
xor edx, edx
mov eax, 0x4a4a70
call fcn.004a3ec8
mov edx, dword [ebp - 0xa0]
lea ecx, [ebp - 0x9c]
mov eax, 0x4a4a7c
call fcn.004a3ec8
mov edx, dword [ebp - 0x9c]
lea ecx, [ebp - 0x98]
mov eax, 0x4a4a34
call fcn.004a3ec8
mov edx, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
mov eax, 0x4a4a88
call fcn.004a3ec8
mov edx, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
mov eax, 0x4a4a94
call fcn.004a3ec8
mov edx, dword [ebp - 0x90]
lea ecx, [ebp - 0x8c]
mov eax, 0x4a4a64
call fcn.004a3ec8
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x4c]
mov eax, 0x4a4a7c
call fcn.004a3ec8
lea ecx, [ebp - 0xa8]
xor edx, edx
mov eax, 0x4a4aa0
call fcn.004a3ec8
mov edx, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
mov eax, 0x4a4a4c
call fcn.004a3ec8
lea eax, [ebp - 0xa4]
mov edx, dword [ebp - 0x50]
call fcn.00404ce8
mov eax, dword [ebp - 0xa4]
call fcn.00404ee0
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
lea ecx, [ebp - 0xb4]
xor edx, edx
mov eax, 0x4a4aa0
call fcn.004a3ec8
mov edx, dword [ebp - 0xb4]
lea ecx, [ebp - 0xb0]
mov eax, 0x4a4a4c
call fcn.004a3ec8
push dword [ebp - 0xb0]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x4c]
lea eax, [ebp - 0xac]
mov edx, 4
call fcn.00404da0
mov eax, dword [ebp - 0xac]
call fcn.00404ee0
push eax
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x68], eax
mov edx, sub.kernel32.dll_lstrcpyA
lea eax, [ebp - 0x68]
mov ecx, 4
call fcn.00407884
push ebx
call sub.kernel32.dll_FreeLibrary_1
mov eax, dword [ebp - 0x58]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 8], eax
push 1
push 0x2000
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
sub edx, dword [eax + 0x34]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
lea esi, [eax + 0x18]
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x14]
add esi, eax
mov eax, dword [ebp - 8]
movzx edi, word [eax + 6]
dec edi
test edi, edi
jl 0x4a4476
inc edi
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 8]
lea edx, [ebx + ebx*4]
mov edx, dword [esi + edx*8 + 0x10]
mov dword [ebp - 0x60], edx
push 4
push 0x1000
push eax
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0xc]
add eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov edx, eax
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0x14]
add eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x60]
call fcn.00402f68
inc ebx
dec edi
jne 0x4a4426
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
push 0x50
pop edx
lea edx, [ebx + ebx]
push 0x23
call sub.gdi32.dll_GetDCPenColor
imul ecx, ecx, 0x5e
lea eax, [edx + edx]
push 0x2c
call sub.gdi32.dll_GetMapMode
push eax
call sub.gdi32.dll_GetDCBrushColor
push 0x8da7d92d
call sub.gdi32.dll_GetPolyFillMode
push ebp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
add eax, dword [ebp - 0x1c]
call fcn.004a3fb8
pop ecx
push ebp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x80]
add eax, dword [ebp - 0x1c]
call fcn.004a4084
pop ecx
mov eax, dword [ebp - 8]
movzx edi, word [eax + 6]
dec edi
test edi, edi
jl 0x4a4517
inc edi
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x64]
push eax
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0x24]
call 0x4a3f58
push eax
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 8]
push eax
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0xc]
add eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_VirtualProtect
inc ebx
dec edi
jne 0x4a44e1
lea ecx, [ebp - 0xbc]
xor edx, edx
mov eax, 0x4a4aac
call fcn.004a3ec8
mov edx, dword [ebp - 0xbc]
lea ecx, [ebp - 0xb8]
mov eax, 0x4a4a94
call fcn.004a3ec8
mov edx, dword [ebp - 0xb8]
lea ecx, [ebp - 0x50]
mov eax, 0x4a4a7c
call fcn.004a3ec8
lea ecx, [ebp - 0xc8]
xor edx, edx
mov eax, 0x4a4ab8
call fcn.004a3ec8
mov edx, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc4]
mov eax, 0x4a4ab8
call fcn.004a3ec8
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
mov edx, dword [ebp - 0x50]
call fcn.00404d2c
mov eax, dword [ebp - 0xc0]
call fcn.00404ee0
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
lea ecx, [ebp - 0xe0]
xor edx, edx
mov eax, 0x4a4a88
call fcn.004a3ec8
mov edx, dword [ebp - 0xe0]
lea ecx, [ebp - 0xdc]
mov eax, 0x4a4ac4
call fcn.004a3ec8
mov edx, dword [ebp - 0xdc]
lea ecx, [ebp - 0xd8]
mov eax, 0x4a4a94
call fcn.004a3ec8
mov edx, dword [ebp - 0xd8]
lea ecx, [ebp - 0xd4]
mov eax, 0x4a4a7c
call fcn.004a3ec8
mov edx, dword [ebp - 0xd4]
lea ecx, [ebp - 0xd0]
mov eax, 0x4a4ad0
call fcn.004a3ec8
mov edx, dword [ebp - 0xd0]
lea ecx, [ebp - 0xcc]
mov eax, 0x4a4adc
call fcn.004a3ec8
mov edx, dword [ebp - 0xcc]
lea ecx, [ebp - 0x54]
mov eax, 0x4a4ae8
call fcn.004a3ec8
lea ecx, [ebp - 0x100]
xor edx, edx
mov eax, 0x4a4a70
call fcn.004a3ec8
mov edx, dword [ebp - 0x100]
lea ecx, [ebp - 0xfc]
mov eax, 0x4a4a7c
call fcn.004a3ec8
mov edx, dword [ebp - 0xfc]
lea ecx, [ebp - 0xf8]
mov eax, 0x4a4a34
call fcn.004a3ec8
mov edx, dword [ebp - 0xf8]
lea ecx, [ebp - 0xf4]
mov eax, 0x4a4a88
call fcn.004a3ec8
mov edx, dword [ebp - 0xf4]
lea ecx, [ebp - 0xf0]
mov eax, 0x4a4a94
call fcn.004a3ec8
mov edx, dword [ebp - 0xf0]
lea ecx, [ebp - 0xec]
mov eax, 0x4a4a64
call fcn.004a3ec8
mov edx, dword [ebp - 0xec]
lea ecx, [ebp - 0xe8]
mov eax, 0x4a4ad0
call fcn.004a3ec8
mov edx, dword [ebp - 0xe8]
lea ecx, [ebp - 0xe4]
mov eax, 0x4a4a94
call fcn.004a3ec8
mov edx, dword [ebp - 0xe4]
lea ecx, [ebp - 0x4c]
mov eax, 0x4a4a34
call fcn.004a3ec8
lea ecx, [ebp - 0x110]
xor edx, edx
mov eax, 0x4a4af4
call fcn.004a3ec8
mov edx, dword [ebp - 0x110]
lea ecx, [ebp - 0x10c]
mov eax, 0x4a4a94
call fcn.004a3ec8
mov edx, dword [ebp - 0x10c]
lea ecx, [ebp - 0x108]
mov eax, 0x4a4ae8
call fcn.004a3ec8
push dword [ebp - 0x108]
push dword [ebp - 0x54]
push dword [ebp - 0x4c]
lea eax, [ebp - 0x104]
mov edx, 3
call fcn.00404da0
mov eax, dword [ebp - 0x104]
call fcn.00404ee0
push eax
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x70], eax
mov edx, sub.kernel32.dll_lstrcpyA
lea eax, [ebp - 0x70]
mov ecx, 4
call fcn.00407884
lea ecx, [ebp - 0x11c]
xor edx, edx
mov eax, 0x4a4b00
call fcn.004a3ec8
mov edx, dword [ebp - 0x11c]
lea ecx, [ebp - 0x118]
mov eax, 0x4a4a7c
call fcn.004a3ec8
mov edx, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
mov eax, 0x4a4ad0
call fcn.004a3ec8
mov edx, dword [ebp - 0x114]
lea ecx, [ebp - 0x54]
mov eax, 0x4a4b0c
call fcn.004a3ec8
lea ecx, [ebp - 0x124]
xor edx, edx
mov eax, 0x4a4ad0
call fcn.004a3ec8
mov edx, dword [ebp - 0x124]
lea ecx, [ebp - 0x120]
mov eax, 0x4a4ab8
call fcn.004a3ec8
mov edx, dword [ebp - 0x120]
lea ecx, [ebp - 0x4c]
mov eax, 0x4a4a34
call fcn.004a3ec8
lea ecx, [ebp - 0x134]
xor edx, edx
mov eax, 0x4a4b18
call fcn.004a3ec8
mov edx, dword [ebp - 0x134]
lea ecx, [ebp - 0x130]
mov eax, 0x4a4a94
call fcn.004a3ec8
mov edx, dword [ebp - 0x130]
lea ecx, [ebp - 0x12c]
mov eax, 0x4a4b24
call fcn.004a3ec8
push dword [ebp - 0x12c]
push dword [ebp - 0x54]
push dword [ebp - 0x4c]
lea eax, [ebp - 0x128]
mov edx, 3
call fcn.00404da0
mov eax, dword [ebp - 0x128]
call fcn.00404ee0
push eax
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x70], eax
mov edx, sub.kernel32.dll_lstrcpyA
lea eax, [ebp - 0x70]
mov ecx, 4
call fcn.00407884
lea ecx, [ebp - 0x14c]
xor edx, edx
mov eax, 0x4a4ac4
call fcn.004a3ec8
mov edx, dword [ebp - 0x14c]
lea ecx, [ebp - 0x148]
mov eax, 0x4a4a94
call fcn.004a3ec8
mov edx, dword [ebp - 0x148]
lea ecx, [ebp - 0x144]
mov eax, 0x4a4a7c
call fcn.004a3ec8
mov edx, dword [ebp - 0x144]
lea ecx, [ebp - 0x140]
mov eax, 0x4a4ad0
call fcn.004a3ec8
mov edx, dword [ebp - 0x140]
lea ecx, [ebp - 0x13c]
mov eax, 0x4a4adc
call fcn.004a3ec8
mov edx, dword [ebp - 0x13c]
lea ecx, [ebp - 0x138]
mov eax, 0x4a4ae8
call fcn.004a3ec8
mov edx, dword [ebp - 0x138]
lea ecx, [ebp - 0x54]
mov eax, 0x4a4af4
call fcn.004a3ec8
lea ecx, [ebp - 0x158]
xor edx, edx
mov eax, 0x4a4ad0
call fcn.004a3ec8
mov edx, dword [ebp - 0x158]
lea ecx, [ebp - 0x154]
mov eax, 0x4a4a94
call fcn.004a3ec8
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0x150]
mov eax, 0x4a4a34
call fcn.004a3ec8
mov edx, dword [ebp - 0x150]
lea ecx, [ebp - 0x4c]
mov eax, 0x4a4a88
call fcn.004a3ec8
lea ecx, [ebp - 0x164]
xor edx, edx
mov eax, 0x4a4a94
call fcn.004a3ec8
mov edx, dword [ebp - 0x164]
lea ecx, [ebp - 0x160]
mov eax, 0x4a4ae8
call fcn.004a3ec8
push dword [ebp - 0x160]
push dword [ebp - 0x54]
push dword [ebp - 0x4c]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00404da0
mov eax, dword [ebp - 0x15c]
call fcn.00404ee0
push eax
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x70], eax
mov edx, sub.kernel32.dll_lstrcpyA
lea eax, [ebp - 0x70]
mov ecx, 4
call fcn.00407884
push ebx
call sub.kernel32.dll_FreeLibrary_1
push 0
push 1
mov eax, dword [ebp - 0x1c]
push eax
call dword [ebp - 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4a21
lea eax, [ebp - 0x164]
mov edx, 0x3a
call fcn.00404a40
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00404a40
lea eax, [ebp - 0x34]
mov edx, dword [0x4a3ea8]
call fcn.0040578c
ret