Function at 0x41824c
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x10
call fcn.0041f10e
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
add ebx, 0xc
push ebx
push 0x10
call fcn.0041f10e
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x431114
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov word [ebx], 2
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esp
push dword [ebp + 0x18]
call dword [sym.imp.WSOCK32.dll_htons]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4182f6
push 0x4a
push 0x4088ecd
push 6
call fcn.0041f11a
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov word [ebx], ax
push 0x4302a2
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call fcn.004029e9
add esp, 8
cmp eax, 0
jne 0x41832e
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0xffffffff
jmp 0x41836a
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esp
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call dword [sym.imp.WSOCK32.dll_inet_addr]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x418365
push 0xe7
push 0x4088ecd
push 6
call fcn.0041f11a
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
push htons
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x41837f
mov eax, 0x430366
push eax
push 1
mov ebx, 0x194
call fcn.00420d40
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esp
push 0x10
mov eax, dword [ebp - 4]
push eax
push 0x10
call fcn.0041f10e
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp + 0x1c]
push dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x418400
add eax, 8
push eax
push dword [ebp + 8]
call dword [sym.imp.WSOCK32.dll_sendto]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x41842a
push 0x164
push 0x4088ecd
push 6
call fcn.0041f11a
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.0041fe60
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x418481
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x41847f
imul eax, dword [edi]
jmp 0x418474
mov ecx, eax
cmp ecx, 8
jle 0x41848b
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.0041f114
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 8], eax
mov eax, 0
sete al
jmp 0x4184b6
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041f114
add esp, 4
pop ebx
call fcn.0041f114
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c