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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c54d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x62700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
add eax, 0x18
push eax
push 0x80
call fcn.0040fd50
add esp, 8
mov esi, eax
mov edi, dword [ebp + 8]
xor ecx, ecx
xor ebx, ebx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4172bb
mov ecx, dword [edi + 8]
mov ebx, eax
lock inc dword [eax + 8]
mov al, byte [edi + 4]
mov byte [esi + 0x20], al
lea eax, [ebx + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x417640
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp + 8], eax
test ebx, ebx
je 0x41731b
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ebx
lock inc dword [eax]
jmp 0x41731e
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x18]
sub esp, 8
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x30], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x2c], eax
lea edx, [ecx + 0x18]
mov eax, dword [ecx + 4]
mov dword [esi + 0x3c], eax
movq xmm0, qword [ecx + 8]
movq qword [esi + 0x40], xmm0
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x48], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x4c], eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esi + 0x54], ecx
lea ecx, [esi + 0x60]
mov dword [esi + 0x50], eax
mov eax, dword [edx + 8]
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], eax
mov eax, dword [edx + 0xc]
mov dword [edx + 0xc], 0
mov dword [esi + 0x5c], eax
mov dword [edx + 8], 0
call fcn.004168b0
test ebx, ebx
je 0x41739f
mov ecx, dword [ebp + 8]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x41739f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test byte [edi + 4], 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
je 0x4173be
mov byte [ebp + 0x17], 1
test ecx, ecx
je 0x4173c2
mov byte [ebp + 0x17], 0
cmp dword [edi + 0x14], 0
jne 0x4173d3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 0x14], eax
jmp 0x4173e5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 0x14], eax
je 0x4173e5
mov dword [edi + 0x14], 0xffffffff
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 4]
add eax, 0x18
lock inc dword [eax]
cmp byte [ebp + 0x17], 0
push 0
je 0x417406
mov ecx, dword [ebx + 4]
push 0
push esi
call fcn.00410d30
jmp 0x417484
mov ecx, dword [edi]
cmp ecx, 0xffffffff
jne 0x41741d
mov ecx, dword [ebx + 4]
push 0x2719
push esi
call fcn.00410d30
jmp 0x417484
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], 0
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x417454
mov eax, 0x2746
jmp 0x417461
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test edi, edi
je 0x41747b
cmp eax, 0x3e5
je 0x41747b
push dword [ebp + 0x14]
mov ecx, dword [ebx + 4]
push eax
push esi
call fcn.00410d30
jmp 0x417484
mov ecx, dword [ebx + 4]
push esi
call fcn.00410cc0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.00417560
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14