Function at 0x43a420
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 0x43a459
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x43a44b
call fcn.005414b2
mov dword [eax], 0x2746
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
cmp word [esi + 0x5c], 0
je 0x43a480
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 0x43a4d5
and eax, 0x3000
cmp eax, 0x3000
jne 0x43a4a6
mov edi, dword [sym.imp.KERNEL32.dll_SleepEx]
push 1
push 0xffffffffffffffff
call edi
test dword [esi + 0x58], 0x2000
jne 0x43a497
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 0x43a502
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x43a4f3
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.00448400
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.00448290
push esi
call fcn.0043b2f0
add esp, 0x1c
push 0x435430
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 0x43a590
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 0x43a5a7
call fcn.005414b2
push 0x1f
push 0x15
push 6
push 0xe8
push 4
push dword [eax]
call fcn.00433ae0
add esp, 0x18
test eax, eax
je 0x43a670
push 0x601860
call fcn.00429170
mov ecx, dword [esi + 0xb4]
add esp, 4
cmp esi, dword [0x60183c]
jne 0x43a5e9
mov dword [0x60183c], ecx
jmp 0x43a5fb
mov eax, dword [esi + 0xb8]
mov dword [eax + 0xb4], ecx
mov ecx, dword [0x60183c]
mov edx, dword [esi + 0xb4]
test edx, edx
je 0x43a613
mov eax, dword [esi + 0xb8]
mov dword [edx + 0xb8], eax
jmp 0x43a623
test ecx, ecx
je 0x43a623
mov eax, dword [esi + 0xb8]
mov dword [ecx + 0xb8], eax
push 0x601860
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
call fcn.00429180
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 0x43a666
push esi
call fcn.00434ac0
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.00424700
int3