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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x642310
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x700724
mov dword [ebp - 0x14], esi
call edx
add eax, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 1
mov edx, dword [0x700724]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 6
mov ebx, 7
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], edi
mov word [ebp - 0x50], cx
mov byte [ebp - 4], bl
mov ecx, esi
mov dword [ebp - 0x1e], edi
mov word [ebp - 0x24], 0x124
mov dword [ebp - 0x22], 0x20009229
call fcn.00404180
test eax, eax
jne 0x41284a
mov byte [ebp - 4], 6
xor edx, edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], edi
mov word [ebp - 0x50], dx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405350
pop edi
pop esi
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], 0
je 0x41285a
mov ecx, esi
call fcn.00407d60
mov ecx, dword [esi + 0x48]
push edi
push 0xa
lea eax, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x4128a6
mov byte [ebp - 4], 6
xor edx, edx
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], edi
mov word [ebp - 0x50], dx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x34]
call fcn.00405350
pop edi
pop esi
xor eax, eax
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 edi
push 0x100
push 0x7111d8
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
jne 0x4128f3
mov byte [ebp - 4], 6
xor ecx, ecx
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], edi
mov word [ebp - 0x50], cx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x34]
call fcn.00405350
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x7111d8]
mov edx, dword [0x7111dc]
mov cx, word [0x7111e0]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov word [ebp - 0x1c], cx
cmp al, 0x24
jne 0x41295a
cmp dword [0x7111da], 0x20009303
je 0x412986
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x22]
push ecx
lea edx, [ebp + 8]
push str.Bad_data_type._Received_type:__04Xh
push edx
call fcn.00405ab0
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp + 8]
call fcn.004014a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.00405700
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x34]
call fcn.00405350
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
cmp dword [0x7111de], 4
jne 0x41295a
mov ecx, dword [esi + 0x48]
mov ebx, dword [0x7111e2]
push edi
push 0xa
lea eax, [ebp - 0x24]
push eax
push ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1e], edi
mov word [ebp - 0x24], 0x24
mov dword [ebp - 0x22], 0x55aa0000
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x4129ee
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.00405700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405350
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x10], edi
cmp ebx, edi
ja 0x412a2d
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.00405700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405350
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x14]
xor edi, edi
mov edx, dword [esi + 0x48]
push edi
push 0x400
push 0x7111d8
push edx
call dword [sym.imp.WS2_32.dll_recv]
or esi, 0xffffffff
cmp eax, esi
je 0x412b74
mov eax, dword [0x7111d8]
mov ecx, dword [0x7111dc]
mov dx, word [0x7111e0]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov word [ebp - 0x1c], dx
cmp al, 0x24
jne 0x412b39
cmp dword [0x7111da], 0x20009229
jne 0x412ba0
cmp dword [0x7111de], edi
je 0x412bd4
movzx esi, byte [0x7111e2]
push esi
push 0x7111e6
lea ecx, [ebp - 0x34]
call fcn.00401670
movzx edi, byte [esi*2 + 0x7111e6]
push edi
lea eax, [esi*2 + 0x7111ea]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401670
lea eax, [edi + esi]
movzx ebx, byte [eax + eax + 0x7111ea]
add eax, eax
lea ecx, [eax + 0x7111ee]
push ebx
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401670
mov ecx, dword [ebp + 8]
add ebx, edi
add ebx, esi
mov edx, dword [ebx*2 + 0x7111ee]
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x28], edx
call fcn.00411780
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x48]
push 0
push 0xa
lea ecx, [ebp - 0x24]
push ecx
push eax
mov dword [ebp - 0x1e], 0
mov word [ebp - 0x24], 0x24
mov dword [ebp - 0x22], 0x55aa0000
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x4129be
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x18]
jb 0x412a28
jmp 0x4129f5
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
push ecx
push str.Bad_start_symbol._Step__d.
lea edx, [ebp + 8]
push edx
call fcn.00405ab0
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp + 8]
call fcn.004014a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.00405700
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x34]
call fcn.00405350
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
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x22]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
lea edx, [ebp + 8]
push str.Bad_data_type._Step__d._Received_type__04Xh
push edx
call fcn.00405ab0
add esp, 0x10
jmp 0x412b68
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x10]
push eax
push str.Bad_data_length._Step__d.
lea ecx, [ebp + 8]
push ecx
jmp 0x412b60