Function at 0x421337
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.004231b6
mov ebx, eax
mov edx, dword [ebx]
push edx
lea eax, [ebp - 0xec]
push eax
push ebx
call fcn.0042b270
push dword [ebp - 0x98]
push 8
call fcn.00423298
mov esi, eax
mov eax, dword [0x43ba8d]
cmp dword [ebp + 0xc], eax
jne 0x4213a2
cmp dword [0x43cef8], 0
jne 0x4213a2
cmp dword [esi + 0x1c], 0
je 0x421399
push dword [esi + 0x1c]
call sub.USER32.dll_DestroyWindow
mov dword [esi + 0x1c], 0
mov dword [ebp - 0x1c], 1
jmp 0x4213a9
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 0x4213d7
or dword [ebp - 0xc], 0x800000
jmp 0x4213de
or dword [ebp - 0x10], 0x200
cmp dword [ebp - 0x74], 1
jne 0x4213e8
or dword [ebp - 0xc], 2
cmp dword [ebp - 0x70], 1
jne 0x4213f7
or dword [ebp - 0xc], 0x100200
jmp 0x4213fe
or dword [ebp - 0xc], 0x200000
cmp dword [ebp - 0xe4], 4
jne 0x421410
or dword [ebp - 0xc], 0x800
jmp 0x42143e
cmp dword [ebp - 0xe4], 3
jne 0x42141f
or dword [ebp - 0xc], 8
jmp 0x42143e
cmp dword [ebp - 0xe4], 2
jne 0x421431
or dword [ebp - 0xc], 0x4000
jmp 0x42143e
cmp dword [ebp - 0xe4], 1
jne 0x42143e
or dword [ebp - 0xc], 2
push 0
push dword [0x43b15c]
push dword [ebp - 0x98]
push dword [0x43b160]
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.0040a267
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 + 0x10]
push dword [ebp - 0xc0]
pop dword [esi + 0x18]
push dword [ebp - 0x20]
pop dword [esi + 4]
push dword [ebp - 4]
pop dword [esi + 0x1c]
push dword [ebp - 0xf0]
pop dword [esi + 8]
mov dword [esi], 2
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 0x42157d
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 0x4215b4
mov dword [ebp - 0x18], eax
jmp 0x4215ac
push 0
push dword [ebp - 0x18]
call fcn.0040a161
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 0x42158c
cmp dword [ebp - 0xe4], 2
je 0x4216a4
cmp dword [esi + 0x30], 0
jne 0x42163a
cmp dword [ebp - 0xb0], 1
jne 0x4216a4
cmp dword [ebp - 0xe4], 1
ja 0x4215fa
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 0x421638
mov dword [ebp - 0x18], 1
push 0
push dword [ebp - 0x64]
call fcn.0040a179
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x421633
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 0x421615
jmp 0x4216a4
cmp dword [ebp - 0xe4], 1
ja 0x42165d
cmp dword [esi + 0x2c], 0xffffffff
je 0x421692
push 0
push dword [esi + 0x2c]
push 0x186
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
jmp 0x421692
cmp dword [esi + 0x20], 0
je 0x421692
mov dword [ebp - 0x18], 0
mov eax, dword [esi + 0x24]
jmp 0x42168d
mov eax, dword [ebp - 0x18]
mov ebx, dword [esi + 0x20]
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 + 0x24]
cmp dword [ebp - 0x18], eax
jb 0x42166f
push 0
push dword [esi + 0x28]
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 0x421746
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 4], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 8], 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