Function at 0x412a50
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, 0x4118
call fcn.0044eaf0
mov eax, dword [0x47e820]
xor eax, esp
mov dword [esp + 0x4110], eax
mov eax, dword [esp + 0x4120]
push ebp
mov ebp, dword [esp + 0x4120]
push esi
push edi
mov dword [esp + 0x18], eax
xor eax, eax
push 0x884
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
call fcn.0044c710
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov edi, ebp
call fcn.00412e70
mov edx, dword [esp + 0x8a0]
push edx
lea esi, [esp + 0x24]
mov edi, ebx
call fcn.00412470
test eax, eax
je 0x412c90
lea esp, [esp]
push 0x2800
lea eax, [esp + 0x191c]
push 0
push eax
call fcn.0044c710
mov edi, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push edi
push ebx
lea esi, [esp + 0x1924]
lea eax, [esp + 0xac]
call fcn.004132a0
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x412b10
sub eax, edx
push 0
push eax
mov eax, dword [ebx]
lea edx, [esp + 0x1920]
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x412c90
push 0xc6c
lea ecx, [esp + 0x8ac]
push 0
push ecx
call fcn.0044c710
add esp, 0xc
push 0x400
lea edx, [esp + 0x151c]
push 0
push edx
call fcn.0044c710
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x8ac]
push ecx
lea ecx, [esp + 0x1520]
mov edx, ebx
call fcn.00412500
push 0x1400
lea esi, [ebx + 4]
push 0
push esi
call fcn.0044c710
lea eax, [esp + 0x111c]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x412ba0
sub eax, edx
cmp eax, 8
jbe 0x412be0
lea eax, [esp + 0x1110]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x412bc0
sub eax, edx
add eax, 0xfffffff8
push eax
lea edx, [esp + 0x1114]
push edx
push esi
call fcn.00449150
add esp, 0xc
lea eax, [esp + 0xd10]
push 0x46ee7c
push eax
call fcn.0045cb75
add esp, 8
test eax, eax
je 0x412c97
cmp dword [esp + 0x1510], 0xc8
je 0x412cb4
mov edx, edi
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x412c14
lea eax, [esp + 0xd10]
mov edx, ebp
mov ecx, eax
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x412c30
mov esi, dword [esp + 0xc]
mov edx, dword [ebx]
add esi, 1
push edx
mov dword [esp + 0x10], esi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp esi, 0xa
je 0x412c97
push 0x884
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0044c710
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov edi, ebp
call fcn.00412e70
mov edx, dword [esp + 0x8a0]
push edx
lea esi, [esp + 0x24]
mov edi, ebx
call fcn.00412470
test eax, eax
jne 0x412ad0
mov eax, 0x65
jmp 0x412cde
cmp dword [esp + 0x1510], 0xc8
je 0x412cb4
mov eax, dword [ebx]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0x65
jmp 0x412cde
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
lea edx, [esp + 0x1520]
call fcn.00412da0
mov edx, dword [esp + 0x14]
mov dword [edx], eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0x64
mov ecx, dword [esp + 0x411c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00448c81
add esp, 0x4118
ret 8