Function at 0x401861
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [ebp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4256c8
lea eax, [ebp - 0x236]
mov dword [esp], eax
call sub.msvcrt.dll_swprintf
mov dword [esp], 0
call sub.USER32.dll_GetDC
sub esp, 4
mov dword [esp], eax
call sub.GDI32.dll_CreateCompatibleDC
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [esp], 0
call sub.USER32.dll_GetDC
sub esp, 4
mov edx, dword [ebp + 0x14]
mov dword [esp + 8], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.GDI32.dll_CreateCompatibleBitmap
sub esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.GDI32.dll_SelectObject
sub esp, 8
mov dword [esp], 0
call sub.USER32.dll_GetDC
sub esp, 4
mov dword [esp + 0x20], 0xcc0020
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.0041d82c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.GDI32.dll_DeleteDC
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.GDI32.dll_DeleteObject
sub esp, 4
cmp dword [ebp - 0x14], 0
jne 0x40198f
cmp dword [ebp - 0x14], 0
je 0x401988
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
mov ecx, edx
call eax
mov al, 0
jmp 0x401a9a
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ecx, eax
call fcn.0041d5a4
sub esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4019f7
cmp dword [ebp - 0x14], 0
je 0x4019d9
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
mov ecx, edx
call eax
cmp dword [ebp - 0x18], 0
je 0x4019f0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
add eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
mov ecx, edx
call eax
mov al, 0
jmp 0x401a9a
cmp dword [ebp - 0x14], 0
je 0x401a0e
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
mov ecx, edx
call eax
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], str.image_jpeg
call fcn.00401679
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x401a5c
cmp dword [ebp - 0x14], 0
je 0x401a41
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
mov ecx, edx
call eax
cmp dword [ebp - 0x18], 0
je 0x401a58
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
add eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
mov ecx, edx
call eax
mov al, 0
jmp 0x401a9a
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], 0
lea edx, [ebp - 0x2c]
mov dword [esp + 4], edx
lea edx, [ebp - 0x236]
mov dword [esp], edx
mov ecx, eax
call fcn.0041d668
sub esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x401a98
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
add eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
mov ecx, edx
call eax
mov al, 1
jmp 0x401aa4
leave
ret