Function at 0x43ade0
Capabilities:
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489cb9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4bc1dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x4bda10
call fcn.004164d0
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add eax, esi
mov dword [ebp - 0x14], eax
cmp esi, eax
jae 0x43b030
mov edx, dword [0x4bde38]
jmp 0x43ae30
movzx ebx, word [esi + 0x28]
lea eax, [esi + 0x34]
shl ebx, 2
sub ebx, esi
add ebx, eax
add ebx, dword [esi + 0x2c]
cmp word [esi + 8], 1
jne 0x43ae56
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x30], 0
cmp edx, 1
je 0x43afe7
cmp edx, 2
je 0x43afe7
cmp edx, 4
je 0x43afe7
cmp edx, 3
jne 0x43b025
mov eax, dword [0x4bde78]
test al, 1
jne 0x43aed6
or eax, 1
mov dword [0x4bde78], eax
push 0x590
mov dword [ebp - 4], 0
call fcn.0046f006
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x43aec6
mov ecx, eax
call fcn.004156d0
mov dword [0x4bde74], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x43aedb
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4bde74], eax
jmp 0x43aedb
mov eax, dword [0x4bde74]
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push 0x4bdaf0
push esi
push eax
call fcn.0043abb0
movzx ecx, word [esi + 0x28]
add esp, 0x10
mov eax, dword [esi + 0x2c]
push 0
lea eax, [eax + ecx*4]
add eax, 0x34
push eax
push esi
push dword [0x4bc118]
call dword [sym.imp.WS2_32.dll_send]
movzx edx, word [esi + 0x28]
mov ecx, dword [esi + 0x2c]
lea ecx, [ecx + edx*4]
add ecx, 0x34
cmp eax, ecx
jne 0x43b042
mov edx, dword [ebp + 8]
test edx, edx
je 0x43afdf
mov ecx, dword [0x4bde74]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ecx + 0x51c]
push eax
lea eax, [ecx + 0x4b8]
mov ecx, edx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00442290
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp + 0xc], eax
call fcn.0046efa9
mov edi, dword [0x4bde74]
add esp, 4
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], edx
lea edx, [edi + 0x51c]
mov dword [ebp - 0x10], eax
push edx
lea edx, [edi + 0x4b8]
mov dword [ebp - 0x2c], eax
push edx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
push eax
call fcn.00442290
push 0
push 4
lea eax, [ebp + 0xc]
push eax
push dword [0x4bc118]
call dword [sym.imp.WS2_32.dll_send]
mov edi, dword [ebp - 0x10]
push 0
push dword [ebp + 0xc]
push edi
push dword [0x4bc118]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, dword [ebp - 0x28]
jne 0x43b042
push edi
call fcn.0047017a
add esp, 4
mov edx, dword [0x4bde38]
jmp 0x43b025
push esi
mov ecx, 0x4bda10
call fcn.004160e0
mov edx, dword [0x4bde38]
cmp edx, 2
jne 0x43b025
cmp word [esi + 8], 1
jne 0x43b025
movzx eax, word [esi + 0xc]
test ax, ax
je 0x43b012
cmp eax, 1
jne 0x43b025
movzx ecx, word [esi + 0x28]
mov eax, dword [esi + 0x2c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi + 0x34]
add esi, 4
add esi, eax
add esi, ebx
cmp esi, dword [ebp - 0x14]
jb 0x43ae30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4a2bb8
call fcn.00464c10
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]