Function at 0x43a470
Capabilities:
Send data
Send data on socket
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x58]
test eax, 0x4000000
je 0x43a4a9
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x43a49b
call fcn.005414b2
mov dword [eax], 0x2746
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
cmp word [esi + 0x5c], 0
je 0x43a4d0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x60]
call dword [sym.imp.WS2_32.dll_send]
push eax
call fcn.0053b370
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
push edi
test al, al
js 0x43a525
and eax, 0x3000
cmp eax, 0x3000
jne 0x43a4f6
mov edi, dword [sym.imp.KERNEL32.dll_SleepEx]
push 1
push 0xffffffffffffffff
call edi
test dword [esi + 0x58], 0x2000
jne 0x43a4e7
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
call fcn.0053b370
add esp, 4
or ecx, 0xffffffff
test eax, eax
cmovne ecx, dword [ebp + 8]
pop edi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
test eax, 0x2000
je 0x43a552
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x43a543
call fcn.005414b2
pop edi
mov dword [eax], 0x2733
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
push ebx
push edi
push dword [ebp + 0xc]
push dword [esi + 0x70]
call fcn.00448450
mov eax, dword [esi + 0x58]
lea ebx, [esi + 0xd4]
and eax, 0xffff7fff
xorps xmm0, xmm0
or eax, 0x2000
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0xe4]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov eax, dword [esi + 0xe4]
mov dword [eax + 0x10], esi
lock inc dword [ebx]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [esi + 0x70]
call fcn.004482e0
push esi
call fcn.0043b340
add esp, 0x1c
push 0x435490
push dword [esi + 0xe4]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
push eax
call fcn.0053b370
add esp, 4
test eax, eax
je 0x43a5e0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x43a5f7
call fcn.005414b2
push 0x1f
push 0x15
push 6
push 0xe8
push 4
push dword [eax]
call fcn.00433b30
add esp, 0x18
test eax, eax
je 0x43a6c0
push 0x601860
call fcn.004291c0
mov ecx, dword [esi + 0xb4]
add esp, 4
cmp esi, dword [0x60183c]
jne 0x43a639
mov dword [0x60183c], ecx
jmp 0x43a64b
mov eax, dword [esi + 0xb8]
mov dword [eax + 0xb4], ecx
mov ecx, dword [0x60183c]
mov edx, dword [esi + 0xb4]
test edx, edx
je 0x43a663
mov eax, dword [esi + 0xb8]
mov dword [edx + 0xb8], eax
jmp 0x43a673
test ecx, ecx
je 0x43a673
mov eax, dword [esi + 0xb8]
mov dword [ecx + 0xb8], eax
push 0x601860
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
call fcn.004291d0
mov eax, dword [esi + 0x58]
add esp, 4
and eax, 0xffffdfff
or ecx, 0xffffffff
or eax, 0x4000000
mov dword [esi + 0x58], eax
lock xadd dword [ebx], ecx
jne 0x43a6b6
push esi
call fcn.00434b10
add esp, 4
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
push str.WriteFileEx_failed:__m
push 0x360000
call fcn.00424760
int3