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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caae8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4fa078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov eax, dword fs:[0x2c]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x48], edi
mov edx, dword [eax]
mov eax, dword [0x5098c8]
cmp eax, dword [edx + 4]
jle 0x43fdd7
push 0x5098c8
call fcn.0044b9a8
add esp, 4
cmp dword [0x5098c8], 0xffffffff
jne 0x43fdd7
push 0x4cf340
mov dword [0x5098bc], 0
mov dword [0x5098c0], 0
mov dword [0x5098c4], 0
call fcn.0044bf2f
push 0x5098c8
call fcn.0044b95e
add esp, 8
mov esi, dword [0x5098bc]
mov ecx, dword [0x5098c0]
cmp esi, ecx
jne 0x43fdf8
call fcn.0043eec0
mov ecx, dword [0x5098c0]
mov esi, dword [0x5098bc]
xor edx, edx
sub ecx, esi
mov dword [ebp - 0x44], edx
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x43fe5d
xor edi, edi
cmp dword [edi + esi + 0x14], 0x10
lea eax, [edi + esi]
jb 0x43fe20
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp dword [ebx + 4], eax
je 0x43ff6e
mov ecx, dword [0x5098c0]
mov eax, 0x38e38e39
mov esi, dword [0x5098bc]
add edi, 0x48
inc dword [ebp - 0x44]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x44], eax
jb 0x43fe14
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x43ff6e
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
push ecx
push dword [ebp + 0x10]
push ebx
push edi
call eax
add esp, 0x10
cmp dword [ebp - 0x30], 0
je 0x43ff3e
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov edx, 0x53503252
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0043f350
mov esi, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x4c]
add esp, 4
cmp dword [ebp - 0x14], 0x10
cmovae edi, dword [ebp - 0x28]
mov eax, dword [eax]
push 0x10
push ebx
push 0
push esi
push edi
push eax
mov dword [ebp - 0x48], eax
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jle 0x43fefc
cmp eax, esi
jae 0x43fefc
push 0x10
push ebx
push 0
sub esi, eax
add edi, eax
push esi
push edi
push dword [ebp - 0x48]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jg 0x43fee0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43ff2c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43ff22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff8c
push edx
push ecx
call fcn.0044bf44
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x43ff6e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43ff64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff91
push edx
push ecx
call fcn.0044bf44
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044b7d5
mov esp, ebp
pop ebp
ret 0xc
call fcn.004aba6c
call fcn.004aba6c
int3