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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b299
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, 0x4bda08
call fcn.004166b0
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add eax, esi
mov dword [ebp - 0x14], eax
cmp esi, eax
jae 0x43b8f0
mov edx, dword [0x4bde30]
jmp 0x43b6f0
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 0x43b716
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x30], 0
cmp edx, 1
je 0x43b8a7
cmp edx, 2
je 0x43b8a7
cmp edx, 4
je 0x43b8a7
cmp edx, 3
jne 0x43b8e5
mov eax, dword [0x4bde70]
test al, 1
jne 0x43b796
or eax, 1
mov dword [0x4bde70], eax
push 0x5a0
mov dword [ebp - 4], 0
call fcn.004705b4
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x43b786
mov ecx, eax
call fcn.004158b0
mov dword [0x4bde6c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x43b79b
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4bde6c], eax
jmp 0x43b79b
mov eax, dword [0x4bde6c]
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push 0x4bdae8
push esi
push eax
call fcn.0043b4c0
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 0x43b902
mov edx, dword [ebp + 8]
test edx, edx
je 0x43b89f
mov ecx, dword [0x4bde6c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ecx + 0x52c]
push eax
lea eax, [ecx + 0x4c8]
mov ecx, edx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00442d00
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp + 0xc], eax
call fcn.004704a9
mov edi, dword [0x4bde6c]
add esp, 4
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], edx
lea edx, [edi + 0x52c]
mov dword [ebp - 0x10], eax
push edx
lea edx, [edi + 0x4c8]
mov dword [ebp - 0x2c], eax
push edx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
push eax
call fcn.00442d00
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 0x43b902
push edi
call fcn.00471723
add esp, 4
mov edx, dword [0x4bde30]
jmp 0x43b8e5
push esi
mov ecx, 0x4bda08
call fcn.004162c0
mov edx, dword [0x4bde30]
cmp edx, 2
jne 0x43b8e5
cmp word [esi + 8], 1
jne 0x43b8e5
movzx eax, word [esi + 0xc]
test ax, ax
je 0x43b8d2
cmp eax, 1
jne 0x43b8e5
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 0x43b6f0
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 str.PROCMON:_Terminating_due_to_unexpected_socket_error_r_n
call fcn.004659f0
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]