Function at 0x4146e0
Capabilities:
Create process on windows
Read file on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fa0
call fcn.0042aad0
mov eax, dword [0x485098]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1f48], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x1f4c], ebx
push esi
push edi
test eax, eax
je 0x414b03
cmp dword [ebp + 0xc], 1
jb 0x414b03
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x41472d
push eax
call fcn.0044576d
add esp, 4
push 0x7d0
lea eax, [ebp - 0xfa4]
mov dword [ebx + 0x1c], 0
push 0
push eax
mov dword [ebx + 0x20], 0
call fcn.004423c0
mov ebx, dword [ebx + 0x14]
add esp, 0xc
mov edx, ebx
mov esi, ebx
mov al, byte [edx]
inc edx
test al, al
jne 0x414758
lea edi, [ebp - 0xfa4]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x414768
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0xfa4]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x414785
mov eax, dword [str._binPOSENTRA]
mov dword [ecx], eax
mov eax, dword [0x46b160]
mov dword [ecx + 4], eax
mov eax, dword [0x46b164]
mov dword [ecx + 8], eax
mov ax, word [0x46b168]
push 0x7d0
mov word [ecx + 0xc], ax
lea eax, [ebp - 0x1774]
push 0
push eax
call fcn.004423c0
mov edx, ebx
add esp, 0xc
mov esi, edx
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4147d0
lea edi, [ebp - 0x1774]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4147e0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x1774]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x414800
mov eax, dword [str._binPOSSAIDA]
mov dword [ecx], eax
mov eax, dword [0x46b170]
mov dword [ecx + 4], eax
mov eax, dword [0x46b174]
mov dword [ecx + 8], eax
mov ax, word [0x46b178]
push 0x7d0
mov word [ecx + 0xc], ax
lea eax, [ebp - 0x7d4]
push 0
push eax
call fcn.004423c0
lea edi, [ebp - 0x7d4]
add esp, 0xc
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x414848
mov ax, word [0x46b004]
mov edx, ebx
mov word [edi], ax
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x414860
lea edi, [ebp - 0x7d4]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x414870
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x7d4]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x414890
mov eax, dword [str._binclientctf.exe___]
mov edx, ebx
mov dword [ecx], eax
mov esi, edx
mov eax, dword [0x46b180]
mov dword [ecx + 4], eax
mov eax, dword [0x46b184]
mov dword [ecx + 8], eax
mov eax, dword [0x46b188]
mov dword [ecx + 0xc], eax
mov eax, dword [0x46b18c]
mov dword [ecx + 0x10], eax
mov ax, word [0x46b190]
mov word [ecx + 0x14], ax
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4148d0
lea edi, [ebp - 0x7d4]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4148e0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x7d4]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x414900
mov eax, dword [str._bin___]
mov edx, ebx
mov dword [ecx], eax
mov esi, edx
mov eax, dword [0x46b198]
mov dword [ecx + 4], eax
mov al, byte [0x46b19c]
mov byte [ecx + 8], al
mov al, byte [edx]
inc edx
test al, al
jne 0x414925
lea edi, [ebp - 0x7d4]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x414935
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x7d4]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x414952
mov eax, dword [str._bin_]
mov dword [ecx], eax
mov ax, word [0x46b1a4]
mov word [ecx + 4], ax
mov al, byte [0x46b1a6]
push 0x7d0
mov byte [ecx + 6], al
lea eax, [ebp - 0x1f44]
push 0
push eax
call fcn.004423c0
add esp, 0xc
mov esi, ebx
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x414990
lea edi, [ebp - 0x1f44]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4149a0
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x1f44]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4149c0
lea eax, [ebp - 0xfa4]
push 0x46a76c
push eax
call fcn.004490d0
mov edi, eax
add esp, 8
test edi, edi
je 0x414b03
mov ebx, dword [ebp + 0xc]
push edi
push ebx
push 1
push dword [ebp - 0x1f48]
call fcn.00449c74
push edi
mov esi, eax
call fcn.00448bb9
add esp, 0x14
cmp esi, ebx
jne 0x414b03
lea eax, [ebp - 0x1f5c]
mov dword [ebp - 0x1fa0], 0x44
push eax
lea eax, [ebp - 0x1fa0]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x7d4]
movlpd qword [ebp - 0x1f9c], xmm0
push eax
push 0
movlpd qword [ebp - 0x1f94], xmm0
movlpd qword [ebp - 0x1f8c], xmm0
movlpd qword [ebp - 0x1f84], xmm0
movlpd qword [ebp - 0x1f7c], xmm0
movlpd qword [ebp - 0x1f74], xmm0
movlpd qword [ebp - 0x1f6c], xmm0
movlpd qword [ebp - 0x1f64], xmm0
movups xmmword [ebp - 0x1f5c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x414b03
push 0xffffffffffffffff
push dword [ebp - 0x1f5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1f5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1f58]
call esi
lea eax, [ebp - 0x1774]
push 0x4697b0
push eax
call fcn.004490d0
mov esi, eax
add esp, 8
test esi, esi
je 0x414b03
push 2
push 0
push esi
call fcn.004493b4
push esi
call fcn.00449a50
push 0
push 0
push esi
mov ebx, eax
call fcn.004493b4
lea eax, [ebx + 1]
push eax
call fcn.0044578a
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x414b18
push esi
call fcn.00448bb9
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042aa99
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx + 1]
push eax
push 0
push edi
call fcn.004423c0
push esi
push ebx
push 1
push edi
call fcn.0044b46f
add esp, 0x1c
cmp eax, ebx
je 0x414b46
push edi
call fcn.0044576d
push esi
call fcn.00448bb9
add esp, 8
jmp 0x414b03
push esi
call fcn.00448bb9
mov eax, dword [ebp - 0x1f4c]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax + 0x1c], edi
pop edi
mov dword [eax + 0x20], ebx
mov al, 1
pop esi
pop ebx
call fcn.0042aa99
mov esp, ebp
pop ebp
ret 8