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

Disassembly:
sub esp, 0x58
mov eax, dword [0x51501c]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x5c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x10]
mov esi, dword [ecx]
cmp dword [esi + 0x29c], 0
mov ebp, 0x4f2410
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0
je 0x43d50c
mov ebp, 0x4f2418
cmp eax, 7
ja case.0x43d515.1
jmp dword [eax*4 + 0x43d874]
mov ebx, 1
add dword [edi + 0x18], ebx
mov eax, dword [edi + 0x18]
cmp eax, dword [edi + 0x20]
jle 0x43d54e
mov dword [edi + 8], 0xffffff9e
mov dword [edi], 3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00459ea4
add esp, 0x58
ret
cmp dword [esi + 0x2d0], 0
je 0x43d5a1
mov edx, dword [edi + 0x160]
mov byte [edx], 0
mov eax, dword [edi + 0x160]
mov byte [eax + 1], 2
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0x160]
mov eax, dword [edx]
add ecx, 4
mov dword [eax + 0xdc], ecx
mov eax, dword [esi + 0x1a8]
mov ecx, dword [esi + 0x1ac]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x43d5b3
push ecx
push eax
mov eax, esi
call fcn.004363f0
add esp, 8
jmp 0x43d5b3
mov eax, dword [edi + 0x160]
mov byte [eax], 0
mov ecx, dword [edi + 0x160]
mov byte [ecx + 1], bl
mov edx, dword [edi + 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0x8624]
push 0
add ecx, ebx
xor eax, eax
call fcn.004413d0
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x1c], ebx
jne 0x43d5ec
lea eax, [ebx + 0x1b]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00459ea4
add esp, 0x58
ret
mov ecx, dword [edi + 0x154]
mov edx, dword [edi + 0x160]
push 0
push ebp
push 0
push ebx
push 0x4f2424
push ecx
add edx, 2
push edx
call fcn.00435df0
mov eax, ebx
add esp, 0x1c
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43d615
sub eax, edx
mov edx, eax
mov eax, ebp
lea ebx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43d627
sub eax, ebx
cmp dword [esi + 0x2d0], 0
lea ebx, [eax + edx + 4]
je 0x43d66c
mov eax, dword [esi + 0x1a8]
mov esi, dword [esi + 0x1ac]
mov ecx, eax
and ecx, esi
cmp ecx, 0xffffffff
je 0x43d66c
push esi
push eax
push 0x4f2430
lea edx, [esp + 0x2c]
push 0x40
push edx
call fcn.00435df0
add esp, 0x14
jmp 0x43d673
mov word [esp + 0x20], 0x30
mov edx, dword [edi + 0x160]
lea eax, [ebx + 6]
add edx, ebx
cmp eax, dword [edi + 0x154]
jbe 0x43d68a
xor eax, eax
jmp 0x43d694
mov esi, 0x4f2388
call fcn.0043d420
mov ebp, dword [edi + 0x160]
add ebx, eax
lea eax, [esp + 0x20]
add ebp, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43d6a5
sub eax, edx
lea ecx, [eax + ebx + 1]
cmp ecx, dword [edi + 0x154]
jbe 0x43d6c0
xor eax, eax
jmp 0x43d6cb
lea esi, [esp + 0x20]
mov edx, ebp
call fcn.0043d420
mov edx, dword [edi + 0x158]
push edx
push 0x4da2e4
add ebx, eax
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.00435df0
mov edx, dword [edi + 0x160]
lea ecx, [ebx + 8]
add esp, 0x10
add edx, ebx
cmp ecx, dword [edi + 0x154]
jbe 0x43d6ff
xor eax, eax
jmp 0x43d709
mov esi, 0x4f2288
call fcn.0043d420
mov ebp, dword [edi + 0x160]
add ebx, eax
lea eax, [esp + 0x20]
add ebp, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43d720
sub eax, edx
lea edx, [eax + ebx + 1]
cmp edx, dword [edi + 0x154]
jbe 0x43d73b
xor eax, eax
jmp 0x43d746
lea esi, [esp + 0x20]
mov edx, ebp
call fcn.0043d420
add ebx, eax
mov eax, dword [edi + 0x1c]
push eax
push 0x4da2e4
lea ecx, [esp + 0x28]
push 0x40
push ecx
call fcn.00435df0
mov edx, dword [edi + 0x160]
lea eax, [ebx + 8]
add esp, 0x10
add edx, ebx
cmp eax, dword [edi + 0x154]
jbe 0x43d777
xor eax, eax
jmp 0x43d781
mov esi, 0x4f2438
call fcn.0043d420
mov ebp, dword [edi + 0x160]
add ebx, eax
lea eax, [esp + 0x20]
add ebp, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43d792
sub eax, edx
lea ecx, [eax + ebx + 1]
cmp ecx, dword [edi + 0x154]
jbe 0x43d7ad
xor eax, eax
jmp 0x43d7b8
lea esi, [esp + 0x20]
mov edx, ebp
call fcn.0043d420
mov edx, dword [edi + 0x10]
add ebx, eax
mov eax, dword [edx + 0x34]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [edi + 0x160]
push ecx
mov ecx, dword [edi + 0x14]
push edx
push 0
push ebx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, ebx
je 0x43d804
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [edi + 0x10]
push edx
call fcn.004482a0
mov esi, dword [esp + 0x1c]
add esp, 4
push eax
push 0x4da460
call fcn.0042dec0
add esp, 8
mov eax, dword [esp + 0x1c]
push eax
call dword [0x515348]
jmp 0x43d857
cmp dword [esi + 0x2d0], 0
push 6
je 0x43d83a
mov eax, edi
call fcn.0043d450
mov dword [esp + 0x18], eax
jmp 0x43d857
push 4
mov eax, edi
call fcn.0043d450
mov dword [esp + 0x18], eax
jmp 0x43d857
push 3
call fcn.0043d490
mov dword [esp + 0x18], eax
jmp 0x43d857
mov dword [edi], 3
jmp 0x43d85a
push 0x4f2440
call fcn.0042dec0
add esp, 4
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00459ea4
add esp, 0x58
ret