Function at 0x10007660
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
push esi
push edi
mov dword [ebp - 0x264], ecx
push eax
xor eax, eax
xor eax, eax
nop
nop
pop eax
mov eax, dword [ebp + 8]
push eax
nop
push 0x1f41
mov ecx, dword [ebp - 0x264]
add ecx, 0x134
call fcn.10004c10
test eax, eax
je 0x100076c2
nop
mov ecx, dword [ebp + 8]
push ecx
push 0x1f53
nop
mov ecx, dword [ebp - 0x264]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add ecx, 0x20
call fcn.10004c10
test eax, eax
jne 0x100076c9
xor eax, eax
jmp 0x10008225
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.user32.dll_GetThreadDesktop]
mov dword [ebp - 0x224], eax
push 0x2000000
push 0
push 0
call dword [sym.imp.user32.dll_OpenInputDesktop]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100076fe
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.user32.dll_SetThreadDesktop]
push 0
push 0
push 0
push 0x100142f4
call dword [sym.imp.gdi32.dll_CreateDCA]
mov dword [ebp - 0x220], eax
push 8
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x18], eax
push 0xa
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x264]
mov eax, dword [edx + 0x18]
cdq
mov ecx, 0x30
idiv ecx
test edx, edx
jne 0x10007779
mov edx, dword [ebp - 0x264]
mov eax, dword [edx + 0x18]
cdq
mov ecx, 0x30
idiv ecx
mov edx, dword [ebp - 0x264]
mov dword [edx + 0x2a4], eax
jmp 0x10007799
mov eax, dword [ebp - 0x264]
mov eax, dword [eax + 0x18]
cdq
mov ecx, 0x30
idiv ecx
add eax, 1
mov edx, dword [ebp - 0x264]
mov dword [edx + 0x2a4], eax
mov eax, dword [ebp - 0x264]
mov eax, dword [eax + 0x1c]
cdq
mov ecx, 0x30
idiv ecx
test edx, edx
jne 0x100077cd
mov edx, dword [ebp - 0x264]
mov eax, dword [edx + 0x1c]
cdq
mov ecx, 0x30
idiv ecx
mov edx, dword [ebp - 0x264]
mov dword [edx + 0x2a8], eax
jmp 0x100077ed
mov eax, dword [ebp - 0x264]
mov eax, dword [eax + 0x1c]
cdq
mov ecx, 0x30
idiv ecx
add eax, 1
mov edx, dword [ebp - 0x264]
mov dword [edx + 0x2a8], eax
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x264]
mov edx, dword [eax + 0x2a4]
imul edx, dword [ecx + 0x2a8]
shl edx, 2
push edx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x240]
mov dword [eax + 0x298], ecx
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x264]
mov ecx, dword [edx + 0x2a4]
imul ecx, dword [eax + 0x2a8]
shl ecx, 2
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x244], eax
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x244]
mov dword [edx + 0x294], eax
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x288], eax
push 0x30
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x264]
mov ecx, dword [edx + 0x2a4]
imul ecx, dword [eax + 0x2a8]
imul ecx, ecx, 0x30
push ecx
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x28c], eax
push 0x30
push 0x30
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x290], eax
mov edx, dword [ebp - 0x264]
mov dword [edx + 0x25c], 0x28
mov eax, dword [ebp - 0x264]
mov dword [eax + 0x260], 0x30
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x264], 0x30
mov edx, dword [ebp - 0x264]
mov word [edx + 0x268], 1
mov eax, dword [ebp - 0x264]
mov word [eax + 0x26a], 0x18
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x26c], 0
push 0
mov edx, dword [ebp - 0x264]
add edx, 0x25c
push edx
push 0
push 0x30
push 0
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x290]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.gdi32.dll_GetDIBits]
mov eax, dword [ebp - 0x264]
mov eax, dword [eax + 0x270]
xor edx, edx
mov ecx, 0x30
div ecx
mov edx, dword [ebp - 0x264]
mov dword [edx + 0x24c], eax
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x24c]
shr ecx, 1
mov edx, dword [ebp - 0x264]
mov dword [edx + 0x250], ecx
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x264]
mov edx, dword [eax + 0x270]
imul edx, dword [ecx + 0x2a4]
mov eax, dword [ebp - 0x264]
imul edx, dword [eax + 0x2a8]
push edx
push 0
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x344], eax
mov edx, dword [ebp - 0x264]
add edx, 0x348
push edx
push 0
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x344]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x264]
mov ecx, dword [edx + 0x270]
imul ecx, dword [eax + 0x2a4]
mov edx, dword [ebp - 0x264]
imul ecx, dword [edx + 0x2a8]
mov eax, dword [ebp - 0x264]
mov dword [eax + 0x330], ecx
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 0x334]
push edx
mov eax, dword [ecx + 0x330]
push eax
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 0x348]
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x348]
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 0x344]
push edx
call dword [sym.imp.kernel32.dll_GlobalLock]
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x340], eax
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x264]
mov ecx, dword [edx + 0x2a4]
imul ecx, dword [eax + 0x2a8]
mov edx, dword [ebp - 0x264]
imul ecx, dword [edx + 0x270]
mov eax, dword [ebp - 0x264]
mov edx, dword [ebp - 0x264]
mov eax, dword [eax + 0x2a4]
imul eax, dword [edx + 0x2a8]
imul eax, eax, 0x21
add ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 0x248]
mov dword [ecx + 0x254], edx
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x264]
mov edx, dword [eax + 0x2a4]
imul edx, dword [ecx + 0x2a8]
mov eax, dword [ebp - 0x264]
imul edx, dword [eax + 0x270]
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ecx + 0x2a4]
imul ecx, dword [eax + 0x2a8]
imul ecx, ecx, 0x21
add ecx, edx
xor eax, eax
mov edx, dword [ebp - 0x264]
mov edi, dword [edx + 0x254]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x270]
add ecx, 0x21
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x24c], eax
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x24c]
mov dword [edx + 0x258], eax
mov ecx, dword [ebp - 0x264]
mov ecx, dword [ecx + 0x270]
add ecx, 0x21
xor eax, eax
mov edx, dword [ebp - 0x264]
mov edi, dword [edx + 0x258]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 0x288]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.gdi32.dll_SelectObject]
push 0xcc0020
push 0
push 0
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x264]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 0x18]
push edx
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.gdi32.dll_BitBlt]
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.gdi32.dll_DeleteDC]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x290]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.gdi32.dll_SelectObject]
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x254]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x230], 0
jmp 0x10007c6b
mov edx, dword [ebp - 0x230]
add edx, 1
mov dword [ebp - 0x230], edx
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x230]
cmp ecx, dword [eax + 0x2a8]
jge 0x10007d30
mov dword [ebp - 0x23c], 0
jmp 0x10007c9e
mov edx, dword [ebp - 0x23c]
add edx, 1
mov dword [ebp - 0x23c], edx
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x23c]
cmp ecx, dword [eax + 0x2a4]
jge 0x10007d2b
push 0xcc0020
mov edx, dword [ebp - 0x230]
imul edx, edx, 0x30
push edx
mov eax, dword [ebp - 0x23c]
imul eax, eax, 0x30
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0x30
push 0x30
push 0
push 0
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.gdi32.dll_BitBlt]
push 0
mov eax, dword [ebp - 0x264]
add eax, 0x25c
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0x30
push 0
mov edx, dword [ebp - 0x264]
mov eax, dword [edx + 0x290]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.gdi32.dll_GetDIBits]
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x270]
mov dword [ebp - 0x14], eax
jmp 0x10007c8f
jmp 0x10007c5c
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.gdi32.dll_DeleteDC]
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.gdi32.dll_DeleteDC]
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.user32.dll_SetThreadDesktop]
mov dword [ebp - 0x238], 4
mov word [ebp - 0x22c], 0
xor ecx, ecx
mov dword [ebp - 0x22a], ecx
mov edx, dword [ebp - 0x264]
mov ax, word [edx + 0x18]
mov word [ebp - 0x22c], ax
mov ecx, dword [ebp - 0x264]
mov dx, word [ecx + 0x1c]
mov word [ebp - 0x22a], dx
mov word [ebp - 0x228], 0x30
push 0
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x264]
add ecx, 8
push ecx
push 6
lea edx, [ebp - 0x22c]
push edx
mov ecx, dword [ebp - 0x264]
add ecx, 0x134
call fcn.10004e10
test eax, eax
jne 0x10007dd2
xor eax, eax
jmp 0x10008225
mov eax, dword [ebp - 0x264]
xor ecx, ecx
mov cx, word [eax + 8]
cmp ecx, 1
jne 0x10007e0c
mov edx, dword [ebp - 0x264]
mov dword [edx + 0x2b8], 0x1e
push 0x10014310
mov eax, dword [ebp - 0x264]
add eax, 0x2ec
push eax
call dword [sym.imp.kernel32.dll_lstrcpyW]
jmp 0x10007e5e
mov ecx, dword [ebp - 0x264]
xor edx, edx
mov dx, word [ecx + 8]
cmp edx, 2
jne 0x10007e36
push 0x100142fc
mov eax, dword [ebp - 0x264]
add eax, 0x2ec
push eax
call dword [sym.imp.kernel32.dll_lstrcpyW]
jmp 0x10007e5e
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x2b8], 0x64
push 0x10014310
mov edx, dword [ebp - 0x264]
add edx, 0x2ec
push edx
call dword [sym.imp.kernel32.dll_lstrcpyW]
mov eax, dword [ebp - 0x264]
add eax, 0x2bc
push eax
mov ecx, dword [ebp - 0x264]
add ecx, 0x2ec
push ecx
call fcn.1000a310
add esp, 8
mov edx, dword [ebp - 0x264]
mov dword [edx + 0x2cc], 1
mov eax, dword [ebp - 0x264]
add eax, 0x2d0
mov ecx, dword [0x100123cc]
mov dword [eax], ecx
mov edx, dword [0x100123d0]
mov dword [eax + 4], edx
mov ecx, dword [0x100123d4]
mov dword [eax + 8], ecx
mov edx, dword [0x100123d8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x264]
mov dword [eax + 0x2e4], 4
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x2e0], 1
mov edx, dword [ebp - 0x264]
add edx, 0x2b8
mov eax, dword [ebp - 0x264]
mov dword [eax + 0x2e8], edx
mov byte [ebp - 0x218], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x217]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x218]
push ecx
push 0x40000000
mov ecx, dword [ebp - 0x264]
add ecx, 0x134
call fcn.100049a0
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.kernel32.dll_lstrlen]
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x264]
add ecx, 0x134
call fcn.10004240
test eax, eax
jne 0x10007f5c
xor eax, eax
jmp 0x10008225
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x330], 0
mov dword [ecx + 0x334], 0
mov edx, dword [ebp - 0x264]
mov dword [edx + 0x338], 0
mov dword [edx + 0x33c], 0
mov eax, dword [ebp - 0x264]
add eax, 0x330
push eax
push 0
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 0x33c]
push edx
mov eax, dword [ecx + 0x338]
push eax
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 0x348]
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x348]
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
push 0
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 0x288]
push edx
call fcn.10008710
add esp, 8
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x348]
mov dword [ebp - 0x260], ecx
mov edx, dword [ebp - 0x264]
add edx, 0x2cc
push edx
mov eax, dword [ebp - 0x264]
add eax, 0x2bc
push eax
mov ecx, dword [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 4]
push eax
call fcn.1001154c
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0
je 0x1000805a
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x258]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x25c], eax
jmp 0x10008066
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x254], edx
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
je 0x100080a1
push 1
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x250]
call dword [edx]
mov dword [ebp - 0x268], eax
jmp 0x100080ab
mov dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x264]
mov dword [eax + 0x330], 0
mov dword [eax + 0x334], 0
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x338], 0
mov dword [ecx + 0x33c], 0
mov edx, dword [ebp - 0x264]
add edx, 0x330
push edx
push 1
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x33c]
push ecx
mov edx, dword [eax + 0x338]
push edx
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x348]
mov edx, dword [ebp - 0x264]
mov eax, dword [edx + 0x348]
mov edx, dword [eax]
push ecx
call dword [edx + 0x14]
push 4
mov eax, dword [ebp - 0x264]
add eax, 0x330
push eax
mov ecx, dword [ebp - 0x264]
add ecx, 0x134
call fcn.10004240
test eax, eax
je 0x10008172
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 0x330]
push edx
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x340]
push ecx
mov ecx, dword [ebp - 0x264]
add ecx, 0x134
call fcn.10004240
test eax, eax
jne 0x10008179
xor eax, eax
jmp 0x10008225
mov dword [ebp - 0xc], 0
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x264]
push eax
push 0
push 0x10008230
call dword [sym.imp.msvcrt.dll__beginthread]
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x264]
push ecx
push 0
push 0x10007090
call dword [sym.imp.msvcrt.dll__beginthread]
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x264]
push edx
push 0
push 0x10006f50
call dword [sym.imp.msvcrt.dll__beginthread]
add esp, 0xc
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0xc]
push eax
push 3
call dword [sym.imp.kernel32.dll_WaitForMultipleObjects]
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x2b4], 1
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
mov ecx, dword [ebp - 0x264]
add ecx, 0x134
call fcn.10004dc0
mov ecx, dword [ebp - 0x264]
add ecx, 0x20
call fcn.10004dc0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4