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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e6df
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x57ec74]
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 eax, ecx
mov dword [ebp - 0x34], eax
cmp dword [eax + 0x5c], 0
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
je 0x43fa09
mov esi, 0x14
test edi, edi
je 0x43f79e
mov ecx, dword [edi + 4]
mov eax, 0x66666667
sub ecx, dword [edi]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea esi, [eax*4 + 0x14]
push 0x14
call fcn.004cbc8f
mov ebx, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
add esi, dword [ebp - 0x2c]
mov dword [ebx + 4], esi
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
lea eax, [esi + 4]
push eax
call fcn.004cbccd
mov edx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], edx
add esp, 8
mov eax, dword [ebx + 8]
lea ecx, [eax + 4]
cmp ecx, dword [ebx + 4]
jle 0x43f7f2
mov dword [ebx + 0x10], 1
mov ecx, eax
jmp 0x43f80c
mov dword [eax + edx], 0xdeadbeef
mov eax, dword [ebx + 8]
add eax, 4
mov ecx, eax
mov dword [ebx + 8], eax
cmp dword [ebx + 0xc], eax
jge 0x43f80c
mov dword [ebx + 0xc], eax
add eax, 4
cmp eax, dword [ebx + 4]
jle 0x43f81d
mov dword [ebx + 0x10], 1
jmp 0x43f833
mov eax, dword [ebx]
mov dword [eax + ecx], esi
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x43f833
mov dword [ebx + 0xc], ecx
lea eax, [ecx + 4]
cmp eax, dword [ebx + 4]
jle 0x43f844
mov dword [ebx + 0x10], 1
jmp 0x43f85e
mov eax, dword [ebx]
mov dword [eax + ecx], 2
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x43f85e
mov dword [ebx + 0xc], ecx
test edi, edi
je 0x43f925
mov edx, dword [edi + 4]
mov eax, 0x66666667
sub edx, dword [edi]
imul edx
lea eax, [ecx + 4]
sar edx, 1
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp eax, dword [ebx + 4]
jle 0x43f88c
mov dword [ebx + 0x10], 1
jmp 0x43f8a2
mov eax, dword [ebx]
mov dword [eax + ecx], esi
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x43f8a2
mov dword [ebx + 0xc], ecx
mov esi, dword [edi]
xor edx, edx
mov dword [ebp - 0x28], edx
mov eax, 0x66666667
mov edx, dword [edi + 4]
sub edx, esi
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x43f950
xor eax, eax
mov dword [ebp - 0x24], eax
nop dword [eax + eax]
mov edx, dword [eax + esi]
lea eax, [ecx + 4]
cmp eax, dword [ebx + 4]
jle 0x43f8e7
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x10], 1
jmp 0x43f8fd
mov eax, dword [ebx]
mov dword [eax + ecx], edx
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x43f8fd
mov dword [ebx + 0xc], ecx
mov edx, dword [edi + 4]
mov eax, 0x66666667
mov esi, dword [edi]
sub edx, esi
inc dword [ebp - 0x28]
add dword [ebp - 0x24], 5
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
jl 0x43f8d0
jmp 0x43f950
lea eax, [ecx + 4]
cmp eax, dword [ebx + 4]
jle 0x43f936
mov dword [ebx + 0x10], 1
jmp 0x43f950
mov eax, dword [ebx]
mov dword [eax + ecx], 0
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x43f950
mov dword [ebx + 0xc], ecx
mov esi, dword [ebp - 0x2c]
lea eax, [ecx + 4]
cmp eax, dword [ebx + 4]
jle 0x43f964
mov dword [ebx + 0x10], 1
jmp 0x43f97a
mov eax, dword [ebx]
mov dword [eax + ecx], esi
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x43f97a
mov dword [ebx + 0xc], ecx
lea eax, [esi + ecx]
cmp eax, dword [ebx + 4]
jle 0x43f98b
mov dword [ebx + 0x10], 1
jmp 0x43f9aa
mov eax, dword [ebx]
push esi
push dword [ebp - 0x30]
add eax, ecx
push eax
call fcn.004ea7c0
add dword [ebx + 8], esi
add esp, 0xc
mov eax, dword [ebx + 8]
cmp dword [ebx + 0xc], eax
jge 0x43f9aa
mov dword [ebx + 0xc], eax
test byte [ebp + 0x10], 1
je 0x43fa27
mov eax, dword [0x5955e0]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x43f9f5
mov ecx, dword [ebp - 0x34]
mov eax, 2
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx]
mov word [ebp - 0x20], ax
mov eax, dword [ecx + 0x28]
push dword [ecx + 0x24]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x30]
push 0
push esi
push edi
push dword [eax]
call dword [sym.imp.WS2_32.dll_sendto]
push 1
push dword [ebx]
call fcn.004cbcbf
push 0x14
push ebx
call fcn.004cbcbf
add esp, 0x10
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.004cb96a
mov esp, ebp
pop ebp
ret 0x10
push dword [ebx + 0xc]
mov esi, dword [ebp - 0x34]
push dword [ebx]
mov ecx, dword [esi + 0x5c]
call fcn.00446b60
test al, al
jne 0x43f9f5
lea ecx, [esi + 0x60]
call fcn.004401d0
cmp al, 1
je 0x43f9f5
push ebx
lea ecx, [esi + 0x60]
call fcn.00440040
jmp 0x43fa09