Function at 0x4044c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f2c0
push 0x4207d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x828
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0x824], esi
mov byte [ebp - 0x820], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x81f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ebx, dword [ebp + 0x10]
cmp ebx, esi
je 0x40451c
push ebx
call fcn.0042051d
add esp, 4
mov esi, eax
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x404532
push edi
call fcn.0042051d
add esp, 4
mov dword [ebp - 0x824], eax
mov dword [ebp - 4], 0
push ebx
push edi
mov eax, dword [ebp + 8]
push eax
push str.do_monitor_app_start:__s___s___s
call fcn.00402370
add esp, 0x10
push esi
push 0
push 0x100410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x404577
push esi
push ebx
push str.OpenProcess:__s__d__failed
call fcn.00402370
add esp, 0xc
jmp 0x4046cc
push 0x3ccf
push 0x434ea4
call fcn.00401710
mov dword [0x43a6e0], eax
test eax, eax
jg 0x4045b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x3ccf
push str.127.0.0.1
push str.connect_to:__s:__d_failed:__d
call fcn.00402370
add esp, 0x10
jmp 0x4046cc
lea ecx, [ebp - 0x820]
mov dword [ebp - 0x20], ecx
mov ebx, 0x800
mov dword [ebp - 0x834], ebx
mov dword [0x43a6d4], 1
call fcn.00404b00
mov eax, dword [0x43a6d8]
test eax, eax
jne 0x404676
mov esi, 0x800
sub esi, ebx
cmp esi, 8
jb 0x40463b
mov edx, dword [0x43a6e0]
push edx
push esi
lea eax, [ebp - 0x820]
push eax
call fcn.004049c0
mov dword [ebp - 0x830], eax
test eax, eax
jle 0x40463b
mov ecx, esi
sub ecx, eax
lea esi, [ebp + eax - 0x820]
lea edi, [ebp - 0x820]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
sub dword [ebp - 0x20], eax
add ebx, eax
mov dword [ebp - 0x834], ebx
mov edi, dword [ebp - 0x1c]
jmp 0x4045d5
push 0
push ebx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [0x43a6e0]
push ecx
call sub.WS2_32.dll_recv
mov dword [ebp - 0x830], eax
test eax, eax
jg 0x40473a
jne 0x4046e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x434edc
call fcn.00402370
add esp, 8
call fcn.00406c70
mov edx, dword [0x43a6e0]
push edx
call sub.WS2_32.dll_closesocket
mov dword [0x43a6e0], 0
mov eax, dword [0x43a6d4]
test eax, eax
mov eax, 0x434f1c
jne 0x4046a4
mov eax, 0x434f20
push eax
push str.need_restore___s
call fcn.00402370
add esp, 8
mov eax, dword [0x43a6d4]
test eax, eax
je 0x4046cc
mov eax, dword [ebp - 0x824]
push eax
push 0x43a1c4
call fcn.00404790
test edi, edi
je 0x404769
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
jmp 0x404769
test eax, eax
jge 0x404714
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov dword [ebp - 0x828], eax
cmp eax, 0x2733
je 0x404714
cmp eax, 0x2714
je 0x404714
call esi
push eax
push str.session_broken:__d
jmp 0x40466e
push 0xa
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4045d5
push str.app.exe_exit_already
call fcn.00402370
add esp, 4
jmp 0x404676
add dword [ebp - 0x20], eax
sub ebx, eax
mov dword [ebp - 0x834], ebx
jmp 0x4045d5
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc