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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x500144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x3e8
lea eax, [ebp - 0x3f0]
push edi
xor esi, esi
mov ebx, ecx
push esi
push eax
mov dword [ebp - 0x404], ebx
call sub.msvcrt.dll_memset
mov ecx, dword [ebx]
add esp, 0xc
call fcn.00473658
test eax, eax
jne 0x4701e9
inc eax
jmp 0x470595
push 2
push edi
lea eax, [ebp - 0x3f0]
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_recv]
mov edx, eax
test edx, edx
jne 0x470244
mov eax, dword [section..data]
cmp eax, section..data
je 0x47023a
test dword [eax + 0x1c], 0x800
je 0x47023a
cmp byte [eax + 0x19], 2
jb 0x47023a
call fcn.0042386b
push eax
mov eax, dword [section..data]
mov edx, 0x4103a0
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1b
pop ecx
call fcn.004238e7
mov eax, 0x80004004
jmp 0x470595
cmp edx, 0xffffffff
jne 0x470297
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x47028d
test dword [ecx + 0x1c], 0x800
je 0x47028d
cmp byte [ecx + 0x19], 2
jb 0x47028d
call fcn.0042386b
push esi
push eax
mov eax, dword [section..data]
mov edx, 0x4103a0
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1c
pop ecx
call fcn.00421fda
call fcn.0048b320
jmp 0x470595
cmp edx, 0x10
jb 0x4703d3
cmp dword [ebp - 0x3e8], 0x6c727243
jne 0x4703d3
mov eax, dword [ebp - 0x3e4]
cmp edx, eax
jb 0x4703d3
cmp eax, 0x30
jb 0x470390
cmp eax, edi
ja 0x470390
push esi
push eax
lea eax, [ebp - 0x3f0]
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, dword [ebp - 0x3e4]
je 0x470327
mov eax, dword [section..data]
cmp eax, section..data
je 0x4703c9
test dword [eax + 0x1c], 0x800
je 0x4703c9
cmp byte [eax + 0x19], 4
jb 0x4703c9
call fcn.0042386b
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1e
jmp 0x4703be
lea eax, [ebx + 8]
mov edi, eax
mov dword [ebp - 0x40c], eax
lea esi, [ebp - 0x3e0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x18]
lea esi, [ebp - 0x3d0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [section..data]
cmp eax, section..data
je 0x470402
test dword [eax + 0x1c], 0x800
je 0x470402
cmp byte [eax + 0x19], 4
jb 0x470402
call fcn.0042386b
push eax
mov eax, dword [section..data]
mov edx, 0x4103a0
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1f
pop ecx
call fcn.004238e7
jmp 0x470402
mov eax, dword [section..data]
cmp eax, section..data
je 0x4703c9
test dword [eax + 0x1c], 0x800
je 0x4703c9
cmp byte [eax + 0x19], 4
jb 0x4703c9
call fcn.0042386b
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1d
mov edx, 0x4103a0
pop ecx
call fcn.004238e7
mov eax, 0x80004005
jmp 0x470595
cmp byte [ebp - 0x3f0], 3
jne 0x47055a
lea ecx, [ebx + 8]
push ecx
lea eax, [ebx + 0x18]
mov dword [ebp - 0x40c], ecx
push eax
push ecx
lea ecx, [ebp - 0x3f0]
call fcn.00479735
test eax, eax
js 0x47055a
lea esi, [ebx + 8]
lea edi, [ebp - 0x400]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x400]
push eax
push 2
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_EventActivityIdControl]
mov eax, dword [section..data]
cmp eax, section..data
je 0x470593
test dword [eax + 0x1c], 0x800
je 0x470507
cmp byte [eax + 0x19], 4
jb 0x470507
movzx eax, byte [ebx + 0x17]
mov dword [ebp - 0x410], eax
movzx eax, byte [ebx + 0x16]
mov dword [ebp - 0x414], eax
movzx eax, byte [ebx + 0x15]
mov dword [ebp - 0x418], eax
movzx eax, byte [ebx + 0x14]
mov dword [ebp - 0x41c], eax
movzx eax, byte [ebx + 0x13]
mov dword [ebp - 0x420], eax
movzx eax, byte [ebx + 0x12]
mov dword [ebp - 0x424], eax
movzx eax, byte [ebx + 0x11]
mov dword [ebp - 0x428], eax
movzx eax, byte [ebx + 0x10]
movzx ebx, word [ebx + 0xe]
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x404]
movzx edi, word [eax + 0xc]
mov eax, dword [ebp - 0x40c]
mov esi, dword [eax]
call fcn.0042386b
push dword [ebp - 0x410]
mov edx, 0x4103a0
push dword [ebp - 0x414]
push dword [ebp - 0x418]
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push dword [ebp - 0x408]
push ebx
push edi
push esi
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x20
pop ecx
call fcn.0046ef3a
mov eax, dword [section..data]
mov ebx, dword [ebp - 0x404]
cmp eax, section..data
je 0x470593
test dword [eax + 0x1c], 0x800
je 0x470593
cmp byte [eax + 0x19], 4
jb 0x470593
mov eax, dword [ebp - 0x404]
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x20]
mov ebx, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x408], eax
call fcn.0042386b
push esi
push edi
push ebx
push dword [ebp - 0x408]
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0046fbc4
jmp 0x470593
mov eax, dword [section..data]
cmp eax, section..data
je 0x470593
test dword [eax + 0x1c], 0x800
je 0x470593
cmp byte [eax + 0x19], 4
jb 0x470593
call fcn.0042386b
push eax
mov eax, dword [section..data]
mov edx, 0x4103a0
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x22
pop ecx
call fcn.004238e7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fb5e0
leave
ret