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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487249
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4b31cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x4b49d0
call fcn.00415a90
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add eax, esi
mov dword [ebp - 0x14], eax
cmp esi, eax
jae 0x43a080
mov edx, dword [0x4b4df0]
jmp 0x439e80
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 0x439ea6
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x30], 0
cmp edx, 1
je 0x43a037
cmp edx, 2
je 0x43a037
cmp edx, 4
je 0x43a037
cmp edx, 3
jne 0x43a075
mov eax, dword [0x4b4e30]
test al, 1
jne 0x439f26
or eax, 1
mov dword [0x4b4e30], eax
push 0x588
mov dword [ebp - 4], 0
call fcn.0046d6f6
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x439f16
mov ecx, eax
call fcn.00414e10
mov dword [0x4b4e2c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x439f2b
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4b4e2c], eax
jmp 0x439f2b
mov eax, dword [0x4b4e2c]
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push 0x4b4ab0
push esi
push eax
call fcn.00439c00
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 [0x4b3108]
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 0x43a092
mov edx, dword [ebp + 8]
test edx, edx
je 0x43a02f
mov ecx, dword [0x4b4e2c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ecx + 0x514]
push eax
lea eax, [ecx + 0x4b0]
mov ecx, edx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004412f0
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp + 0xc], eax
call fcn.0046d699
mov edi, dword [0x4b4e2c]
add esp, 4
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], edx
lea edx, [edi + 0x514]
mov dword [ebp - 0x10], eax
push edx
lea edx, [edi + 0x4b0]
mov dword [ebp - 0x2c], eax
push edx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
push eax
call fcn.004412f0
push 0
push 4
lea eax, [ebp + 0xc]
push eax
push dword [0x4b3108]
call dword [sym.imp.WS2_32.dll_send]
mov edi, dword [ebp - 0x10]
push 0
push dword [ebp + 0xc]
push edi
push dword [0x4b3108]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, dword [ebp - 0x28]
jne 0x43a092
push edi
call fcn.0046e86a
add esp, 4
mov edx, dword [0x4b4df0]
jmp 0x43a075
push esi
mov ecx, 0x4b49d0
call fcn.00415660
mov edx, dword [0x4b4df0]
cmp edx, 2
jne 0x43a075
cmp word [esi + 8], 1
jne 0x43a075
movzx eax, word [esi + 0xc]
test ax, ax
je 0x43a062
cmp eax, 1
jne 0x43a075
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 0x439e80
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 0x49ab48
call fcn.004636b0
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]