Function at 0x100181e0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
push 0x2c
push 0
mov eax, dword [ebp - 0x24]
add eax, 0x45
push eax
call fcn.1009eb40
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x45], 0x28
mov edx, 0x18
mov eax, dword [ebp - 0x24]
mov word [eax + 0x53], dx
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x55], 0
mov edx, 1
mov eax, dword [ebp - 0x24]
mov word [eax + 0x51], dx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 8]
mov dword [ecx + 0x49], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x4d], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x39], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x71], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x71]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x39]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x10], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x39]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x39]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x45
push ecx
push 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x71]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
push 0
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x3d
push ecx
push 0
mov edx, dword [ebp - 0x24]
add edx, 0x45
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x41], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x49]
imul eax, eax, 3
and eax, reloc.WSOCK32.dll_closesocket
jns 0x1001835c
dec eax
or eax, 0xfffffffc
inc eax
mov ecx, 4
sub ecx, eax
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 4
jne 0x10018373
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x49]
imul eax, eax, 3
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
push 0
mov edx, dword [ebp - 0x24]
add edx, 0x45
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x3d]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x71]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
mov ecx, dword [ebp - 0x24]
call fcn.100183e0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x41]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x39]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esp, ebp
pop ebp
ret