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

Disassembly:
push 0x84
mov eax, 0x43beb2
call fcn.00416880
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [0x452abc], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [0x452ac0], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jne 0x412de2
push 0x452ac4
push 0x43d3b0
push 1
push ebx
push 0x43d3c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x412de2
mov edx, esi
lea ecx, [ebp - 0x13]
call fcn.00402e60
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.00402e84
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x90]
mov ecx, dword [0x452b10]
lea ecx, [ecx + 0xf4]
call fcn.00409475
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
mov ebx, eax
call fcn.00402ce9
cmp ebx, 0xffffffff
je 0x412de2
jmp 0x412d7f
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x412c7f
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], 0x44a530
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [esi + 4], eax
jmp 0x412c81
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.00411b81
pop ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
test esi, esi
je 0x412cab
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x44]
call fcn.004072f2
cmp byte [ebp - 0x30], 0
je 0x412dc5
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 0x412db7
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 0x412db7
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 0x412db7
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 0x412db7
mov eax, dword [ebp - 0x4c]
push esi
mov dword [0x452abc], 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 0x412db7
mov eax, dword [ebp - 0x2c]
push 0x64
mov dword [0x452ac0], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebp - 0x30], 0
je 0x412d73
lea ecx, [ebp - 0x44]
call fcn.00402c05
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402c05
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.00412022
mov al, byte [ebp - 0x70]
pop ecx
test al, al
jne 0x412c45
jmp 0x412dd1
cmp byte [ebp - 0x30], 0
je 0x412dc5
lea ecx, [ebp - 0x44]
call fcn.00402c05
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402c05
mov eax, dword [0x452ac4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.0041682f
ret 0xc