Function at 0x40c514
Capabilities:
Capture screenshot
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push edx
push esi
mov eax, dword [ebp + 0x10]
push dword [eax + 4]
push dword [eax]
call fcn.0040dee3
mov ebx, eax
mov edx, dword [ebx]
push edx
lea eax, [ebp - 0xec]
push eax
push ebx
call fcn.0040f9d0
push dword [ebp - 0x98]
push 8
call fcn.0040dfc5
mov esi, eax
mov eax, dword [0x4192f1]
cmp dword [ebp + 0xc], eax
jne 0x40c57f
cmp dword [0x419d60], 0
jne 0x40c57f
cmp dword [esi + 0x18], 0
je 0x40c576
push dword [esi + 0x18]
call sub.USER32.dll_DestroyWindow
mov dword [esi + 0x18], 0
mov dword [ebp - 0x1c], 1
jmp 0x40c586
mov dword [ebp - 0x1c], 0
push dword [ebp - 0xc4]
call sub.GDI32.dll_CreateSolidBrush
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0x40000080
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0xcc], 1
jne 0x40c5b4
or dword [ebp - 0xc], 0x800000
jmp 0x40c5bb
or dword [ebp - 0x10], 0x200
cmp dword [ebp - 0x74], 1
jne 0x40c5c5
or dword [ebp - 0xc], 2
cmp dword [ebp - 0x70], 1
jne 0x40c5d4
or dword [ebp - 0xc], 0x100200
jmp 0x40c5db
or dword [ebp - 0xc], 0x200000
cmp dword [ebp - 0xe4], 4
jne 0x40c5ed
or dword [ebp - 0xc], 0x800
jmp 0x40c61b
cmp dword [ebp - 0xe4], 3
jne 0x40c5fc
or dword [ebp - 0xc], 8
jmp 0x40c61b
cmp dword [ebp - 0xe4], 2
jne 0x40c60e
or dword [ebp - 0xc], 0x4000
jmp 0x40c61b
cmp dword [ebp - 0xe4], 1
jne 0x40c61b
or dword [ebp - 0xc], 2
push 0
push dword [section..data]
push dword [ebp - 0x98]
push dword [0x419004]
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
push dword [ebp - 0xdc]
push dword [ebp - 0xe0]
push dword [ebp - 0xc]
push 0
push str.LISTBOX
push dword [ebp - 0x10]
call sub.USER32.dll_CreateWindowExA
mov dword [ebp - 4], eax
push dword [ebp - 0xc8]
push dword [ebp - 0x90]
push 0
call fcn.0040505f
mov dword [ebp - 0xf0], eax
push 0
push dword [ebp - 0xf0]
push 0x30
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
push dword [ebp - 0xc4]
pop dword [esi + 0xc]
push dword [ebp - 0xc0]
pop dword [esi + 0x14]
push dword [ebp - 0x20]
pop dword [esi]
push dword [ebp - 4]
pop dword [esi + 0x18]
push dword [ebp - 0xf0]
pop dword [esi + 4]
push esi
push 0xffffffffffffffeb
push dword [ebp - 4]
call sub.USER32.dll_SetWindowLongA
push 1
push dword [ebp - 4]
call sub.USER32.dll_ShowWindow
push dword [ebp - 4]
call sub.USER32.dll_UpdateWindow
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 4]
call sub.USER32.dll_GetWindowRect
push dword [ebp - 4]
call sub.USER32.dll_GetDC
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
sub dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
sub dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x24]
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 8]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x70], 1
jne 0x40c753
lea eax, [ebp - 0x125]
push eax
push dword [ebp - 0x24]
call sub.GDI32.dll_GetTextMetricsA
mov eax, dword [ebp - 0x68]
shl eax, 2
mov edx, 0
div dword [ebp - 0x111]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 1
push 0x192
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
mov eax, dword [ebp - 0xbc]
or eax, eax
je 0x40c78a
mov dword [ebp - 0x18], eax
jmp 0x40c782
push 0
push dword [ebp - 0x18]
call fcn.00404f76
push eax
push 0
push 0x180
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xb8]
jbe 0x40c762
cmp dword [ebp - 0xe4], 2
je 0x40c87a
cmp dword [esi + 0x2c], 0
jne 0x40c810
cmp dword [ebp - 0xb0], 1
jne 0x40c87a
cmp dword [ebp - 0xe4], 1
ja 0x40c7d0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x18], eax
push 0
push dword [ebp - 0x18]
push 0x186
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
jmp 0x40c80e
mov dword [ebp - 0x18], 1
push 0
push dword [ebp - 0x64]
call fcn.00404f8e
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x40c809
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
push dword [ebx + eax*4]
push 1
push 0x185
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x18], eax
jbe 0x40c7eb
jmp 0x40c87a
cmp dword [ebp - 0xe4], 1
ja 0x40c833
cmp dword [esi + 0x28], 0xffffffff
je 0x40c868
push 0
push dword [esi + 0x28]
push 0x186
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
jmp 0x40c868
cmp dword [esi + 0x1c], 0
je 0x40c868
mov dword [ebp - 0x18], 0
mov eax, dword [esi + 0x20]
jmp 0x40c863
mov eax, dword [ebp - 0x18]
mov ebx, dword [esi + 0x1c]
push dword [ebx + eax*4]
push 1
push 0x185
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
inc dword [ebp - 0x18]
mov eax, dword [esi + 0x20]
cmp dword [ebp - 0x18], eax
jb 0x40c845
push 0
push dword [esi + 0x24]
push 0x197
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
push 0xe
push dword [ebp - 8]
push 0x317
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
push 0xcc0020
push 0
push 0
push dword [ebp - 8]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0xdc]
push dword [ebp - 0xe0]
push dword [ebp + 8]
call sub.GDI32.dll_BitBlt
push dword [ebp - 0x2c]
push dword [ebp - 8]
call sub.GDI32.dll_SelectObject
push dword [ebp - 0x28]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 8]
call sub.GDI32.dll_DeleteDC
push dword [ebp - 0x24]
push dword [ebp - 4]
call sub.USER32.dll_ReleaseDC
cmp dword [ebp - 0x1c], 0
jne 0x40c91b
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 0x18], 0
mov dword [esi + 4], 0
push dword [ebp - 0x20]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 0xf0]
call sub.GDI32.dll_DeleteObject
push dword [ebp - 4]
call sub.USER32.dll_DestroyWindow
pop esi
pop edx
pop ebx
leave
ret 0xc