joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140086330
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rbx, rcx
cmp byte [rcx + 0x570], 0
je 0x1400863ca
call fcn.1400595a0
mov r8d, 3
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140059480
lea rax, str.EventSender.cpp
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0xc8
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.140026620
lea rdx, str.Event_Sender_already_initialized_for_AWS
lea rcx, [rsp + 0x48]
call fcn.140026650
lea rcx, [rbp - 0x20]
call fcn.14005be70
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.1400fa82c
nop
mov al, 1
jmp 0x1400865cd
cmp qword [rcx + 0x578], 0
jne 0x140086560
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x14019fb9c]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbx + 0x578], rax
test rax, rax
je 0x140086560
mov dword [rbx + 0x5b0], 0x68
lea rdi, [rbx + 0x638]
xor r8d, r8d
mov rdx, qword [rbx + 0x5a0]
mov rcx, rdi
call fcn.140055b00
cmp qword [rdi + 0x18], 8
jb 0x140086432
mov rdi, qword [rdi]
mov qword [rbx + 0x5c8], rdi
mov eax, dword [rbx + 0x648]
mov dword [rbx + 0x5d0], eax
lea rdi, [rbx + 0x618]
xor r8d, r8d
mov rdx, qword [rbx + 0x5a0]
mov rcx, rdi
call fcn.140055b00
cmp qword [rdi + 0x18], 8
jb 0x140086468
mov rdi, qword [rdi]
mov qword [rbx + 0x5f8], rdi
mov eax, dword [rbx + 0x628]
mov dword [rbx + 0x600], eax
lea rcx, [rbx + 0x590]
cmp qword [rcx + 0x18], 8
jb 0x14008648c
mov rcx, qword [rcx]
lea r9, [rbx + 0x5b0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x14008652f
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140059480
lea rax, str.EventSender.cpp
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0xdf
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.140026620
lea rdx, str.WinHttpCrackUrl_failed_for_AWS:
lea rcx, [rsp + 0x48]
call fcn.140026650
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14003cd90
lea rcx, [rbp - 0x20]
call fcn.14005be70
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.1400fa82c
nop
jmp 0x1400865cb
cmp word [rbx + 0x5d4], 0
jne 0x140086555
mov eax, 0x50
mov ecx, 0x1bb
cmp dword [rbx + 0x5c4], 2
cmove ax, cx
mov word [rbx + 0x5d4], ax
mov byte [rbx + 0x570], 1
mov al, 1
jmp 0x1400865cd
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140059480
lea rax, str.EventSender.cpp
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0xcf
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.140026620
lea rdx, str.Unable_to_open_HTTP_session_for_AWS
lea rcx, [rsp + 0x48]
call fcn.140026650
lea rcx, [rbp - 0x20]
call fcn.14005be70
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.1400fa82c
nop
xor al, al
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14008c200
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rax, qword gs:[0x58]
mov r8, qword [rax]
xor r15d, r15d
mov eax, dword [rcx + r8]
cmp dword [0x1401e0f40], eax
jle 0x14008c351
lea rcx, [0x1401e0f40]
call fcn.140122750
cmp dword [0x1401e0f40], 0xffffffff
jne 0x14008c351
mov dword [rsp + 0x20], 0x3c0025
mov dword [rsp + 0x24], 0x22003e
mov dword [rsp + 0x28], 0x7b0023
mov dword [rsp + 0x2c], 0x7c007d
mov dword [rsp + 0x30], 0x5e005c
mov dword [rsp + 0x34], 0x5b007e
mov dword [rsp + 0x38], 0x60005d
mov dword [rsp + 0x3c], 0x2f003b
mov dword [rsp + 0x40], 0x3a003f
lea r14d, [r15 + 0x3a]
mov dword [rsp + 0x44], 0x3d0040
mov dword [rsp + 0x48], 0x210026
mov dword [rsp + 0x4c], 0x270024
mov dword [rsp + 0x50], 0x290028
mov dword [rsp + 0x54], 0x2b002a
mov eax, 0x2c
mov word [rsp + 0x58], ax
xorps xmm0, xmm0
movdqu xmmword [0x1401e0f48], xmm0
mov qword [0x1401e0f58], r15
lea edx, [rax - 0xf]
lea rcx, [0x1401e0f48]
call fcn.140028530
mov qword [0x1401e0f48], rax
mov qword [0x1401e0f50], rax
lea rbx, [rax + 0x3a]
mov qword [0x1401e0f58], rbx
mov r8d, r14d
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140125070
mov qword [0x1401e0f50], rbx
lea rcx, [0x14016d880]
call fcn.140122aa0
nop
lea rcx, [0x1401e0f40]
call fcn.1401226f0
test rdi, rdi
jne 0x14008c35d
xor al, al
jmp 0x14008c41d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x60]
call fcn.140124d50
lea rcx, [rsp + 0x60]
call fcn.1400882e0
nop
movzx ecx, word [rdi]
test cx, cx
je 0x14008c3c0
mov rax, qword [0x1401e0f48]
mov rdx, qword [0x1401e0f50]
cmp rax, rdx
je 0x14008c3a7
cmp word [rax], cx
je 0x14008c440
add rax, 2
cmp rax, rdx
jne 0x14008c395
movzx edx, cx
lea rcx, [rsp + 0x70]
call fcn.14008c480
add rdi, 2
movzx ecx, word [rdi]
test cx, cx
jne 0x14008c382
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x78]
call fcn.14005bf80
lea rax, [rsp + 0x20]
cmp rsi, rax
je 0x14008c406
mov rcx, rsi
call fcn.1400285b0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x10], xmm1
movdqa xmm0, xmmword [0x1401a4080]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r15w
lea rcx, [rsp + 0x20]
call fcn.1400285b0
nop
lea rcx, [rsp + 0x60]
call fcn.140085b30
mov al, 1
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140122510
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp rax, rdx
je 0x14008c3a7
lea rdx, [0x1401a03b8]
lea rcx, [rsp + 0x70]
call fcn.14002e630
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call fcn.140040e00
movzx edx, word [rdi]
mov rcx, rbx
call fcn.140064890
jmp 0x14008c3b4
Function at 0x14008c8e0
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rcx
cmp qword [rcx + 0x10], rbx
je 0x14008c9ac
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14008c9ac
test rdx, rdx
je 0x14008c994
test r8, r8
je 0x14008c99d
xor r9d, r9d
call qword [sym.imp.bcrypt.dll_BCryptHashData]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x30]
lea rax, vtable.McCryptoLib::CWinError.0
mov qword [rsp + 0x30], rax
call qword [0x1401a0990]
test eax, eax
je 0x14008c9a4
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, eax
call fcn.14008cba0
mov qword [rsp + 0x28], rax
lea r8, str.C:_non_systemCodeMcCryptoLib_srcwindowswin_hmac.cpp
lea rax, str.McCryptoLib::CMcCryptoHMACWin::AddToHash
mov r9d, 0x99
lea rdx, str.__S:__d____S___s:_Error_trying_to_encrypt_data
mov qword [rsp + 0x20], rax
mov ecx, 2
call fcn.14008cc88
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, eax
jmp 0x14008c9a8
test r8, r8
je 0x14008c918
mov eax, 0x8000000a
jmp 0x14008c9b1
mov byte [rdi + 8], 1
mov eax, ebx
jmp 0x14008c9b1
mov eax, 0x8000000d
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14008d090
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
je 0x14008d1ad
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 7
lea r8d, [rbx + 4]
lea rdx, str.name
lea rcx, [rsp + 0x20]
call fcn.140028220
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
movabs r9, 0xcbf29ce484222325
mov rax, qword [rsp + 0x30]
lea rdx, [rax + rax]
test rdx, rdx
je 0x14008d123
movabs r8, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x14008d110
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 8]
call fcn.14007ce20
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x14008d143
mov rbx, qword [rdi + 0x10]
lea rcx, [rsp + 0x20]
call fcn.1400285b0
mov r8, rsi
lea rdx, [rsp + 0x20]
cmp rbx, qword [rdi + 0x10]
je 0x14008d180
call fcn.14008fac0
nop
cmp qword [rax + 0x18], 8
jb 0x14008d16b
mov rax, qword [rax]
mov r8, rax
lea rdx, str.name
mov rcx, rdi
call fcn.14008f9c0
nop
jmp 0x14008d1a3
call fcn.14008fac0
nop
cmp qword [rax + 0x18], 8
jb 0x14008d190
mov rax, qword [rax]
mov r8, rax
lea rdx, str.name
mov rcx, rdi
call fcn.14008f8f0
nop
lea rcx, [rsp + 0x20]
call fcn.1400285b0
mov rax, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008d1c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push rsi
sub rsp, 0x68
mov rbp, rdx
mov rsi, rcx
test rdx, rdx
je 0x14008d37f
mov qword [rax + 0x18], rbx
lea rdx, str.name
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x58]
xor ebx, ebx
mov qword [rax - 0x18], r12
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
mov qword [rax - 0x58], rbx
lea r8d, [rbx + 4]
mov qword [rax - 0x48], rbx
mov qword [rax - 0x40], 7
call fcn.140028220
cmp qword [rsp + 0x38], 8
lea rdx, [rsp + 0x20]
mov rax, qword [rsp + 0x30]
movabs rdi, 0xcbf29ce484222325
cmovae rdx, qword [rsp + 0x20]
mov r9, rdi
mov ecx, ebx
movabs r12, 0x100000001b3
lea r8, [rax + rax]
test r8, r8
je 0x14008d263
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r12
cmp rcx, r8
jb 0x14008d250
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.14007ce20
mov r14, qword [rax + 8]
test r14, r14
jne 0x14008d283
mov r14, qword [rsi + 0x10]
lea rcx, [rsp + 0x20]
call fcn.1400285b0
cmp r14, qword [rsi + 0x10]
lea rdx, str.name
mov r14, qword [rsp + 0x58]
je 0x14008d35a
mov r8d, 4
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 7
call fcn.140028220
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
mov rax, qword [rsp + 0x30]
cmovae rcx, qword [rsp + 0x20]
lea rdx, [rax + rax]
test rdx, rdx
je 0x14008d303
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rbx
xor rdi, rax
imul rdi, r12
cmp rbx, rdx
jb 0x14008d2f0
mov r9, rdi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.14007ce20
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x14008d326
mov rbx, qword [rsi + 0x10]
lea rcx, [rsp + 0x20]
call fcn.1400285b0
cmp rbx, qword [rsi + 0x10]
je 0x14008d365
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rbp + r8*2], 0
jne 0x14008d340
lea rcx, [rbx + 0x30]
mov rdx, rbp
call fcn.140028220
jmp 0x14008d365
mov r8, rbp
mov rcx, rsi
call fcn.14008f8f0
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov r15, qword [rsp + 0x50]
mov rax, rsi
add rsp, 0x68
pop rsi
pop rbp
ret
Function at 0x14008d5a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rsi, rdx
mov r14, rcx
test rdx, rdx
je 0x14008d756
xor ebx, ebx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], 7
lea r8d, [rbx + 0xe]
lea rdx, str.parent_process
lea rcx, [rbp - 0x50]
call fcn.140028220
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
movabs rdi, 0xcbf29ce484222325
mov r9, rdi
mov rax, qword [rbp - 0x40]
lea r8, [rax + rax]
mov ecx, ebx
movabs r12, 0x100000001b3
test r8, r8
je 0x14008d633
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r12
inc rcx
cmp rcx, r8
jb 0x14008d620
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
lea rcx, [r14 + 8]
call fcn.14007ce20
mov r15, qword [rax + 8]
test r15, r15
jne 0x14008d651
mov r15, qword [r14 + 0x10]
lea rcx, [rbp - 0x50]
call fcn.1400285b0
mov r8, rsi
lea rdx, [rbp - 0x20]
cmp r15, qword [r14 + 0x10]
je 0x14008d72a
call fcn.14008fac0
mov rsi, rax
cmp qword [rax + 0x18], 8
jb 0x14008d67d
mov rsi, qword [rax]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], 7
mov r8d, SafeArrayDestroy
lea rdx, str.parent_process
lea rcx, [rbp - 0x50]
call fcn.140028220
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x40]
lea rdx, [rax + rax]
test rdx, rdx
je 0x14008d6d3
nop
movzx eax, byte [rbx + rcx]
xor rdi, rax
imul rdi, r12
inc rbx
cmp rbx, rdx
jb 0x14008d6c0
mov r9, rdi
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
lea rcx, [r14 + 8]
call fcn.14007ce20
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x14008d6f4
mov rbx, qword [r14 + 0x10]
lea rcx, [rbp - 0x50]
call fcn.1400285b0
cmp rbx, qword [r14 + 0x10]
je 0x14008d728
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x14008d710
lea rcx, [rbx + 0x30]
mov rdx, rsi
call fcn.140028220
nop
jmp 0x14008d74d
call fcn.14008fac0
nop
cmp qword [rax + 0x18], 8
jb 0x14008d73a
mov rax, qword [rax]
mov r8, rax
lea rdx, str.parent_process
mov rcx, r14
call fcn.14008f8f0
nop
lea rcx, [rbp - 0x20]
call fcn.1400285b0
mov rax, r14
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008d780
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push rsi
sub rsp, 0x68
mov rbp, rdx
mov rsi, rcx
test rdx, rdx
je 0x14008d93f
mov qword [rax + 0x18], rbx
lea rdx, str.parent_process
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x58]
xor ebx, ebx
mov qword [rax - 0x18], r12
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
mov qword [rax - 0x58], rbx
lea r8d, [rbx + 0xe]
mov qword [rax - 0x48], rbx
mov qword [rax - 0x40], 7
call fcn.140028220
cmp qword [rsp + 0x38], 8
lea rdx, [rsp + 0x20]
mov rax, qword [rsp + 0x30]
movabs rdi, 0xcbf29ce484222325
cmovae rdx, qword [rsp + 0x20]
mov r9, rdi
mov ecx, ebx
movabs r12, 0x100000001b3
lea r8, [rax + rax]
test r8, r8
je 0x14008d823
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r12
cmp rcx, r8
jb 0x14008d810
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.14007ce20
mov r14, qword [rax + 8]
test r14, r14
jne 0x14008d843
mov r14, qword [rsi + 0x10]
lea rcx, [rsp + 0x20]
call fcn.1400285b0
cmp r14, qword [rsi + 0x10]
lea rdx, str.parent_process
mov r14, qword [rsp + 0x58]
je 0x14008d91a
mov r8d, SafeArrayDestroy
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 7
call fcn.140028220
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
mov rax, qword [rsp + 0x30]
cmovae rcx, qword [rsp + 0x20]
lea rdx, [rax + rax]
test rdx, rdx
je 0x14008d8c3
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rbx
xor rdi, rax
imul rdi, r12
cmp rbx, rdx
jb 0x14008d8b0
mov r9, rdi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.14007ce20
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x14008d8e6
mov rbx, qword [rsi + 0x10]
lea rcx, [rsp + 0x20]
call fcn.1400285b0
cmp rbx, qword [rsi + 0x10]
je 0x14008d925
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rbp + r8*2], 0
jne 0x14008d900
lea rcx, [rbx + 0x30]
mov rdx, rbp
call fcn.140028220
jmp 0x14008d925
mov r8, rbp
mov rcx, rsi
call fcn.14008f8f0
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov r15, qword [rsp + 0x50]
mov rax, rsi
add rsp, 0x68
pop rsi
pop rbp
ret
Function at 0x14008f9c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
xor edi, edi
mov qword [rsp + 0x38], 7
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x20], rdi
mov rsi, r8
mov qword [rsp + 0x30], rdi
mov r8, rbx
mov r14, rcx
inc r8
cmp word [rdx + r8*2], di
jne 0x14008f9f0
lea rcx, [rsp + 0x20]
call fcn.140028220
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
mov rax, qword [rsp + 0x30]
movabs r9, 0xcbf29ce484222325
cmovae rcx, qword [rsp + 0x20]
lea rdx, [rax + rax]
test rdx, rdx
je 0x14008fa53
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
inc rdi
xor r9, rax
imul r9, r8
cmp rdi, rdx
jb 0x14008fa40
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.14007ce20
mov rdi, qword [rax + 8]
test rdi, rdi
jne 0x14008fa73
mov rdi, qword [r14 + 0x10]
lea rcx, [rsp + 0x20]
call fcn.1400285b0
cmp rdi, qword [r14 + 0x10]
je 0x14008faa9
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x14008fa83
mov r8, rbx
lea rcx, [rdi + 0x30]
mov rdx, rsi
call fcn.140028220
mov al, 1
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor al, al
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14008fd40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x14008fed4
mov r15, qword [rsp + 0x60]
lea r9d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x14008fed4
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r9w, dx
jae 0x14008fddb
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x14008fefb
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x14008fdf2
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x14008fdf2
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x14008fe05
movzx r8d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x14008fe52
mov r8d, eax
cmp eax, 0x800
jae 0x14008fe1f
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x14008fe52
cmp eax, 0x10000
jae 0x14008fe39
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x14008fe52
shr r8d, 0x12
mov r10d, 3
movzx r11d, sil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r9d
cmp rdx, rcx
jl 0x14008fed4
add qword [r14], 2
test sil, sil
jne 0x14008fe73
cmp r10d, 3
jae 0x14008fe7f
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
test r9d, r9d
je 0x14008feb1
lea r8d, [r10 + r10*2]
add r8d, r8d
nop dword [rax + rax]
sub r8d, 6
mov edx, eax
mov ecx, r8d
dec r9d
shr edx, cl
mov rcx, qword [rbx]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [rbx]
test r9d, r9d
jg 0x14008fe90
shr eax, 0xa
mov r9d, 1
test sil, sil
mov ecx, r9d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x14008fd8f
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x14008fee2
Function at 0x140094be0
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov dword [rbp - 0x38], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
lea rdi, [0x1401de4b0]
test eax, eax
je 0x140094dc8
cmp dword [rbp - 0x38], ebx
mov cl, 1
mov r8, qword [rbp - 0x18]
setne al
mov byte [rbp - 0x28], al
mov byte [rbp - 0x10], cl
movzx ecx, cl
test ecx, ecx
jne 0x140094c5a
test r8, r8
je 0x140094c5a
mov rax, qword [r8]
lea edx, [rcx + 1]
mov rcx, r8
mov rax, qword [rax]
call qword [0x14016fb70]
mov word [rbp - 0x40], bx
mov word [rbp - 0x38], bx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_IsWow64Process2]
test eax, eax
je 0x140094da8
jmp 0x140094d35
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2000000
mov edx, 0x100080
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140094ce4
lea rdi, [0x1401d4090]
xor r9d, r9d
mov rdx, rdi
mov r8d, 0x100
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleW]
test eax, eax
jne 0x140094d07
test rbx, rbx
je 0x140094ce4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140122510
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
cmp eax, 0x100
jae 0x140094cd6
mov eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x38], rdi
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [0x1401d4290], xmm0
test rbx, rbx
je 0x140094d31
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140094ce6
movzx r8d, word [rbp - 0x38]
movzx ecx, word [rbp - 0x40]
mov eax, r8d
test cx, cx
mov dword [rbp - 0x34], r8d
mov r8, qword [rbp - 0x18]
cmovne eax, ecx
mov cl, 1
mov dword [rbp - 0x38], eax
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x28], rax
mov byte [rbp - 0x10], cl
movzx ecx, cl
test ecx, ecx
jne 0x140094d7d
test r8, r8
je 0x140094d7d
mov rax, qword [r8]
lea edx, [rcx + 1]
mov rcx, r8
mov rax, qword [rax]
call qword [0x14016fb70]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x90]
lea rcx, [rax + 0x1e]
test rax, rax
jne 0x140094c86
mov ecx, 0x7ffe0030
jmp 0x140094c86
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rbp - 0x30], rdi
xor cl, cl
mov dword [rbp - 0x38], eax
mov r8, rbx
movups xmm0, xmmword [rbp - 0x38]
mov qword [rbp - 0x18], rbx
movups xmmword [rbp - 0x28], xmm0
jmp 0x140094d5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rbp - 0x30], rdi
xor cl, cl
mov dword [rbp - 0x38], eax
mov r8, rbx
movups xmm0, xmmword [rbp - 0x38]
mov qword [rbp - 0x18], rbx
movups xmmword [rbp - 0x28], xmm0
jmp 0x140094c39
Function at 0x140095170
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rbp + 0x168], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor esi, esi
mov qword [rbp + 0x150], rsi
lea rax, [rsp + 0x50]
mov qword [rbp + 0x158], rax
mov dword [rbp + 0x160], 0x200
mov edx, 0x100
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test eax, eax
je 0x14009524e
nop dword [rax]
mov edx, dword [rbp + 0x160]
mov eax, edx
shr eax, 1
mov r8d, ecx
cmp ecx, eax
jb 0x1400952b0
lea rbx, [r8 + r8]
cmp rbx, rdx
jbe 0x140095236
mov rcx, rbx
call fcn.140122570
mov rcx, qword [rbp + 0x150]
mov qword [rbp + 0x150], rax
test rcx, rcx
je 0x140095225
call fcn.1401224f8
mov rax, qword [rbp + 0x150]
mov edx, ebx
mov dword [rbp + 0x160], ebx
mov qword [rbp + 0x158], rax
jmp 0x14009523d
mov rax, qword [rbp + 0x158]
shr edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test eax, eax
jne 0x1400951e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rax, [0x1401de4b0]
mov qword [rsp + 0x28], rax
mov byte [rdi + 0x20], 0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov rcx, qword [rbp + 0x150]
test rcx, rcx
je 0x140095285
call fcn.1401224f8
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rsp
call fcn.140122510
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov rdx, qword [rbp + 0x158]
lea rcx, [rsp + 0x30]
call fcn.140028220
mov byte [rdi + 0x20], 1
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm1
jmp 0x140095274