joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001f3a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
lea rcx, [0x140053cb8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [rsi + 0x28]
lea rcx, [0x140053cb8]
or dword [rsi + 0x28], 0xffffffff
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x58], ebx
cmp ebx, 0xffffffff
je 0x14001f457
lea rbx, [rdi + 0x80]
cmp qword [rbx], 0
jne 0x14001f403
mov rdx, qword [rdi + 0x20]
lea r8, str.Booleans
mov rcx, rbx
call fcn.14001edb4
test eax, eax
jne 0x14001f457
mov rdx, qword [rsi + 8]
lea rcx, [rsp + 0x60]
call fcn.140006eec
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rcx
mov r9d, 3
mov rcx, qword [rbx]
xor r8d, r8d
mov rdx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001f457
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400207b4
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
mov ebx, dword [rcx + 0x38]
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm0, xmmword [rdi + 0x28]
mov dword [rbp - 0x6c], eax
lea r9, [rsp + 0x40]
lea rax, [rdi + 0x5c]
mov dword [rbp - 0x68], ebx
xor ebx, ebx
mov qword [rbp - 0x60], rax
lea rax, [rdi + 0x60]
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x70]
lea rax, [rdi + 0x68]
mov dword [rbp - 0x70], 1
mov qword [rbp - 0x50], rax
lea r8d, [rbx + 0x50]
lea rax, [rbp + 0x40]
mov qword [rbp - 0x38], rbx
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rsp + 0x28], rax
mov rcx, rsi
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x50
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
movups xmmword [rsp + 0x68], xmm1
mov qword [rsp + 0x78], rbx
movdqa xmmword [rbp - 0x80], xmm0
mov dword [rbp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x140020906
cmp dword [rsp + 0x40], 2
jne 0x140020906
cmp dword [rsp + 0x44], ebx
je 0x140020906
cmp qword [rsp + 0x78], rbx
je 0x140020906
cmp qword [rbp - 0x80], rbx
je 0x140020906
cmp qword [rbp - 0x78], rbx
je 0x140020906
xorps xmm0, xmm0
mov qword [rbp - 0x1c], rbx
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x10], xmm0
xor eax, eax
movaps xmmword [rbp], xmm1
lea r9, [rbp + 0x40]
mov qword [rbp + 0x10], rax
lea r8d, [rbx + 0x50]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp - 0x20]
mov qword [rbp + 0x18], rbx
mov rcx, rsi
mov dword [rbp - 0x20], 3
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140020906
mov rcx, qword [rsp + 0x78]
mov al, 1
mov qword [rdi + 0x40], rcx
mov rcx, qword [rbp - 0x80]
mov qword [rdi + 0x48], rcx
mov rcx, qword [rbp - 0x78]
mov qword [rdi + 0x50], rcx
mov ecx, dword [rsp + 0x44]
mov dword [rdi + 0x58], ecx
jmp 0x140020908
xor al, al
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140024e20
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140024bf4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140024bf4
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140024bf4
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140024bf4
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140024bf4
cmp dword [rcx + 0x84], 0xe
jbe 0x140024bf4
cmp dword [rcx + 0xf8], esi
je 0x140024bf4
mov ecx, r14d
call fcn.140024d3c
mov ecx, 2
call fcn.14002a7f8
nop
cmp byte [0x1400546b0], 0
jne 0x140024cbe
mov r15d, 1
mov eax, r15d
xchg dword [0x1400546a0], eax
test ebx, ebx
jne 0x140024c67
mov rdi, qword [0x140053010]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1400546a8]
cmp rcx, rax
je 0x140024c5e
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140002460]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1400548f0]
jmp 0x140024c73
cmp ebx, r15d
jne 0x140024c79
lea rcx, [0x140054908]
call fcn.14002578c
nop
test ebx, ebx
jne 0x140024c90
lea rdx, [0x140039918]
lea rcx, [0x1400398f8]
call fcn.140025b00
lea rdx, [0x140039928]
lea rcx, [0x140039920]
call fcn.140025b00
movzx eax, byte [0x1400546b0]
test esi, esi
cmove eax, r15d
mov byte [0x1400546b0], al
jmp 0x140024cbe
mov ecx, 2
call fcn.14002a84c
test esi, esi
jne 0x140024cd5
mov ecx, r14d
call fcn.140024cf0
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140024b84
Function at 0x100008220
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x90
mov rbx, rcx
mov edi, 1
lea rdx, [0x100006590]
lea rcx, [rax - 0x40]
mov r8d, 0x91
mov r9d, edi
call fcn.10000cb94
xor ebp, ebp
xor eax, eax
lea r11, [0x100005d20]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0xa0], rbp
mov dword [rsp + 0x40], ebp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], r11
cmp rbx, rbp
je 0x100008448
cmp dword [rbx + 8], ebp
je 0x10000829a
mov rax, qword [rbx]
mov dword [rbx + 8], ebp
mov word [rax], bp
mov eax, 0x9a
lea rdx, [0x1000064f8]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x58], ebp
mov word [rsp + 0x5c], ax
call fcn.100010894
mov dword [rsp + 0x58], eax
cmp eax, ebp
mov eax, 0x9d
jl 0x100008455
mov rsi, qword [rsp + 0x30]
mov word [rsp + 0x5c], ax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100008368
test al, 0x10
jne 0x100008439
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, ebp
jne 0x10000835a
call fcn.10000e4b0
mov ecx, 0xac
mov dword [rsp + 0x58], eax
mov word [rsp + 0x5e], cx
mov rcx, qword [0x100028c90]
lea rdx, [0x100028c90]
cmp rcx, rdx
je 0x10000845a
bt dword [rcx + 0x1c], 0x19
jae 0x10000845a
mov edx, 0xa
mov dword [rsp + 0x28], eax
lea r9, [0x1000065b0]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100005e30]
mov qword [rsp + 0x20], rsi
call fcn.100007f58
jmp 0x10000845a
mov ecx, 0xac
mov dword [rsp + 0x58], ebp
mov word [rsp + 0x5c], cx
lea r8, [rsp + 0xa0]
lea rcx, [0x1000064a0]
xor r9d, r9d
mov edx, edi
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
cmp eax, ebp
jne 0x10000839d
call fcn.10000e4b0
mov edi, 0xb7
mov dword [rsp + 0x58], eax
mov word [rsp + 0x5e], di
jmp 0x10000845a
mov rax, qword [rsp + 0xa0]
lea rdx, [rsp + 0x40]
mov edi, 0xb7
mov rcx, rsi
mov dword [rsp + 0x58], ebp
mov word [rsp + 0x5c], di
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 0x18
mov dword [rsp + 0x50], ebp
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, ebp
jne 0x100008439
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
cmove eax, ebp
movzx r8d, ax
or r8d, 0x80070000
cmp eax, ebp
cmovle r8d, eax
lea eax, [rdi + 0xd]
cmp r8d, ebp
mov dword [rsp + 0x58], r8d
jge 0x100008434
mov word [rsp + 0x5e], ax
mov rcx, qword [0x100028c90]
lea rdx, [0x100028c90]
cmp rcx, rdx
je 0x10000845a
bt dword [rcx + 0x1c], 0x19
jae 0x10000845a
mov edx, 0xb
mov dword [rsp + 0x28], r8d
lea r9, [0x1000065d4]
jmp 0x100008340
mov word [rsp + 0x5c], ax
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.10001070c
jmp 0x10000845a
mov dword [rsp + 0x58], 0x80070057
mov eax, 0x9a
mov word [rsp + 0x5e], ax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.10000f9a4
lea rcx, [rsp + 0x58]
call fcn.10000ccac
lea r11, [rsp + 0x90]
mov eax, ebx
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x100008844
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x60
mov rbx, rcx
lea rdx, [0x100006600]
lea rcx, [rsp + 0x20]
mov r9d, 1
mov r8d, 0x14c
call fcn.10000cb94
xor r13d, r13d
mov dword [rsp + 0x90], r13d
mov r12d, r13d
mov rax, qword [0x100028c90]
lea rcx, [0x100028c90]
cmp rax, rcx
je 0x1000088c6
bt dword [rax + 0x1c], 0x1b
jae 0x1000088c6
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, qword [0x100028c90]
lea edx, [r13 + 0xc]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100005e30]
mov r9, rax
call fcn.100007ed8
mov eax, 0x154
cmp rbx, r13
jne 0x1000088e2
mov dword [rsp + 0x20], 0x80070057
mov word [rsp + 0x26], ax
jmp 0x100008a41
mov dword [rsp + 0x20], r13d
mov word [rsp + 0x24], ax
cmp dword [rbx + 8], r13d
je 0x1000088fd
mov rax, qword [rbx]
mov dword [rbx + 8], r13d
mov word [rax], r13w
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rdi, rax
cmp rax, r13
jne 0x100008934
call fcn.10000e4b0
mov ecx, 0x158
mov dword [rsp + 0x20], eax
mov word [rsp + 0x26], cx
jmp 0x100008a33
cmp dword [rsp + 0x90], 2
mov ecx, 0x158
mov dword [rsp + 0x20], r13d
mov word [rsp + 0x24], cx
jle 0x100008962
lea eax, [rcx + 4]
mov dword [rsp + 0x20], 0x80070057
mov word [rsp + 0x26], ax
jmp 0x100008a33
mov ebp, 1
cmp dword [rsp + 0x90], ebp
jle 0x100008a01
lea rsi, [rax + 8]
mov r15d, 0x165
mov rdx, qword [rsi]
lea rcx, [0x100005e40]
mov r8d, 9
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r13d
jne 0x1000089d8
mov rdx, qword [rsi]
add rdx, 0x12
cmp dword [rbx + 8], r13d
je 0x1000089b1
mov rax, qword [rbx]
mov dword [rbx + 8], r13d
mov word [rax], r13w
mov rcx, rbx
call fcn.1000104c0
cmp eax, r13d
mov dword [rsp + 0x20], eax
jl 0x1000089f9
mov word [rsp + 0x24], r15w
cmp dword [rbx + 8], r13d
jne 0x1000089db
mov eax, 0x169
jmp 0x100008950
inc r12d
inc ebp
add rsi, 8
cmp ebp, dword [rsp + 0x90]
jl 0x10000897e
cmp r12d, r13d
jbe 0x100008a01
mov eax, 0x174
jmp 0x100008950
mov word [rsp + 0x26], r15w
jmp 0x100008a33
mov rcx, qword [0x100028c90]
lea rax, [0x100028c90]
cmp rcx, rax
je 0x100008a33
bt dword [rcx + 0x1c], 0x1b
jae 0x100008a33
mov r9, qword [rbx]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100005e30]
mov edx, 0xd
call fcn.100007ed8
cmp rdi, r13
je 0x100008a41
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.10000ccac
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x100008d2c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov qword [0x100029550], rcx
call fcn.100008a70
xor ecx, ecx
mov edx, eax
mov ebx, eax
call fcn.1000080f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x10000e530
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov esi, r9d
mov r9d, 2
mov rdi, r8
mov rbx, rdx
mov rbp, rcx
lea r8d, [r9 + 0x1f]
lea rdx, [0x100006da0]
lea rcx, [rsp + 0x38]
call fcn.10000cb94
and dword [rsp + 0x30], 0
and dword [rsp + 0xa0], 0
and dword [rsp + 0x98], 0
test rdi, rdi
je 0x10000e583
mov dword [rdi], 0
mov eax, 0x2a
test rbx, rbx
jne 0x10000e59c
mov ebx, 0x80070057
mov word [rsp + 0x3e], ax
jmp 0x10000e675
mov word [rsp + 0x3c], ax
mov eax, 0x2b
test rdi, rdi
je 0x10000e58d
and dword [rsp + 0x38], 0
mov word [rsp + 0x3c], ax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
lea r9, [rsp + 0xa0]
xor r8d, r8d
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x98], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x10000e5ff
cmp eax, 2
jne 0x10000e5ff
lea ebx, [rax - 1]
lea eax, [rbx + 0x30]
jmp 0x10000e670
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x34
mov dword [rsp + 0x38], ebx
test ebx, ebx
jns 0x10000e629
mov word [rsp + 0x3e], ax
mov dword [rsp + 0x40], 1
jmp 0x10000e679
cmp dword [rsp + 0xa0], 4
mov word [rsp + 0x3c], ax
mov eax, 0x36
je 0x10000e647
mov ebx, 0x8007065d
jmp 0x10000e592
cmp dword [rsp + 0x98], 4
mov word [rsp + 0x3c], ax
je 0x10000e665
mov ebx, 0x80004005
mov eax, 0x37
jmp 0x10000e592
mov eax, dword [rsp + 0x30]
xor ebx, ebx
mov dword [rdi], eax
lea eax, [rbx + 0x3b]
mov word [rsp + 0x3c], ax
mov dword [rsp + 0x38], ebx
lea rcx, [rsp + 0x38]
call fcn.10000ccac
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x100010894
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov rbx, rcx
cmp dword [rcx + 8], esi
je 0x1000108b9
mov rax, qword [rcx]
mov dword [rcx + 8], esi
mov word [rax], si
cmp rdx, rsi
jne 0x1000108c5
mov edx, 0x80070057
jmp 0x10001092c
mov r8d, dword [rcx + 0xc]
mov rdx, qword [rcx]
jmp 0x1000108fa
cmp r11d, dword [rbx + 0xc]
jbe 0x10001093e
cmp dword [rbx + 8], esi
je 0x1000108e2
mov rax, qword [rbx]
mov dword [rbx + 8], esi
mov word [rax], si
mov edx, r11d
mov rcx, rbx
call fcn.10000fc08
cmp eax, esi
mov edx, eax
jl 0x10001092c
mov r8d, dword [rbx + 0xc]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r11d, eax
cmp eax, esi
jne 0x1000108ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
or edx, 0x80070000
cmp eax, esi
cmovle edx, eax
cmp dword [rbx + 8], esi
je 0x10001092c
mov rax, qword [rbx]
mov dword [rbx + 8], esi
mov word [rax], si
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, edx
add rsp, 0x20
pop rdi
ret
lea eax, [r11 - 1]
mov edx, esi
cmp eax, dword [rbx + 0xc]
ja 0x1000108be
mov dword [rbx + 8], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], si
jmp 0x10001092c

Function at 0x1000244e0
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100028110]
jne 0x1000244fb
rol rcx, 0x10
test cx, 0xffff
jne 0x1000244f7
ret 0
ror rcx, 0x10
jmp 0x10002482c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100028f40]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x100029038]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1000248b1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100028f40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x1000248d3
mov rax, qword [rsp + 0x88]
mov qword [0x100029038], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100028fd8], rax
mov rax, qword [0x100029038]
mov qword [0x100028eb0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100028fc0], rax
mov dword [0x100028ea0], 0xc0000409
mov dword [0x100028ea4], 1
mov rax, qword [0x100028110]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100028118]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1000017a0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1000246c8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100024715
cmp rcx, 0xffffffffffffffff
je 0x100024715
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10002470d
cmp dword [rcx + 0x3c], edx
jl 0x10002470d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10002470d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100024715
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400d2d80
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x140
mov rax, qword [0x14023e3d8]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, rdx
mov rbp, rcx
xor esi, esi
test rdx, rdx
je 0x1400d2e4b
movsx edx, byte [rdx]
test dl, dl
je 0x1400d2e4b
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rdi + rax], sil
jne 0x1400d2dd0
cmp rax, 1
jne 0x1400d2df2
cmp dl, 0x43
je 0x1400d2eb7
mov eax, 0xfffffffe
jmp 0x1400d2f43
cmp rax, 2
jne 0x1400d2e09
lea eax, [rdx - 0x61]
cmp eax, 0x1a
jae 0x1400d2e41
movsx eax, byte [rdi + 1]
sub eax, 0x61
jmp 0x1400d2e3c
cmp rax, 5
jne 0x1400d2e41
lea eax, [rdx - 0x61]
cmp eax, 0x1a
jae 0x1400d2e41
movsx eax, byte [rdi + 1]
sub eax, 0x61
cmp eax, 0x1a
jae 0x1400d2e41
cmp byte [rdi + 2], 0x5f
jne 0x1400d2e41
movsx eax, byte [rdi + 3]
sub eax, 0x41
cmp eax, 0x1a
jae 0x1400d2e41
movsx eax, byte [rdi + 4]
sub eax, 0x41
cmp eax, 0x1a
jb 0x1400d2eb7
mov eax, 0xfffffffe
jmp 0x1400d2f43
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ecx, eax
mov r9d, 0x100
lea r8, [rsp + 0x30]
mov edx, 0x59
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
cmp eax, 3
jne 0x1400d2e98
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ecx, eax
mov r9d, 0xfc
lea r8, [rsp + 0x33]
mov edx, 0x5a
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
cmp eax, 3
jne 0x1400d2e98
mov byte [rsp + 0x32], 0x5f
jmp 0x1400d2eb2
mov edx, 0x100
lea rcx, [rsp + 0x30]
call qword [sym.imp.VBoxRT.dll_RTLocaleQueryNormalizedBaseLocaleName]
mov esi, eax
test eax, eax
js 0x1400d2f43
lea rdi, [rsp + 0x30]
mov r8, rbp
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.1400da140
nop
lea r14, vtable.util::AutoWriteLock.0
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x20]
call fcn.1400da520
nop
lea rcx, [rbp + 0x30]
mov rdx, rdi
call qword [reloc.VBoxRT.dll___4RTCString__QEAAAEAV0_PEBD_Z]
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400d2f1b
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov r8, rdi
mov rcx, rbp
call fcn.1400d2f70
mov rax, qword [rbx]
mov rbx, rax
cmp rax, qword [rbp + 0x18]
jne 0x1400d2f00
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x20]
call fcn.1400da600
lea rax, vtable.util::AutoWriteLockBase.0
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.1400da330
nop
mov eax, esi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400d6300
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400d5780
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
sub rsp, 0x18
mov r11, rdx
cmp rdx, 0xffffffffffffffff
je 0x1400d5961
mov rdi, qword [rcx + 0x28]
mov rsi, qword [rcx + 0x30]
cmp rdi, rsi
je 0x1400d5961
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], r12
movabs r12, 0xcccccccccccccccd
mov qword [rsp + 0x10], r13
movabs r13, 0x47ae147ae147ae15
mov qword [rsp + 8], r14
xor r14d, r14d
mov qword [rsp], r15
mov r8d, r14d
sub rsi, rdi
movabs r15, 0x624dd2f1a9fbe77
nop dword [rax]
xor bpl, bpl
nop dword [rax]
nop word [rax + rax]
mov bl, 1
mov eax, r8d
mov rcx, r11
inc r8d
movzx r9d, byte [rax + rdi]
test r9b, 0x10
je 0x1400d582c
mov rax, r12
mul r11
shr rdx, 3
lea rax, [rdx + rdx*4]
add rax, rax
sub rcx, rax
jmp 0x1400d587c
test r9b, 0x20
je 0x1400d5851
mov rax, r13
mul r11
mov rax, r11
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 6
imul rax, rax, 0x64
sub rcx, rax
jmp 0x1400d587c
test r9b, 0x40
je 0x1400d587c
cmp r11, 0x3e8
jb 0x1400d587c
mov rax, r15
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 9
cmp rcx, 0x3e8
jae 0x1400d5860
movzx edx, byte [r8 + rdi]
mov eax, r9d
and eax, 7
inc r8d
cmp eax, 4
jne 0x1400d58a5
movzx r10d, byte [r8 + rdi]
lea eax, [r8 + 1]
mov r8d, eax
cmp rcx, rdx
jb 0x1400d58af
cmp rcx, r10
jmp 0x1400d58e3
cmp eax, 1
jne 0x1400d58cf
cmp rcx, rdx
je 0x1400d58e5
xor al, al
movzx ecx, al
movzx eax, cl
xor al, 1
and r9b, 8
movzx edx, al
cmove edx, ecx
test bl, bl
je 0x1400d58e9
test dl, dl
je 0x1400d58e9
mov bl, 1
jmp 0x1400d58eb
cmp eax, 2
jne 0x1400d58db
cmp rcx, rdx
jb 0x1400d58e5
jmp 0x1400d58af
cmp eax, 3
jne 0x1400d58af
cmp rcx, rdx
ja 0x1400d58af
mov al, 1
jmp 0x1400d58b1
xor bl, bl
mov eax, r8d
cmp rax, rsi
je 0x1400d5903
cmp byte [rax + rdi], 0xfd
mov ecx, eax
jne 0x1400d5906
inc r8d
jmp 0x1400d5802
mov ecx, r8d
test bpl, bpl
jne 0x1400d590f
test bl, bl
je 0x1400d5912
mov bpl, 1
cmp rax, rsi
je 0x1400d5925
cmp byte [rdi + rcx], 0xfe
jne 0x1400d5925
inc r8d
jmp 0x1400d5800
test bpl, bpl
jne 0x1400d593a
inc r14
cmp rax, rsi
jae 0x1400d593a
inc r8d
jmp 0x1400d57f0
mov r13, qword [rsp + 0x10]
mov rax, r14
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp]
add rsp, 0x18
pop rdi
pop rsi
ret
xor eax, eax
add rsp, 0x18
pop rdi
pop rsi
ret
Function at 0x1400da6d0
Capabilities:
Query or enumerate registry value

Disassembly:
cmp rdx, 0x1000
jb 0x1400da811
push rbx
sub rsp, 0x40
movabs rax, 0xffff800000000000
mov rbx, rdx
test rax, rdx
jne 0x1400da80c
mov qword [rsp + 0x50], rdi
xor edi, edi
mov qword [rdx], rdi
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ole32.dll_StringFromIID]
test eax, eax
jne 0x1400da807
lea rax, [rsp + 0x38]
xor r8d, r8d
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], rax
lea rdx, str.Interface
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400da7fc
mov rdx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
lea r9d, [rdi + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400da7f1
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400da7e6
cmp dword [rsp + 0x60], 1
jne 0x1400da7e6
mov edx, dword [rsp + 0x58]
xor ecx, ecx
inc edx
shr edx, 1
inc edx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
lea rcx, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov qword [rbx], rax
mov qword [rsp + 0x28], rcx
xor edx, edx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400da7e6
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdi, qword [rsp + 0x50]
add rsp, 0x40
pop rbx
ret