joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000dadc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov eax, dword [rcx + 0x18]
mov rdi, rcx
xor ebx, ebx
cmp eax, 0xffffffff
jne 0x14000db09
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
mov eax, dword [rdi + 0x18]
jmp 0x14000daf9
test eax, eax
jne 0x14000db4b
or ecx, 0xffffffff
lock cmpxchg dword [rdi + 0x18], ecx
jne 0x14000daf9
xor r9d, r9d
mov dword [rbp + 0x20], ebx
xor r8d, r8d
mov qword [rbp - 0x18], rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp - 0x20], rax
mov r14d, 2
test rax, rax
jne 0x14000db6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x20], eax
jmp 0x14000dbd9
lea ecx, [rax + 1]
lock cmpxchg dword [rdi + 0x18], ecx
jne 0x14000daf9
mov al, 1
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov qword [rsp + 0x28], rbx
lea r9, [rbp - 0x20]
lea r8, [0x14000c83c]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
je 0x14000db3d
mov rax, qword [rbp - 0x20]
lea rdx, [rbp - 0x10]
mov r9d, 0x3a98
mov qword [rbp - 0x10], rax
xor r8d, r8d
mov qword [rbp - 8], rsi
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x14000dbd1
mov dword [rbp + 0x20], 0x65b
cmp eax, 1
jne 0x14000dbd1
lea rdx, [rbp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, rsi
call fcn.14000219c
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14000dbe7
call fcn.14000219c
cmp dword [rbp + 0x20], ebx
jne 0x14000dbf5
xchg dword [rdi + 0x18], r14d
jmp 0x14000db55
xchg dword [rdi + 0x18], ebx
xor al, al
jmp 0x14000db57

Function at 0x14000f3f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0xc], 1
mov rbx, rdx
jb 0x14000f412
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
add rsp, 0x20
pop rbx
jmp qword [rax + 0xc0]
test rbx, rbx
jne 0x14000f41e
mov eax, 0x80070057
jmp 0x14000f46a
and qword [rdx], 0
xor edx, edx
mov rax, qword gs:[0x30]
lea r8d, [rdx + 0x18]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14000f465
and dword [rax + 0xc], 0
lea rcx, vtable.DWriteFontCollection.0
and qword [rax + 0x10], 0
mov qword [rax], rcx
mov dword [rax + 8], 1
mov qword [rbx], rax
xor eax, eax
jmp 0x14000f46a
mov eax, 0x8007000e
add rsp, 0x20
pop rbx
ret
Function at 0x14000f758
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc], 3
mov rdi, r8
jb 0x14000f77d
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x130]
jmp 0x14000f81e
test rdi, rdi
jne 0x14000f78c
mov eax, 0x80004002
jmp 0x14000f81e
and qword [r8], 0
lea rdx, [rsp + 0x30]
mov rcx, qword [rcx + 0x10]
mov r8d, r9d
and qword [rsp + 0x30], 0
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
js 0x14000f81e
cmp qword [rsp + 0x30], 0
je 0x14000f81e
mov rax, qword gs:[0x30]
xor edx, edx
mov rcx, qword [rax + 0x60]
lea r8d, [rdx + 0x18]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14000f802
mov rcx, qword [rsp + 0x30]
lea rax, vtable.DWriteFontCollection.0
and dword [rbx + 0xc], 0
mov qword [rbx], rax
mov dword [rbx + 8], 1
mov qword [rbx + 0x10], rcx
test rcx, rcx
je 0x14000f802
mov rdx, qword [rcx]
call qword [rdx + 8]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
test rbx, rbx
jne 0x14000f819
mov eax, 0x8007000e
jmp 0x14000f81e
mov qword [rdi], rbx
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000f838
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0xc], 2
mov rbx, rdx
jb 0x14000f85a
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
add rsp, 0x20
pop rbx
jmp qword [rax + 0xd0]
test rbx, rbx
jne 0x14000f866
mov eax, 0x80070057
jmp 0x14000f8b2
and qword [rdx], 0
xor edx, edx
mov rax, qword gs:[0x30]
lea r8d, [rdx + 0x18]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14000f8ad
and dword [rax + 0xc], 0
lea rcx, vtable.DWriteFontFallback.0
and qword [rax + 0x10], 0
mov qword [rax], rcx
mov dword [rax + 8], 1
mov qword [rbx], rax
xor eax, eax
jmp 0x14000f8b2
mov eax, 0x8007000e
add rsp, 0x20
pop rbx
ret
Function at 0x1400139e8
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x240
xor r12d, r12d
mov r15d, r8d
xor eax, eax
mov rbx, rdx
mov rsi, rcx
lock cmpxchg qword [rcx], r12
je 0x140013a4f
or rdi, 0xffffffffffffffff
cmp rax, rdi
jne 0x140013a2e
xor eax, eax
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
or rdi, 0xffffffffffffffff
mov qword [rbp + 0x188], r12
test r15b, 1
je 0x140013a6e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
jmp 0x140013bb3
bt qword [0x14001eb08], 0
lea rdx, str.LoadLibraryExW
lea rcx, [0x14002c420]
call fcn.14001391c
mov r14, rax
test rax, rax
je 0x140013a2c
mov r13d, 2
test r13b, r15b
je 0x140013aa5
mov r8d, r13d
jmp 0x140013bab
test r15b, 4
je 0x140013ab3
xor r8d, r8d
jmp 0x140013bab
bt qword [0x14001e878], 0
lea rdx, str.AddDllDirectory
lea rcx, [0x14002c190]
call fcn.14001391c
test rax, rax
jne 0x140013ba5
bt qword [0x14001e870], 0
lea rdx, str.LdrLoadDll
lea rcx, [0x14002c188]
call fcn.14001391c
mov r15, rax
test rax, rax
je 0x140013a2c
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x102
ja 0x140013aab
mov rdx, rdi
mov rax, rbx
mov rcx, r12
test rbx, rbx
je 0x140013b4b
cmp word [rax], r12w
je 0x140013b4b
inc rcx
add rax, r13
sub rdx, 1
jne 0x140013b39
add rcx, rcx
mov qword [rsp + 0x28], rbx
movzx eax, cx
lea r9, [rbp + 0x188]
mov edx, 0xffff
lea r8, [rsp + 0x20]
cmp rcx, rdx
cmova ax, dx
mov word [rsp + 0x20], ax
lea rax, [rcx + 2]
add cx, r13w
cmp rax, rdx
cmova cx, dx
xor edx, edx
mov word [rsp + 0x22], cx
lea rcx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call r15
mov rax, qword [rbp + 0x188]
jmp 0x140013bba
mov r8d, 0x800
xor edx, edx
mov rcx, rbx
call r14
mov qword [rbp + 0x188], rax
test rax, rax
jne 0x140013bc7
xchg qword [rsi], rdi
jmp 0x140013a2c
xchg qword [rsi], rax
test rax, rax
je 0x140013bdc
mov rcx, qword [rbp + 0x188]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [rbp + 0x188]
jmp 0x140013a2e

Function at 0x140015d94
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140015dde
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140015dde
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140015dde
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140015dde
cmp dword [rcx + 0x84], 0xe
jbe 0x140015dde
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140015de0
xor al, al
add rsp, 0x28
ret
Function at 0x140016700
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.1400170a0
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.1400170a0
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.1400170a0
mov ecx, dword [0x14002d9d0]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 8
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.140018920
call fcn.1400170a0
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret
Function at 0x140019e40
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x14002c840]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140019e7c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140015bfc
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140019f38
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x140019f9e
test ebx, ebx
jne 0x140019f9e
lea ecx, [rax + 2]
call fcn.140015bfc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.1400155d0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret

Function at 0x14001a3f0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001a452
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001a452
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x14001a452
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x14001a452
cmp dword [rdx + 0x84], 0xe
jbe 0x14001a452
cmp dword [rdx + 0xf8], 0
je 0x14001a452
mov ecx, ebx
call fcn.14001a200
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14002d8f0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14001a020
cmp dword [rsp + 0x60], 0
jne 0x14001a495
mov ecx, ebx
call fcn.14001a1b0
int3
add rsp, 0x40
pop rbx
ret
Function at 0x14001a4f0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001a54c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001a54c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001a54c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001a54c
cmp dword [rcx + 0x84], 0xe
jbe 0x14001a54c
cmp dword [rcx + 0xf8], 0
je 0x14001a54c
mov ecx, ebx
call fcn.14001a200
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14002d8f0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14001a020
cmp dword [rsp + 0x60], 0
jne 0x14001a58f
mov ecx, ebx
call fcn.14001a1b0
int3
add rsp, 0x40
pop rbx
ret
Function at 0x14001b860
Capabilities:
Get geographical location

Disassembly:
push rbx
push rbp
push rdi
push r15
sub rsp, 0x538
mov rax, qword [0x14002c840]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov r15d, ecx
mov rbp, rdx
mov rcx, qword [0x14002d958]
test rcx, rcx
jne 0x14001b8bb
call fcn.14001cc60
mov rcx, rax
lea rdx, str._create_locale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x14002d958], rcx
xor ebx, ebx
cmp rcx, 0xffffffffffffffff
mov edi, ebx
cmovne rdi, rcx
test rdi, rdi
je 0x14001ba05
test rbp, rbp
je 0x14001b90e
lea edx, [rbx + 0x2d]
mov rcx, rbp
call sub.msvcrt.dll_strchr
test rax, rax
je 0x14001b90e
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rbp
movsx eax, byte [rdx]
test al, al
je 0x14001b91b
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x14001b8f2
mov rdx, rbp
mov ecx, r15d
call rdi
jmp 0x14001bae2
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x14001baff
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x14001b90e
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14001b90e
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x320]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x320], cx
mov edx, 0x1002
lea rcx, [rsp + 0x120]
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14001b90e
lea rax, [rsp + 0x320]
lea rcx, [rsp + 0x20]
movzx edx, word [rax]
test dx, dx
je 0x14001b9eb
mov byte [rcx], dl
inc ebx
inc rcx
add rax, 2
cmp ebx, 0x100
jne 0x14001b9c3
mov rdx, rbp
mov ecx, r15d
call rdi
jmp 0x14001bae2
movsxd rax, ebx
lea rbp, [rsp + 0x20]
mov rdx, rbp
mov ecx, r15d
mov byte [rsp + rax + 0x20], 0
call rdi
jmp 0x14001bae2
cmp r15d, 5
ja 0x14001bad4
test rbp, rbp
je 0x14001bad4
call fcn.14001bc40
mov rdi, rax
test rax, rax
je 0x14001badf
mov qword [rsp + 0x570], rsi
mov qword [rsp + 0x530], r14
call fcn.1400170a0
mov rdx, rbp
mov rsi, rax
mov r14d, dword [rax + 0xc8]
mov ecx, r14d
or ecx, 2
mov dword [rax + 0xc8], ecx
mov ecx, r15d
call fcn.14001c120
test rax, rax
je 0x14001ba7f
mov rax, qword [rsi + 0xc0]
mov ecx, dword [rax + 4]
call sub.msvcrt.dll__setmbcp
test eax, eax
jne 0x14001ba7f
call fcn.14001bc40
mov rbx, rax
mov rcx, qword [rsi + 0xc0]
mov dword [rsi + 0xc8], r14d
mov rax, qword [rdi]
mov r14, qword [rsp + 0x530]
cmp rax, rcx
je 0x14001baa7
mov qword [rdi], rcx
mov qword [rsi + 0xc0], rax
mov rax, qword [rdi + 8]
mov rcx, qword [rsi + 0xb8]
cmp rax, rcx
je 0x14001bac2
mov qword [rdi + 8], rcx
mov qword [rsi + 0xb8], rax
mov rcx, rdi
call fcn.14001bb10
mov rsi, qword [rsp + 0x570]
jmp 0x14001badf
call sub.msvcrt.dll__errno
mov dword [rax], 0x16
mov rax, rbx
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.1400155d0
add rsp, 0x538
pop r15
pop rdi
pop rbp
pop rbx
ret
call fcn.1400163ac
int3
Function at 0x14001c010
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x230
mov rax, qword [0x14002c840]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rbx, rdx
mov edi, ecx
test rdx, rdx
je 0x14001c0a8
mov edx, 0x2d
mov rcx, rbx
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x14001c0a8
mov r9d, 0xff
lea r8, [rsp + 0x20]
mov edx, 0x1001
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14001c0a8
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x20]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x20], cx
mov edx, 0x1002
mov rcx, rbx
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
lea rcx, [rsp + 0x20]
cmove rcx, rbx
mov rbx, rcx
mov rcx, qword [0x14002d970]
test rcx, rcx
jne 0x14001c0de
call fcn.14001cc60
mov rcx, rax
lea rdx, str._wsetlocale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x14002d970], rcx
xor eax, eax
cmp rcx, 0xffffffffffffffff
cmovne rax, rcx
test rax, rax
je 0x14001c0f4
mov rdx, rbx
mov ecx, edi
call rax
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400155d0
mov rbx, qword [rsp + 0x250]
add rsp, 0x230
pop rdi
ret
Function at 0x14001c120
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x14002c840]
xor rax, rsp
mov qword [rsp + 0x520], rax
xor ebx, ebx
mov rdi, rdx
mov esi, ecx
test rdx, rdx
je 0x14001c18c
lea edx, [rbx + 0x2d]
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x14001c18c
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rdi
nop dword [rax]
movsx eax, byte [rdx]
test al, al
je 0x14001c1df
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x14001c170
mov rcx, qword [0x14002d968]
test rcx, rcx
jne 0x14001c1c2
call fcn.14001cc60
mov rcx, rax
lea rdx, str.setlocale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x14002d968], rcx
cmp rcx, 0xffffffffffffffff
cmovne rbx, rcx
test rbx, rbx
je 0x14001c2c3
mov rdx, rdi
mov ecx, esi
call rbx
jmp 0x14001c2c5
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x14001c2ea
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x14001c18c
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14001c18c
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x320]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x320], cx
mov edx, 0x1002
lea rcx, [rsp + 0x120]
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14001c18c
lea rcx, [rsp + 0x320]
mov eax, ebx
lea rdx, [rsp + 0x20]
movzx r8d, word [rcx]
test r8w, r8w
je 0x14001c2b3
mov byte [rdx], r8b
inc eax
inc rdx
add rcx, 2
cmp eax, 0x100
jne 0x14001c291
jmp 0x14001c18c
cdqe
lea rdi, [rsp + 0x20]
mov byte [rsp + rax + 0x20], bl
jmp 0x14001c18c
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.1400155d0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400163ac
int3
Function at 0x14001c520
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x430
mov rax, qword [0x14002c840]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rbp, rdx
mov rdi, rcx
cmp rcx, rdx
je 0x14001c661
lea r14, [0x140000000]
mov r15d, 0x5c
xor r12d, r12d
nop word [rax + rax]
mov eax, dword [rdi]
lea rsi, [r14 + 0x2d980]
mov rbx, qword [rsi + rax*8]
lea rsi, [rsi + rax*8]
nop
test rbx, rbx
je 0x14001c596
cmp rbx, 0xffffffffffffffff
jne 0x14001c6a3
jmp 0x14001c654
cmp byte [0x14002d978], r12b
mov rbx, qword [r14 + rax*8 + 0x26298]
je 0x14001c5b5
mov r8d, 0x800
mov rcx, rbx
jmp 0x14001c63a
test rbx, rbx
je 0x14001c64a
cmp word [rbx], r12w
je 0x14001c64a
mov edx, 0x200
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [rax - 1]
cmp ecx, 0x1fe
ja 0x14001c64a
mov ecx, eax
inc eax
mov word [rsp + rcx*2 + 0x20], r15w
cmp eax, 0x200
jae 0x14001c64a
movzx edx, word [rbx]
test dx, dx
je 0x14001c61b
nop dword [rax]
mov word [rsp + rax*2 + 0x20], dx
inc eax
cmp eax, 0x200
jae 0x14001c64a
movzx edx, word [rbx + 2]
add rbx, 2
test dx, dx
jne 0x14001c600
mov ecx, eax
add rcx, rcx
cmp rcx, 0x400
jae 0x14001c6a8
mov word [rsp + rcx + 0x20], r12w
mov r8d, 8
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [fcn.140009eac]
mov rbx, rax
test rax, rax
jne 0x14001c68f
mov rax, 0xffffffffffffffff
xchg qword [rsi], rax
add rdi, 4
cmp rdi, rbp
jne 0x14001c570
xor eax, eax
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400155d0
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rcx, rbx
xchg qword [rsi], rcx
test rcx, rcx
je 0x14001c6a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, rbx
jmp 0x14001c663
call fcn.1400163ac
int3
Function at 0x140001050
Capabilities:
Encode data using xor

Disassembly:
movzx ecx, cl
sub eax, eax
shl rcx, 4
add r8, rcx
lea r9, [rdx + rax]
lea r10, [rax + r8]
xor ecx, ecx
mov r11b, byte [r10 + rcx]
inc rcx
xor byte [r9], r11b
inc r9
cmp rcx, 4
jne 0x140001066
add rax, 4
cmp rax, 0x10
jne 0x14000105c
ret

Function at 0x1400011e0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov eax, 0x10
push rsp
pop rbp
nop
push r15
push r14
push r13
mov r13, rdx
push r12
push rdi
push rsi
lea rsi, [rdx + r8]
push rbx
push rcx
nop
pop rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0x40
cmp rsi, r13
je 0x1400013ec
cmp eax, 0x10
jne 0x1400013d7
lea r12, [rsp + 0x30]
mov r8, rbx
xor ecx, ecx
mov r15d, 1
movups xmm0, xmmword [rbx + 0xf0]
mov rdx, r12
lea rdi, [rsp + 0x34]
lea r14, str.cw
movups xmmword [rsp + 0x30], xmm0
call fcn.140001050
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rax, r12
mov rcx, r12
nop
push rcx
pop rdx
xor r8d, r8d
movzx r9d, byte [rdx]
inc r8d
add rdx, 4
mov r9b, byte [r14 + r9]
mov byte [rdx - 4], r9b
cmp r8b, 4
jne 0x14000125e
inc rcx
cmp rdi, rcx
jne 0x140001258
mov cl, byte [rsp + 0x35]
mov dl, byte [rsp + 0x31]
mov byte [rsp + 0x31], cl
mov cl, byte [rsp + 0x39]
mov byte [rsp + 0x35], cl
mov cl, byte [rsp + 0x3d]
mov byte [rsp + 0x3d], dl
mov dl, byte [rsp + 0x32]
mov byte [rsp + 0x39], cl
mov cl, byte [rsp + 0x3a]
mov byte [rsp + 0x3a], dl
mov dl, byte [rsp + 0x36]
mov byte [rsp + 0x32], cl
mov cl, byte [rsp + 0x3e]
mov byte [rsp + 0x3e], dl
mov dl, byte [rsp + 0x33]
mov byte [rsp + 0x36], cl
mov cl, byte [rsp + 0x3f]
mov byte [rsp + 0x33], cl
mov cl, byte [rsp + 0x3b]
mov byte [rsp + 0x3f], cl
mov cl, byte [rsp + 0x37]
mov byte [rsp + 0x37], dl
mov byte [rsp + 0x3b], cl
cmp r15d, 0xe
je 0x140001399
mov r8b, byte [rax]
mov cl, byte [rax + 1]
add rax, 4
mov r9b, byte [rax - 1]
mov dl, byte [rax - 2]
xor ecx, r8d
mov r11d, ecx
xor edx, r9d
mov r10d, ecx
add ecx, ecx
sar r11b, 7
xor r10d, edx
and r11d, 0x1b
xor ecx, r11d
mov r11d, r8d
xor r8d, r9d
xor r9d, r10d
xor r11d, r10d
xor ecx, r11d
mov byte [rax - 4], cl
mov cl, byte [rax - 3]
xor cl, byte [rax - 2]
mov r11d, ecx
add ecx, ecx
sar r11b, 7
and r11d, 0x1b
xor ecx, r11d
mov r11b, byte [rax - 3]
xor r11d, r10d
xor ecx, r11d
mov byte [rax - 3], cl
mov ecx, edx
add edx, edx
sar cl, 7
and ecx, 0x1b
xor edx, ecx
mov cl, byte [rax - 2]
xor ecx, r10d
xor edx, ecx
mov byte [rax - 2], dl
mov edx, r8d
add r8d, r8d
sar dl, 7
and edx, 0x1b
xor edx, r8d
xor r9d, edx
mov byte [rax - 1], r9b
cmp qword [rsp + 0x28], rax
jne 0x1400012e9
mov ecx, r15d
mov r8, rbx
mov rdx, r12
inc r15d
call fcn.140001050
jmp 0x140001252
mov r8, rbx
mov rdx, r12
mov ecx, 0xe
call fcn.140001050
mov eax, 0xf
mov dl, byte [rbx + rax + 0xf0]
cmp dl, 0xff
jne 0x1400013ca
mov byte [rbx + rax + 0xf0], 0
sub rax, 1
jae 0x1400013ae
jmp 0x1400013d5
cdqe
inc edx
mov byte [rbx + rax + 0xf0], dl
sub eax, eax
movsxd rdx, eax
inc eax
mov dl, byte [rsp + rdx + 0x30]
xor byte [r13], dl
inc r13
jmp 0x140001206
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret