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

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x28]
xor eax, eax
push ebp
push esi
inc eax
mov ecx, 0x40000000
push edi
mov edi, eax
mov dword [esp + 0x18], edi
test ecx, ebx
je 0x467dbc
xor ebx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ebx
mov ebp, eax
jmp 0x467dc2
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x467dd2
push 0xfffffffffffffffc
pop eax
jmp 0x4682b0
cmp dword [esi + 0x220], 0
je 0x467fa0
test ebp, ebp
jne 0x467df1
push 0xffffffffffffffff
push dword [esi + 0x208]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test ebx, ebx
je 0x467e2c
lea edi, [esp + 0x34]
mov eax, dword [edi + 8]
lea edi, [edi + 0xc]
mov ebp, dword [edi - 8]
push eax
push ebp
push dword [esi + 0x220]
call fcn.00567160
add esp, 0xc
cmp dword [edi], 0
jne 0x467e23
xor eax, eax
inc eax
push eax
push ebp
call fcn.005cdee0
pop ecx
pop ecx
sub ebx, 1
jne 0x467df9
mov ebp, dword [esp + 0x14]
mov eax, dword [esi + 0x234]
xor ebx, ebx
cmp dword [esi + 0x204], ebx
jne 0x467f58
cmp dword [eax], ebx
jbe 0x467f94
push 0xf
push dword [esi + 0x22c]
call fcn.0049eab0
mov eax, dword [esi + 0x234]
pop ecx
pop ecx
push ebx
push dword [eax]
push dword [eax + 4]
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
test edi, edi
jle 0x467e7e
mov eax, dword [esi + 0x234]
cmp edi, dword [eax]
jl 0x467e95
test edi, edi
jns 0x467f2d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x467f2d
test edi, edi
jns 0x467e9d
mov edx, ebx
jmp 0x467ea7
mov eax, dword [esi + 0x234]
mov edx, dword [eax]
sub edx, edi
push ebx
push ebx
push 0x30
pop ecx
call fcn.0046c097
pop ecx
pop ecx
mov ecx, eax
mov dword [ecx + 0x28], 3
mov dword [ecx + 8], ebx
mov dword [esi + 0x204], ecx
mov dword [esi + 0x200], ecx
test edi, edi
jle 0x467f5d
lea eax, [ecx + 0x34]
mov dword [ecx], eax
mov eax, dword [esi + 0x234]
mov ecx, dword [eax]
mov eax, dword [esi + 0x200]
sub ecx, edi
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x200]
mov eax, dword [esi + 0x234]
mov edx, dword [ecx + 4]
mov eax, dword [eax + 4]
mov ecx, dword [ecx]
add eax, edi
push edx
push eax
call section..text
mov eax, dword [esi + 0x200]
add dword [esi + 0x38], edi
push ebx
push ebx
mov eax, dword [eax + 4]
mov dword [esi + 0x34], eax
xor eax, eax
inc eax
push eax
push dword [esi + 0x22c]
call fcn.0049eae0
add esp, 0x18
jmp 0x467f5d
mov eax, dword [esi + 0x234]
cmp edi, dword [eax]
jne 0x467f94
push 0
xor eax, eax
inc eax
push 0
push eax
push dword [esi + 0x22c]
mov ebx, eax
call fcn.0049eae0
mov eax, dword [esi + 0x234]
add esp, 0x10
add dword [esi + 0x38], edi
mov eax, dword [eax]
mov dword [esi + 0x34], eax
test ebp, ebp
jne 0x467f72
xor eax, eax
push ebp
inc eax
push eax
push dword [esi + 0x208]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
xor eax, eax
inc eax
cmp ebx, eax
je 0x467f8d
mov ecx, dword [esi + 0xc]
call fcn.00471556
test eax, eax
jne 0x467f8d
mov ecx, dword [esi + 0xc]
call fcn.0046c589
mov eax, ebx
jmp 0x4682b0
push 0xfffffffffffffffc
pop ebx
mov ecx, esi
call fcn.00467d3f
jmp 0x467f5d
test ebp, ebp
jne 0x467fb2
push 0xffffffffffffffff
push dword [esi + 0x208]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x30], 0xffffffff
jne 0x467ffe
test ebx, ebx
je 0x467fe0
xor ebp, ebp
lea edi, [esp + 0x34]
inc ebp
mov eax, dword [edi + 4]
lea edi, [edi + 0xc]
cmp dword [edi], 0
jne 0x467fd7
push ebp
push eax
call fcn.005cdee0
pop ecx
pop ecx
sub ebx, 1
jne 0x467fc3
mov ebp, dword [esp + 0x14]
test ebp, ebp
jne 0x467dca
xor eax, eax
push ebp
inc eax
push eax
push dword [esi + 0x208]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x467dca
and dword [esp + 0x20], 0
test ebx, ebx
je 0x46827e
lea eax, [esp + 0x34]
mov dword [esp + 0x24], 0x17
mov edx, dword [eax + 4]
mov ebp, dword [eax + 8]
add eax, 0xc
cmp dword [esi + 0x204], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], eax
jne 0x46818b
cmp dword [esi + 0x1e8], 0
je 0x46818b
mov edi, dword [esp + 0x30]
test edi, edi
je 0x468078
movzx ecx, word [edi]
xor eax, eax
inc eax
cmp cx, ax
je 0x468078
cmp cx, word [esp + 0x24]
push 0x10
pop eax
push 0x1c
pop ecx
cmove eax, ecx
push eax
push edi
push 0
push ebp
push edx
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_sendto]
jmp 0x468085
push 0
push ebp
push edx
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
test edi, edi
jle 0x468091
cmp edi, ebp
jl 0x4680a8
test edi, edi
jns 0x46813c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x46813c
push 0
xor eax, eax
test edi, edi
push 0
cmovns eax, edi
xor edx, edx
push 0x30
pop ecx
mov edi, eax
call fcn.0046c097
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
mov ebp, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
cmp edx, 2
jne 0x468119
push 0x2d7
xor ecx, ecx
sub eax, edi
push 0x75fd08
inc ecx
mov dword [ebp + 4], eax
push ecx
push eax
call fcn.005ce020
add esp, 0x10
mov dword [esp + 0x1c], eax
mov dword [ebp], eax
test eax, eax
je 0x4682b8
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
add eax, edi
push edx
push eax
call section..text
and dword [ebp + 0x28], 0
pop ecx
pop ecx
jmp 0x468129
mov ecx, dword [esp + 0x2c]
mov dword [ebp], ecx
mov dword [ebp + 4], eax
mov dword [ebp + 8], edi
mov dword [ebp + 0x28], edx
and dword [esp + 0x18], 0
mov dword [esi + 0x204], ebp
mov dword [esi + 0x200], ebp
jmp 0x46816e
cmp edi, ebp
jne 0x468160
mov ecx, dword [esp + 0x10]
xor ebp, ebp
inc ebp
mov dword [esp + 0x18], ebp
mov edx, dword [ecx]
test edx, edx
jne 0x46816e
mov ecx, dword [esp + 0x2c]
push ebp
push ecx
call fcn.005cdee0
pop ecx
pop ecx
jmp 0x46816e
push 0xfffffffffffffffc
pop eax
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.00467d3f
test edi, edi
jle 0x468234
add dword [esi + 0x38], edi
sub dword [esi + 0x34], edi
jns 0x468234
and dword [esi + 0x34], 0
jmp 0x468234
push 0
push 0
push 0x30
xor edx, edx
pop ecx
call fcn.0046c097
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [ecx]
mov dword [edi + 4], ebp
add dword [esi + 0x34], ebp
cmp eax, 2
jne 0x4681e5
push 0x2a9
xor eax, eax
push 0x75fc84
inc eax
push eax
push dword [edi + 4]
call fcn.005ce020
add esp, 0x10
mov dword [edi], eax
test eax, eax
je 0x46824a
mov ecx, dword [esp + 0x2c]
mov edx, dword [edi + 4]
push ebp
push ecx
mov ecx, eax
call section..text
and dword [edi + 0x28], 0
pop ecx
pop ecx
jmp 0x4681ee
mov ecx, dword [esp + 0x2c]
mov dword [edi], ecx
mov dword [edi + 0x28], eax
and dword [edi + 8], 0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x468215
push 0x10
pop eax
push 0x17
pop edx
cmp word [ecx], dx
push 0x1c
pop edx
cmove eax, edx
push eax
push ecx
lea ecx, [edi + 0xc]
call section..text
pop ecx
pop ecx
and dword [edi + 0x2c], 0
mov eax, dword [esi + 0x204]
test eax, eax
jne 0x468231
mov dword [esi + 0x204], edi
mov dword [esi + 0x200], edi
jmp 0x468234
mov dword [eax + 0x2c], edi
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, ebx
jae 0x468276
mov eax, dword [esp + 0x10]
jmp 0x468017
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov ebx, 0x2a9
push esi
push ebx
mov edx, 0x75fca4
xor ecx, ecx
call fcn.0047145c
push ebx
push 0x75fcc4
push 0x75fce4
jmp 0x4682e2
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
test ebp, ebp
jne 0x468293
xor eax, eax
push ebp
inc eax
push eax
push dword [esi + 0x208]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
xor eax, eax
inc eax
cmp edi, eax
je 0x4682ae
mov ecx, dword [esi + 0xc]
call fcn.00471556
test eax, eax
jne 0x4682ae
mov ecx, dword [esi + 0xc]
call fcn.0046c589
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov ebx, 0x2d7
push esi
push ebx
mov edx, 0x75fd28
xor ecx, ecx
call fcn.0047145c
push ebx
push 0x75fd48
push 0x75fd68
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3