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

Disassembly:
jmp 0x1400611e0
sub rsp, 0x1e8
mov rax, qword [0x14021dbc0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x140061246
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140061229
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x140061223
shr ax, 8
cmp al, 2
je 0x140061246
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400044d5
add rsp, 0x1e8
ret
call fcn.140008094
test eax, eax
jne 0x14006145b
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 0x140061286
mov qword [0x1402207c8], rsi
jmp 0x140061416
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, [0x1401d29b4]
call fcn.140003ba2
test rax, rax
je 0x1400612ec
mov rcx, rbx
test rbp, rbp
je 0x1400612de
xor edx, edx
mov r8d, 8
call rbp
mov rsi, rax
jmp 0x1400613de
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
jmp 0x1400613de
test rbp, rbp
je 0x14006131b
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14006131b
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x1400613de
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 0x1400613d6
lea ecx, [rax + 1]
lea rcx, [rcx*2 + 0x18]
call qword [fcn.140005114]
mov rdi, rax
test rax, rax
je 0x1400613cd
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400613cd
mov rcx, 0xffffffffffffffff
mov rax, rcx
nop
cmp word [rdi + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x140061370
mov dword [rdi + rax*2], 0x5c
inc rcx
cmp word [rdi + rcx*2], si
jne 0x140061382
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 0x1400613a0
mov rcx, rdi
test rbp, rbp
je 0x1400613c4
xor edx, edx
mov r8d, 8
call rbp
jmp 0x1400613ca
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
mov rcx, rdi
call qword [fcn.140003706]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x1402207c8], rsi
test rsi, rsi
je 0x140061416
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140061416
mov qword [0x1402207c0], rax
mov r9d, 2
mov dword [rsp + 0x20], 3
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.140006b59
test al, al
lea rcx, [0x140223178]
setne byte [0x140223169]
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.1400044d5
add rsp, 0x1e8
ret
Function at 0x1400053d5
Capabilities:
Parse pe header

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

Function at 0x1400055c9
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400de3ec
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 0x1400de426
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400de42b
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 0x1400de474
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 0x1400de474
dec r8
sub rdx, 1
jne 0x1400de45a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140005a42
Capabilities:
Clear file content

Disassembly:
jmp 0x1401a7058
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.1400021fd
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400021fd
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401a71a5
cmp rax, 0xffffffffffffffff
je 0x1401a71a5
xor edi, edi
test rbp, rbp
jle 0x1401a7153
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400072d4
mov rbx, rax
test rax, rax
jne 0x1401a70e0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401a7149
mov edx, 0x8000
mov ecx, r14d
call fcn.140005e6b
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.140006c30
cmp eax, 0xffffffff
je 0x1401a7129
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401a70f0
mov edx, r15d
mov ecx, r14d
call fcn.140005e6b
jmp 0x1401a7149
cmp byte [rsi + 0x38], dil
je 0x1401a7140
cmp dword [rsi + 0x34], 5
jne 0x1401a7140
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1401a7149
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140001316
jmp 0x1401a71b7
jns 0x1401a71b7
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400021fd
cmp rax, 0xffffffffffffffff
jne 0x1401a7171
cmp byte [rsi + 0x30], dil
je 0x1401a71b7
jmp 0x1401a71ad
mov ecx, r14d
call fcn.14000821a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401a71b7
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 0x1401a71b7
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401a71b2
mov edi, dword [rsi + 0x2c]
jmp 0x1401a71b7
mov edi, socket
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400021fd
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 0x140005b23
Capabilities:
Parse pe header

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

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

Disassembly:
jmp 0x1400eb5e4
jmp 0x140108458
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400eb616
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400eb5f9
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400011f9
Function at 0x140005e1b
Capabilities:
Get common file path

Disassembly:
jmp 0x1401a786c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x14021dbc0]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call fcn.1400061e5
lea rdx, [rsp + 0x20]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, 0x104
ja 0x1401a78e0
xor edi, edi
cmp word [rsp + 0x20], di
je 0x1401a793b
cmp word [rsp + 0x22], 0x3a
jne 0x1401a793b
movzx ecx, word [rsp + 0x20]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
jmp 0x1401a793b
lea esi, [rax + 1]
mov edx, 2
mov ecx, esi
call fcn.1400072d4
xor edi, edi
mov rbx, rax
test rax, rax
je 0x1401a7908
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1401a7915
call fcn.1400037ba
mov dword [rax], listen
jmp 0x1401a7933
cmp word [rbx], di
je 0x1401a7933
cmp word [rbx + 2], 0x3a
jne 0x1401a7933
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.1400044d5
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000615e
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1401bc140
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 0x1401bc181
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1401bc175
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1401bc183
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1401bc163
xor eax, eax
ret

Function at 0x140006325
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400c8ae0
mov r10, rcx
test rdx, rdx
je 0x1400c8b45
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 0x1400c8af0
ret

Function at 0x1400065fa
Capabilities:
Terminate process

Disassembly:
jmp 0x14012d730
sub rsp, 0x28
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14012d74a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1400075ef
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 0x140006d5c
Capabilities:
Create directory

Disassembly:
jmp 0x1400e05c8
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 0x1400e05ed
and dword [rsp + 0x5c], 0
mov byte [rsp + 0x58], 1
jmp 0x1400e0630
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xb7
mov ecx, eax
cmp eax, edi
jne 0x1400e0627
or r9d, 0xffffffff
lea rdx, [rsp + 0x20]
mov r8d, 3
mov rcx, rbx
call fcn.140002f6d
mov ecx, eax
test eax, eax
jne 0x1400e0627
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 0x1400071d0
Capabilities:
Get common file path

Disassembly:
jmp 0x140060f70
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 0x140060f9a
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, [0x1401d29b4]
mov rcx, rbx
mov r14, rax
call fcn.140003ba2
test rax, rax
je 0x140060ffb
mov rcx, rbx
test r14, r14
je 0x140060fe8
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 0x140061032
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140061032
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 0x1400610fc
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp word [rbx + rdx*2], bp
jne 0x140061060
lea ecx, [rax + 1]
add rcx, rdx
add rcx, rcx
call qword [fcn.140005114]
mov rsi, rax
test rax, rax
je 0x1400610ee
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400610ee
mov rax, rdi
cmp word [rsi + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x140061093
mov dword [rsi + rax*2], 0x5c
inc rdi
cmp word [rsi + rdi*2], bp
jne 0x1400610a5
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 0x1400610c0
mov rcx, rsi
test r14, r14
je 0x1400610e5
xor edx, edx
mov r8d, 8
call r14
jmp 0x1400610eb
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
mov rcx, rsi
call qword [fcn.140003706]
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 0x14000754a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14016c3a0
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 + 0x1ec2dc]
je 0x14016c403
cmp ax, word [rdi + r12 + 0x1ec2e4]
jne 0x14016c4aa
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14016c41f
cmp rax, qword [rbx + 8]
jbe 0x14016c41f
movzx ecx, bp
jmp 0x14016c43f
mov rsi, qword [rbx]
mov rcx, qword [rsi]
call fcn.1400012ee
movzx ecx, ax
mov eax, 0xffff
cmp cx, ax
je 0x14016c43d
add qword [rsi + 8], r15
jmp 0x14016c43f
mov ecx, ebp
add rdi, 2
mov word [r14], cx
cmp rdi, 6
jne 0x14016c3e5
mov rax, qword [rbx + 0x10]
mov r13d, 0xfffd
dec rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14016c46a
cmp rax, qword [rbx + 8]
ja 0x14016c486
movzx eax, cx
sub ax, r15w
cmp ax, r13w
ja 0x14016c486
mov rdx, qword [rbx]
dec qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.14000698d
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x80], rax
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14016c4be
cmp rax, qword [rbx + 8]
jbe 0x14016c4be
movzx eax, bp
jmp 0x14016c4db
lea rcx, [rsp + 0x20]
call fcn.140004a11
mov eax, 7
jmp 0x14016c581
mov rdi, qword [rbx]
mov rcx, qword [rdi]
call fcn.1400012ee
mov ecx, 0xffff
cmp ax, cx
je 0x14016c4d9
add qword [rdi + 8], r15
jmp 0x14016c4db
mov eax, ebp
mov word [r14], ax
mov rdi, rbp
cmp ax, word [rdi + r12 + 0x1ec2f0]
je 0x14016c4fc
cmp ax, word [rdi + r12 + 0x1ec300]
jne 0x14016c59f
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14016c518
cmp rax, qword [rbx + 8]
jbe 0x14016c518
movzx ecx, bp
jmp 0x14016c538
mov rsi, qword [rbx]
mov rcx, qword [rsi]
call fcn.1400012ee
movzx ecx, ax
mov eax, 0xffff
cmp cx, ax
je 0x14016c536
add qword [rsi + 8], r15
jmp 0x14016c538
mov ecx, ebp
add rdi, 2
mov word [r14], cx
movzx eax, cx
cmp rdi, 0xa
jne 0x14016c4e2
mov rax, qword [rbx + 0x10]
dec rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14016c560
cmp rax, qword [rbx + 8]
ja 0x14016c57c
movzx eax, cx
sub ax, r15w
cmp ax, r13w
ja 0x14016c57c
mov rdx, qword [rbx]
dec qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.14000698d
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.140004a11
movzx eax, al
xor eax, r15d
lea eax, [rax*4 + 3]
jmp 0x14016c581
Function at 0x140007865
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14012cb1c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1401ea1d0]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1401ea1c8]
call fcn.14012c594
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14012cb5c
call qword [0x14023c020]
jmp 0x14012cb62
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400079be
Capabilities:
Set environment variable

Disassembly:
jmp 0x1401b9720
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.140003918
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401b97aa
cmp byte [rbp - 0x21], r15b
je 0x1401b97a5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401b97e0
call fcn.1400082dd
test eax, eax
jne 0x1401b97cc
cmp byte [rbp - 0x21], r15b
je 0x1401b97c4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401b97e0
cmp byte [rbp - 0x21], r15b
je 0x1401b97dd
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.1400087c9
test eax, eax
jne 0x1401b9880
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140003918
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401b981f
cmp byte [rbp - 0x21], r15b
je 0x1401b9854
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401b9854
call fcn.1400082dd
test eax, eax
jne 0x1401b9840
cmp byte [rbp - 0x21], r15b
je 0x1401b9839
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401b9854
cmp byte [rbp - 0x21], r15b
je 0x1401b9851
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.1400087c9
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401b9880
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401b9883
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401b9891
mov rcx, rdi
call fcn.140001316
cmp byte [rbp + 0x3f], r15b
je 0x1401b98a0
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 0x140007bdf
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401928e4
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 0x1401926af
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401926af
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401926af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401926af
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401926af
cmp dword [rcx + 0x84], 0xe
jbe 0x1401926af
cmp dword [rcx + 0xf8], 0
je 0x1401926af
mov ecx, ebx
call fcn.140192834
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.1401923b0
nop
cmp dword [rbp + 0x20], 0
jne 0x140192710
call fcn.140002004
cmp eax, 1
jne 0x140192700
xor dl, dl
jmp 0x14019270a
call fcn.140003f71
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14019271b
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14019275c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140192640

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

Disassembly:
jmp 0x1400eb5a0
jmp 0x140108440
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400eb5d2
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400eb5b5
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000556a
Function at 0x140007ec3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14016c640
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 + 0x1ec280]
je 0x14016c69b
cmp ax, word [r8 + rdi + 0x1ec288]
jne 0x14016c744
mov rax, qword [rdx + 0x10]
inc rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x14016c6b8
cmp rax, qword [rdx + 8]
jbe 0x14016c6b8
movzx ecx, r11w
jmp 0x14016c6d8
mov r9, qword [rdx]
mov rax, qword [r9 + 0x10]
cmp rax, qword [r9 + 8]
je 0x14016c6d5
movzx ecx, word [rax]
add rax, 2
mov qword [r9 + 0x10], rax
cmp cx, bp
jne 0x14016c6d8
mov ecx, r11d
add r8, 2
mov word [r10], cx
cmp r8, 6
jne 0x14016c67d
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 0x14016c706
cmp rax, qword [rdx + 8]
ja 0x14016c722
sub cx, bx
cmp cx, si
ja 0x14016c722
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx]
je 0x14016c722
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 0x14016c758
cmp rax, qword [rdx + 8]
jbe 0x14016c758
movzx r8d, r11w
jmp 0x14016c77a
lea rcx, [rsp + 0x20]
call fcn.14000808a
mov eax, 7
jmp 0x14016c822
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
je 0x14016c777
movzx r8d, word [rax]
add rax, 2
mov qword [rcx + 0x10], rax
cmp r8w, bp
jne 0x14016c77a
mov r8d, r11d
mov word [r10], r8w
mov r9, r11
cmp r8w, word [r9 + rdi + 0x1ec290]
je 0x14016c79b
cmp r8w, word [r9 + rdi + 0x1ec2a0]
jne 0x14016c837
mov rax, qword [rdx + 0x10]
inc rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x14016c7b8
cmp rax, qword [rdx + 8]
jbe 0x14016c7b8
movzx ecx, r11w
jmp 0x14016c7d8
mov r8, qword [rdx]
mov rax, qword [r8 + 0x10]
cmp rax, qword [r8 + 8]
je 0x14016c7d5
movzx ecx, word [rax]
add rax, 2
mov qword [r8 + 0x10], rax
cmp cx, bp
jne 0x14016c7d8
mov ecx, r11d
add r9, 2
mov word [r10], cx
movzx r8d, cx
cmp r9, 0xa
jne 0x14016c781
mov rax, qword [rdx + 0x10]
dec rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x14016c801
cmp rax, qword [rdx + 8]
ja 0x14016c81d
sub cx, bx
cmp cx, si
ja 0x14016c81d
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx]
je 0x14016c81d
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.14000808a
movzx eax, al
xor eax, ebx
lea eax, [rax*4 + 3]
jmp 0x14016c822