Function at 0x43a4d0
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 0x43a509
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x43a4fb
call fcn.00541542
mov dword [eax], 0x2746
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
cmp word [esi + 0x5c], 0
je 0x43a530
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.0053b400
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
push edi
test al, al
js 0x43a585
and eax, 0x3000
cmp eax, 0x3000
jne 0x43a556
mov edi, dword [sym.imp.KERNEL32.dll_SleepEx]
push 1
push 0xffffffffffffffff
call edi
test dword [esi + 0x58], 0x2000
jne 0x43a547
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.0053b400
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 0x43a5b2
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x43a5a3
call fcn.00541542
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.004484b0
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.00448340
push esi
call fcn.0043b3a0
add esp, 0x1c
push 0x4354f0
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.0053b400
add esp, 4
test eax, eax
je 0x43a640
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 0x43a657
call fcn.00541542
push 0x1f
push 0x15
push 6
push 0xe8
push 4
push dword [eax]
call fcn.00433ba0
add esp, 0x18
test eax, eax
je 0x43a720
push 0x601860
call fcn.00429200
mov ecx, dword [esi + 0xb4]
add esp, 4
cmp esi, dword [0x60183c]
jne 0x43a699
mov dword [0x60183c], ecx
jmp 0x43a6ab
mov eax, dword [esi + 0xb8]
mov dword [eax + 0xb4], ecx
mov ecx, dword [0x60183c]
mov edx, dword [esi + 0xb4]
test edx, edx
je 0x43a6c3
mov eax, dword [esi + 0xb8]
mov dword [edx + 0xb8], eax
jmp 0x43a6d3
test ecx, ecx
je 0x43a6d3
mov eax, dword [esi + 0xb8]
mov dword [ecx + 0xb8], eax
push 0x601860
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
call fcn.00429210
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 0x43a716
push esi
call fcn.00434b80
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.00424790
int3