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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6414f8
push eax
mov eax, 0x2028
mov dword fs:[0], esp
call fcn.00612380
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x24], ebx
je 0x410c60
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ecx, dword [ebp + 8]
push ecx
push ebx
lea edx, [ebp - 0x28]
push edx
mov eax, edx
push eax
push ebx
push 0x20009141
mov ecx, esi
call fcn.004104b0
neg eax
sbb eax, eax
and eax, 0x1fffffff
pop esi
add eax, 0xe0000001
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], cx
mov dword [ebp - 4], ebx
mov ecx, esi
call fcn.00404180
test eax, eax
jne 0x410cab
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], edi
pop edi
xor edx, edx
pop esi
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], dx
mov eax, 0xe0000001
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x2d10], bl
je 0x410cba
mov ecx, esi
call fcn.00407d60
push 0x1000
lea eax, [ebp - 0x1034]
push ebx
push eax
call fcn.006100a0
push 0x1000
lea ecx, [ebp - 0x2034]
push ebx
push ecx
call fcn.006100a0
mov eax, dword [esi + 0x48]
add esp, 0x18
push ebx
push 0xa
lea edx, [ebp - 0x18]
push edx
push eax
mov dword [ebp - 0x12], ebx
mov word [ebp - 0x18], 0x124
mov dword [ebp - 0x16], 0x20009204
call dword [sym.imp.WS2_32.dll_send]
or edi, 0xffffffff
cmp eax, edi
jne 0x410d31
mov dword [ebp - 4], edi
mov eax, edi
pop edi
xor ecx, ecx
pop esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], cx
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x48]
push ebx
push 0x1000
lea edx, [ebp - 0x1034]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, edi
jne 0x410d6c
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x34]
call fcn.00405700
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x1034]
mov ecx, dword [ebp - 0x1030]
mov dx, word [ebp - 0x102c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x10], dx
cmp al, 0x24
jne 0x410d99
cmp dword [ebp - 0x1032], 0x20009204
je 0x410dbc
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x34]
call fcn.00405700
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x102e]
push ebx
lea eax, [ebp - 0x102a]
push eax
lea ecx, [ebp - 0x2034]
push ecx
call fcn.00610e50
mov edx, dword [ebp + 8]
add esp, 0xc
push edx
push ebx
lea eax, [ebp - 0x2034]
push eax
mov ecx, esi
call fcn.00403780
test eax, eax
jne 0x410e13
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x34]
call fcn.00405700
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x34]
call fcn.00405700
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4