Function at 0x40d1b5
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.0040eb84
mov ebx, eax
mov edx, dword [ebx]
push edx
lea eax, [ebp - 0xec]
push eax
push ebx
call fcn.00410720
push dword [ebp - 0x98]
push 8
call fcn.0040ec66
mov esi, eax
mov eax, dword [0x41a333]
cmp dword [ebp + 0xc], eax
jne 0x40d220
cmp dword [0x41ade9], 0
jne 0x40d220
cmp dword [esi + 0x18], 0
je 0x40d217
push dword [esi + 0x18]
call sub.USER32.dll_DestroyWindow
mov dword [esi + 0x18], 0
mov dword [ebp - 0x1c], 1
jmp 0x40d227
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 0x40d255
or dword [ebp - 0xc], 0x800000
jmp 0x40d25c
or dword [ebp - 0x10], 0x200
cmp dword [ebp - 0x74], 1
jne 0x40d266
or dword [ebp - 0xc], 2
cmp dword [ebp - 0x70], 1
jne 0x40d275
or dword [ebp - 0xc], 0x100200
jmp 0x40d27c
or dword [ebp - 0xc], 0x200000
cmp dword [ebp - 0xe4], 4
jne 0x40d28e
or dword [ebp - 0xc], 0x800
jmp 0x40d2bc
cmp dword [ebp - 0xe4], 3
jne 0x40d29d
or dword [ebp - 0xc], 8
jmp 0x40d2bc
cmp dword [ebp - 0xe4], 2
jne 0x40d2af
or dword [ebp - 0xc], 0x4000
jmp 0x40d2bc
cmp dword [ebp - 0xe4], 1
jne 0x40d2bc
or dword [ebp - 0xc], 2
push 0
push dword [section..data]
push dword [ebp - 0x98]
push dword [0x41a004]
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.00405652
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 0x40d3f4
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 0x40d42b
mov dword [ebp - 0x18], eax
jmp 0x40d423
push 0
push dword [ebp - 0x18]
call fcn.0040554c
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 0x40d403
cmp dword [ebp - 0xe4], 2
je 0x40d51b
cmp dword [esi + 0x2c], 0
jne 0x40d4b1
cmp dword [ebp - 0xb0], 1
jne 0x40d51b
cmp dword [ebp - 0xe4], 1
ja 0x40d471
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 0x40d4af
mov dword [ebp - 0x18], 1
push 0
push dword [ebp - 0x64]
call fcn.00405564
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x40d4aa
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 0x40d48c
jmp 0x40d51b
cmp dword [ebp - 0xe4], 1
ja 0x40d4d4
cmp dword [esi + 0x28], 0xffffffff
je 0x40d509
push 0
push dword [esi + 0x28]
push 0x186
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
jmp 0x40d509
cmp dword [esi + 0x1c], 0
je 0x40d509
mov dword [ebp - 0x18], 0
mov eax, dword [esi + 0x20]
jmp 0x40d504
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 0x40d4e6
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 0x40d5bc
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