joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005416
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
jmp 0x140063990
sub rsp, 0x1e8
mov rax, qword [0x14021fbc0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x1400639f6
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400639d9
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x1400639d3
shr ax, 8
cmp al, 2
je 0x1400639f6
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140004570
add rsp, 0x1e8
ret
call fcn.1400081cf
test eax, eax
jne 0x140063c0b
mov qword [rsp + 0x200], rsi
lea rcx, str.kernel32
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x140063a36
mov qword [0x140222a88], rsi
jmp 0x140063bc6
mov qword [rsp + 0x1f0], rbx
lea rdx, str.LoadLibraryExW
mov rcx, rdi
mov qword [rsp + 0x1f8], rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rbx, str.iphlpapi.dll
mov rbp, rax
mov rcx, rbx
lea rdx, [0x1401d4a34]
call fcn.140003c24
test rax, rax
je 0x140063a9c
mov rcx, rbx
test rbp, rbp
je 0x140063a8e
xor edx, edx
mov r8d, 8
call rbp
mov rsi, rax
jmp 0x140063b8e
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
jmp 0x140063b8e
test rbp, rbp
je 0x140063acb
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140063acb
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x140063b8e
xor edx, edx
mov qword [rsp + 0x1e0], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r14d, eax
test eax, eax
je 0x140063b86
lea ecx, [rax + 1]
lea rcx, [rcx*2 + 0x18]
call qword [fcn.1400051dc]
mov rdi, rax
test rax, rax
je 0x140063b7d
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140063b7d
mov rcx, 0xffffffffffffffff
mov rax, rcx
nop
cmp word [rdi + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x140063b20
mov dword [rdi + rax*2], 0x5c
inc rcx
cmp word [rdi + rcx*2], si
jne 0x140063b32
add rcx, rcx
sub rcx, rbx
add rcx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x140063b50
mov rcx, rdi
test rbp, rbp
je 0x140063b74
xor edx, edx
mov r8d, 8
call rbp
jmp 0x140063b7a
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
mov rcx, rdi
call qword [fcn.14000376f]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x140222a88], rsi
test rsi, rsi
je 0x140063bc6
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140063bc6
mov qword [0x140222a80], rax
mov r9d, 2
mov dword [rsp + 0x20], 3
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.140006c71
test al, al
lea rcx, [0x140225458]
setne byte [0x140225449]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rdi, qword [rsp + 0x208]
xor eax, eax
mov rsi, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140004570
add rsp, 0x1e8
ret
Function at 0x1400054a7
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401be680
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401be6a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401be6a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140005696
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400d125c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400d1296
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400d129b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400d12e4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400d12e4
dec r8
sub rdx, 1
jne 0x1400d12ca
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140005b14
Capabilities:
Clear file content

Disassembly:
jmp 0x1401a94d8
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14000222f
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14000222f
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401a9625
cmp rax, 0xffffffffffffffff
je 0x1401a9625
xor edi, edi
test rbp, rbp
jle 0x1401a95d3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400073fb
mov rbx, rax
test rax, rax
jne 0x1401a9560
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401a95c9
mov edx, 0x8000
mov ecx, r14d
call fcn.140005f38
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140006d48
cmp eax, 0xffffffff
je 0x1401a95a9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401a9570
mov edx, r15d
mov ecx, r14d
call fcn.140005f38
jmp 0x1401a95c9
cmp byte [rsi + 0x38], dil
je 0x1401a95c0
cmp dword [rsi + 0x34], 5
jne 0x1401a95c0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1401a95c9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140001316
jmp 0x1401a9637
jns 0x1401a9637
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14000222f
cmp rax, 0xffffffffffffffff
jne 0x1401a95f1
cmp byte [rsi + 0x30], dil
je 0x1401a9637
jmp 0x1401a962d
mov ecx, r14d
call fcn.14000835f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401a9637
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1401a9637
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401a9632
mov edi, dword [rsi + 0x2c]
jmp 0x1401a9637
mov edi, socket
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14000222f
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140005bf5
Capabilities:
Parse pe header

Disassembly:
jmp 0x14011be5c
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14011bea6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14011bea6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14011bea6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14011bea6
cmp dword [rcx + 0x84], 0xe
jbe 0x14011bea6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14011bea8
xor al, al
add rsp, 0x28
ret

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

Disassembly:
jmp 0x1400edbac
jmp 0x14010a834
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400edbde
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400edbc1
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400011f4
Function at 0x140005ee3
Capabilities:
Get common file path

Disassembly:
jmp 0x1401a9cec
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x14021fbc0]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call fcn.1400062c1
lea rdx, [rsp + 0x20]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, 0x104
ja 0x1401a9d60
xor edi, edi
cmp word [rsp + 0x20], di
je 0x1401a9dbb
cmp word [rsp + 0x22], 0x3a
jne 0x1401a9dbb
movzx ecx, word [rsp + 0x20]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
jmp 0x1401a9dbb
lea esi, [rax + 1]
mov edx, 2
mov ecx, esi
call fcn.1400073fb
xor edi, edi
mov rbx, rax
test rax, rax
je 0x1401a9d88
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1401a9d95
call fcn.140003828
mov dword [rax], listen
jmp 0x1401a9db3
cmp word [rbx], di
je 0x1401a9db3
cmp word [rbx + 2], 0x3a
jne 0x1401a9db3
movzx ecx, word [rbx]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
mov rcx, rbx
call fcn.140001316
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140004570
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000623f
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1401be5c0
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x1401be601
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1401be5f5
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1401be603
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1401be5e3
xor eax, eax
ret

Function at 0x140006406
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400cb290
mov r10, rcx
test rdx, rdx
je 0x1400cb2f5
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x1400cb2a0
ret

Function at 0x1400066e0
Capabilities:
Terminate process

Disassembly:
jmp 0x14012fc10
sub rsp, 0x28
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14012fc2a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140007720
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140006e79
Capabilities:
Create directory

Disassembly:
jmp 0x1400d3410
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor edx, edx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400d3435
and dword [rsp + 0x5c], 0
mov byte [rsp + 0x58], 1
jmp 0x1400d3478
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xb7
mov ecx, eax
cmp eax, edi
jne 0x1400d346f
or r9d, 0xffffffff
lea rdx, [rsp + 0x20]
mov r8d, 3
mov rcx, rbx
call fcn.140002fb8
mov ecx, eax
test eax, eax
jne 0x1400d346f
mov eax, dword [rsp + 0x30]
shr eax, 4
test al, 1
cmove ecx, edi
mov byte [rsp + 0x58], 0
mov dword [rsp + 0x5c], ecx
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400072f7
Capabilities:
Get common file path

Disassembly:
jmp 0x140063720
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x14006374a
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, str.LoadLibraryExW
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1401d4a34]
mov rcx, rbx
mov r14, rax
call fcn.140003c24
test rax, rax
je 0x1400637ab
mov rcx, rbx
test r14, r14
je 0x140063798
xor edx, edx
mov r8d, 8
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test r14, r14
je 0x1400637e2
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400637e2
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r15d, eax
test eax, eax
je 0x1400638ac
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp word [rbx + rdx*2], bp
jne 0x140063810
lea ecx, [rax + 1]
add rcx, rdx
add rcx, rcx
call qword [fcn.1400051dc]
mov rsi, rax
test rax, rax
je 0x14006389e
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14006389e
mov rax, rdi
cmp word [rsi + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x140063843
mov dword [rsi + rax*2], 0x5c
inc rdi
cmp word [rsi + rdi*2], bp
jne 0x140063855
add rdi, rdi
sub rdi, rbx
add rdi, rsi
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rbx + rdi], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x140063870
mov rcx, rsi
test r14, r14
je 0x140063895
xor edx, edx
mov r8d, 8
call r14
jmp 0x14006389b
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
mov rcx, rsi
call qword [fcn.14000376f]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
Function at 0x140007680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1401718b0
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor ebp, ebp
mov qword [r11 - 0x48], rdx
lea rax, [r11 + 0x18]
mov qword [r11 - 0x40], rcx
mov rbx, rdx
mov qword [r11 - 0x38], rax
mov r14, rcx
lea r12, [0x140000000]
lea r15d, [rbp + 1]
mov edi, ebp
movzx eax, word [r14]
cmp ax, word [rdi + r12 + 0x1ee34c]
je 0x140171913
cmp ax, word [rdi + r12 + 0x1ee354]
jne 0x1401719ba
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14017192f
cmp rax, qword [rbx + 8]
jbe 0x14017192f
movzx ecx, bp
jmp 0x14017194f
mov rsi, qword [rbx]
mov rcx, qword [rsi]
call fcn.1400012ee
movzx ecx, ax
mov eax, 0xffff
cmp cx, ax
je 0x14017194d
add qword [rsi + 8], r15
jmp 0x14017194f
mov ecx, ebp
add rdi, 2
mov word [r14], cx
cmp rdi, 6
jne 0x1401718f5
mov rax, qword [rbx + 0x10]
mov r13d, 0xfffd
dec rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14017197a
cmp rax, qword [rbx + 8]
ja 0x140171996
movzx eax, cx
sub ax, r15w
cmp ax, r13w
ja 0x140171996
mov rdx, qword [rbx]
dec qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.140006a96
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x80], rax
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x1401719ce
cmp rax, qword [rbx + 8]
jbe 0x1401719ce
movzx eax, bp
jmp 0x1401719eb
lea rcx, [rsp + 0x20]
call fcn.140004abb
mov eax, 7
jmp 0x140171a91
mov rdi, qword [rbx]
mov rcx, qword [rdi]
call fcn.1400012ee
mov ecx, 0xffff
cmp ax, cx
je 0x1401719e9
add qword [rdi + 8], r15
jmp 0x1401719eb
mov eax, ebp
mov word [r14], ax
mov rdi, rbp
cmp ax, word [rdi + r12 + 0x1ee360]
je 0x140171a0c
cmp ax, word [rdi + r12 + 0x1ee370]
jne 0x140171aaf
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140171a28
cmp rax, qword [rbx + 8]
jbe 0x140171a28
movzx ecx, bp
jmp 0x140171a48
mov rsi, qword [rbx]
mov rcx, qword [rsi]
call fcn.1400012ee
movzx ecx, ax
mov eax, 0xffff
cmp cx, ax
je 0x140171a46
add qword [rsi + 8], r15
jmp 0x140171a48
mov ecx, ebp
add rdi, 2
mov word [r14], cx
movzx eax, cx
cmp rdi, 0xa
jne 0x1401719f2
mov rax, qword [rbx + 0x10]
dec rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140171a70
cmp rax, qword [rbx + 8]
ja 0x140171a8c
movzx eax, cx
sub ax, r15w
cmp ax, r13w
ja 0x140171a8c
mov rdx, qword [rbx]
dec qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.140006a96
mov eax, 3
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.140004abb
movzx eax, al
xor eax, r15d
lea eax, [rax*4 + 3]
jmp 0x140171a91
Function at 0x14000798c
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14012eff0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1401ec240]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1401ec238]
call fcn.14012ea68
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14012f030
call qword [0x14023f020]
jmp 0x14012f036
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007ae5
Capabilities:
Set environment variable

Disassembly:
jmp 0x1401bbad8
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140003986
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401bbb62
cmp byte [rbp - 0x21], r15b
je 0x1401bbb5d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401bbb98
call fcn.14000842c
test eax, eax
jne 0x1401bbb84
cmp byte [rbp - 0x21], r15b
je 0x1401bbb7c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401bbb98
cmp byte [rbp - 0x21], r15b
je 0x1401bbb95
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000891d
test eax, eax
jne 0x1401bbc38
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140003986
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401bbbd7
cmp byte [rbp - 0x21], r15b
je 0x1401bbc0c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401bbc0c
call fcn.14000842c
test eax, eax
jne 0x1401bbbf8
cmp byte [rbp - 0x21], r15b
je 0x1401bbbf1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401bbc0c
cmp byte [rbp - 0x21], r15b
je 0x1401bbc09
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000891d
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401bbc38
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401bbc3b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401bbc49
mov rcx, rdi
call fcn.140001316
cmp byte [rbp + 0x3f], r15b
je 0x1401bbc58
mov rcx, qword [rbp + 0x27]
call fcn.140001316
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140007d10
Capabilities:
Parse pe header

Disassembly:
jmp 0x140192dbc
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140192b87
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140192b87
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140192b87
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140192b87
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140192b87
cmp dword [rcx + 0x84], 0xe
jbe 0x140192b87
cmp dword [rcx + 0xf8], 0
je 0x140192b87
mov ecx, ebx
call fcn.140192d0c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140192888
nop
cmp dword [rbp + 0x20], 0
jne 0x140192be8
call fcn.140002031
cmp eax, 1
jne 0x140192bd8
xor dl, dl
jmp 0x140192be2
call fcn.140004007
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x140192bf3
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140192c34
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140192b18

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

Disassembly:
jmp 0x1400edb68
jmp 0x14010a81c
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400edb9a
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400edb7d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000563c
Function at 0x140007ff9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140171b50
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x18], r8
push rdi
sub rsp, 0x40
lea rax, [r11 + 0x18]
mov qword [r11 - 0x28], rdx
mov qword [r11 - 0x18], rax
lea rdi, [0x140000000]
mov qword [r11 - 0x20], rcx
mov r10, rcx
xor r11d, r11d
mov ebp, 0xffff
mov r8d, r11d
movzx eax, word [r10]
cmp ax, word [r8 + rdi + 0x1ee2f0]
je 0x140171bab
cmp ax, word [r8 + rdi + 0x1ee2f8]
jne 0x140171c54
mov rax, qword [rdx + 0x10]
inc rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x140171bc8
cmp rax, qword [rdx + 8]
jbe 0x140171bc8
movzx ecx, r11w
jmp 0x140171be8
mov r9, qword [rdx]
mov rax, qword [r9 + 0x10]
cmp rax, qword [r9 + 8]
je 0x140171be5
movzx ecx, word [rax]
add rax, 2
mov qword [r9 + 0x10], rax
cmp cx, bp
jne 0x140171be8
mov ecx, r11d
add r8, 2
mov word [r10], cx
cmp r8, 6
jne 0x140171b8d
mov rax, qword [rdx + 0x10]
lea ebx, [r8 - 5]
dec rax
mov esi, 0xfffd
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x140171c16
cmp rax, qword [rdx + 8]
ja 0x140171c32
sub cx, bx
cmp cx, si
ja 0x140171c32
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx]
je 0x140171c32
add rax, 0xfffffffffffffffe
mov qword [rcx + 0x10], rax
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x60], rax
inc rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x140171c68
cmp rax, qword [rdx + 8]
jbe 0x140171c68
movzx r8d, r11w
jmp 0x140171c8a
lea rcx, [rsp + 0x20]
call fcn.1400081c5
mov eax, 7
jmp 0x140171d32
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
je 0x140171c87
movzx r8d, word [rax]
add rax, 2
mov qword [rcx + 0x10], rax
cmp r8w, bp
jne 0x140171c8a
mov r8d, r11d
mov word [r10], r8w
mov r9, r11
cmp r8w, word [r9 + rdi + 0x1ee300]
je 0x140171cab
cmp r8w, word [r9 + rdi + 0x1ee310]
jne 0x140171d47
mov rax, qword [rdx + 0x10]
inc rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x140171cc8
cmp rax, qword [rdx + 8]
jbe 0x140171cc8
movzx ecx, r11w
jmp 0x140171ce8
mov r8, qword [rdx]
mov rax, qword [r8 + 0x10]
cmp rax, qword [r8 + 8]
je 0x140171ce5
movzx ecx, word [rax]
add rax, 2
mov qword [r8 + 0x10], rax
cmp cx, bp
jne 0x140171ce8
mov ecx, r11d
add r9, 2
mov word [r10], cx
movzx r8d, cx
cmp r9, 0xa
jne 0x140171c91
mov rax, qword [rdx + 0x10]
dec rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x140171d11
cmp rax, qword [rdx + 8]
ja 0x140171d2d
sub cx, bx
cmp cx, si
ja 0x140171d2d
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx]
je 0x140171d2d
add rax, 0xfffffffffffffffe
mov qword [rcx + 0x10], rax
mov eax, 3
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.1400081c5
movzx eax, al
xor eax, ebx
lea eax, [rax*4 + 3]
jmp 0x140171d32