joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011600
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x410
mov rax, qword [0x1400b6060]
xor rax, rsp
mov qword [rsp + 0x400], rax
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea r8, str.antidbg
mov rbx, rcx
mov dword [rsp + 0xd4], eax
xor edi, edi
mov qword [rsp + 0x60], rax
xor ecx, ecx
mov dword [rsp + 0x68], edi
xor edx, edx
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400116ab
mov rcx, rbx
call fcn.140049fd0
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_DebugActiveProcess]
test eax, eax
je 0x140011781
jmp 0x140011760
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, 0x104
lea rdx, [rsp + 0x1f0]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r9, [rsp + 0x1f0]
mov dword [rsp + 0x20], ebx
lea r8, str._ws__d
mov edx, 0x109
lea rcx, [rsp + 0xe0]
call fcn.140010d40
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.1400216a0
mov rbx, qword [rsp + 0x428]
add rsp, 0x410
pop rdi
ret
mov ecx, 0x22b
call fcn.140048e50
int3

Function at 0x140011790
Capabilities:
Check for time delay via queryperformancecounter
Terminate process

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400b6060]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x48]
sub rax, qword [rsp + 0x50]
cmp rax, 0x1e
jle 0x1400117f2
lea rdx, [rsp + 0x20]
call fcn.140011820
xor r8d, r8d
lea rdx, [rax + 1]
nop word [rax + rax]
movzx ecx, byte [rax]
xor byte [rdx + r8], cl
inc r8
cmp r8, 0x22
jae 0x140011804
jmp 0x1400117e0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400216a0
add rsp, 0x68
ret
mov ecx, 0x3001
mov byte [rax + 0x23], 0
call fcn.140010da0
mov ecx, 0x3001
call fcn.140048e50
int3
Function at 0x1400118b0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x538
mov rax, qword [0x1400b6060]
xor rax, rsp
mov qword [rsp + 0x520], rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x4d0
call fcn.140025dd0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x80], 0x100010
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140011972
cmp qword [rsp + 0x98], 0
jne 0x140011940
cmp qword [rsp + 0xa0], 0
jne 0x140011940
cmp qword [rsp + 0xa8], 0
jne 0x140011940
cmp qword [rsp + 0xb0], 0
jne 0x140011940
cmp qword [rsp + 0xb8], 0
jne 0x140011940
cmp qword [rsp + 0xc0], 0
je 0x140011972
lea rdx, [rsp + 0x20]
call fcn.1400119b0
xor r8d, r8d
lea rdx, [rax + 1]
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax]
xor byte [rdx + r8], cl
inc r8
cmp r8, 0x2a
jae 0x14001198a
jmp 0x140011960
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.1400216a0
add rsp, 0x538
ret
mov ecx, 0x2000
mov byte [rax + 0x2b], 0
call fcn.140010da0
mov ecx, 0x2000
call fcn.140048e50
int3

Function at 0x140011a00
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor ebx, ebx
mov edi, ebx
mov ecx, 0xbeef
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140011a22
test edi, edi
je 0x140011a51
mov byte [rsp + 0x60], 0
lea rdx, [rsp + 0x20]
call fcn.140011a80
lea rdx, [rax + 1]
nop dword [rax]
movzx ecx, byte [rax]
xor byte [rdx + rbx], cl
inc rbx
cmp rbx, 0x23
jae 0x140011a5c
jmp 0x140011a40
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov byte [rax + 0x24], 0
mov ecx, 0x4000
call fcn.140010da0
mov ecx, 0x4000
call fcn.140048e50
nop
int3

Function at 0x140011ae0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str._s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140011af3
add rsp, 0x28
ret
Function at 0x140018c40
Capabilities:
Contain obfuscated stackstrings
Enumerate gui resources
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1400b6060]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor edx, edx
mov rdi, rcx
xor r14d, r14d
mov esi, r14d
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140018cfe
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140018cd6
mov rcx, rdi
call fcn.140009880
mov rdx, rax
lea rcx, [rsp + 0x7c]
call fcn.140048fe0
test eax, eax
je 0x140018cd2
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140018ca5
jmp 0x140018cd6
mov esi, dword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x140018cfe
mov edx, esi
lea rcx, [0x140018be0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [0x1400b9e70]
jmp 0x140018db3
mov cl, 0x4d
mov dword [rsp + 0x20], 0x1d004d
mov dword [rsp + 0x24], 0x22003f
mov rax, r14
mov dword [rsp + 0x28], 0x28002e
mov dword [rsp + 0x2c], 0x3e003e
mov dword [rsp + 0x30], 0x23006d
mov dword [rsp + 0x34], 0x390022
mov dword [rsp + 0x38], 0x2b006d
mov dword [rsp + 0x3c], 0x380022
mov dword [rsp + 0x40], 0x290023
mov dword [rsp + 0x44], 0x6d0077
mov word [rsp + 0x48], r14w
nop dword [rax]
movsx ecx, cl
xor word [rsp + rax*2 + 0x22], cx
inc rax
cmp rax, 0x13
jae 0x140018d78
movzx ecx, byte [rsp + 0x20]
jmp 0x140018d60
lea rdx, [rsp + 0x22]
mov word [rsp + 0x48], r14w
lea rcx, [0x1400b7db0]
call fcn.140017100
cmp qword [rdi + 0x20], 8
lea rdx, [rdi + 8]
jb 0x140018d9d
mov rdx, qword [rdx]
mov r8, qword [rdi + 0x18]
mov rcx, rax
call fcn.140018de0
mov rcx, rax
call fcn.1400173d0
xor eax, eax
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400216a0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400192f0
Capabilities:
Manipulate console buffer

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400b6060]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rcx
movzx edi, dx
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x28]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx edx, word [rsp + 0x32]
mov rcx, rbx
movsx eax, word [rsp + 0x36]
sub eax, edx
sub eax, dword [rsi + 0x18]
inc eax
cdq
sub eax, edx
sar eax, 1
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x2e]
mov word [rsp + 0x22], ax
mov edx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
movzx edx, di
lea rcx, [0x1400b7840]
call fcn.140016f60
cmp qword [rsi + 0x20], 0x10
lea rdx, [rsi + 8]
jb 0x14001937f
mov rdx, qword [rdx]
mov r8, qword [rsi + 0x18]
mov rcx, rax
call fcn.14000f930
mov rcx, rax
call fcn.14000dbe0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400216a0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14001a400
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14001a43d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14001a3a0
add rsp, 0x58
ret

Function at 0x14001ac40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rdx, qword [rsp + 0x70]
mov ecx, 0x105
call fcn.14001a770
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14001ac7f
mov dword [rsp + 0x2c], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
jmp 0x14001ad20
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
je 0x14001aca0
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
jne 0x14001acb7
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], 0xffffffff
mov rax, qword [rsp + 0x34]
jmp 0x14001ad20
mov eax, dword [rsp + 0x24]
and eax, 0x400
test eax, eax
je 0x14001ad0b
mov r9d, 0x2000000
mov r8d, 0x80
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14001ad30
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x50]
call fcn.14001a7f0
cmp dword [rsp + 0x28], 0
je 0x14001ad0b
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x40], 0xffffffff
mov rax, qword [rsp + 0x3c]
jmp 0x14001ad20
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x44]
add rsp, 0x68
ret

Function at 0x14002c490
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14002bf70
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14002c4cf
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14008d4d8]
jmp 0x14002c4d9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x14005c3b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x140060fe0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.14008a2e0
sub rsp, rax
mov rax, qword [0x1400b6060]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1400b9700]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1400611d2
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x140061126
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140061126
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14006110b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1400610a8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140061192
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400611f1
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x1400611cd
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400611f1
jmp 0x14006107e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400216a0
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140061210
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.14008a2e0
sub rsp, rax
mov rax, qword [0x1400b6060]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1400b9700]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14006141d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x140061369
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x140061369
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x140061349
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x1400612d8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400613dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14006143c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x140061418
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14006143c
jmp 0x1400612ae
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400216a0
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14006a750
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.140069c20
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14006a7b7
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x14008d4e0]
jmp 0x14006a7d9
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14006aae0
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret
Function at 0x1400768a0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14001a4e0
lea rcx, [rsp + 0x40]
call fcn.140076860
movzx eax, al
test eax, eax
jne 0x1400768e8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.140076770
mov rax, qword [rsp + 0x70]
jmp 0x140076ab9
lea rcx, [rsp + 0x40]
call fcn.14001a5d0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140076810
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.14001a5d0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1400733e0
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14007698e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.140076770
mov rax, qword [rsp + 0x80]
jmp 0x140076ab9
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400327d0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001a4e0
lea rcx, [rsp + 0x48]
call fcn.14001a590
movzx eax, al
test eax, eax
jne 0x1400769f5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.14001a550
lea rcx, [rsp + 0x40]
call fcn.140076770
mov rax, qword [rsp + 0x88]
jmp 0x140076ab9
lea rcx, [rsp + 0x48]
call fcn.14001a5d0
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14001a5d0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1400733e0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140076a8b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.14001a550
lea rcx, [rsp + 0x40]
call fcn.140076770
mov rax, qword [rsp + 0xa0]
jmp 0x140076ab9
lea rcx, [rsp + 0x48]
call fcn.140024b80
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.14001a550
lea rcx, [rsp + 0x40]
call fcn.140076770
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x140076ad0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14001a4e0
lea rcx, [rsp + 0x20]
call fcn.140076790
movzx eax, al
test eax, eax
jne 0x140076b15
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.140076770
mov rax, qword [rsp + 0x40]
jmp 0x140076c0f
lea rcx, [rsp + 0x20]
call fcn.14001a5d0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140076810
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.1400327d0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14001a4e0
lea rcx, [rsp + 0x28]
call fcn.14001a590
movzx eax, al
test eax, eax
jne 0x140076baf
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.14001a550
lea rcx, [rsp + 0x20]
call fcn.140076770
mov rax, qword [rsp + 0x50]
jmp 0x140076c0f
lea rcx, [rsp + 0x20]
call fcn.14001a5d0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.14001a5d0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140025720
lea rcx, [rsp + 0x28]
call fcn.140024b80
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.14001a550
lea rcx, [rsp + 0x20]
call fcn.140076770
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret

Function at 0x140078340
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x140084d20
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
lea rcx, [rsp + 0xe8]
call fcn.140052fd0
lea rcx, [rsp + 0xb8]
call fcn.140052fd0
lea rcx, [rsp + 0x88]
call fcn.140052fd0
call fcn.14005c0a0
mov r8d, eax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x130]
call fcn.140052ec0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140084dc2
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x88]
call fcn.140053060
lea rcx, [rsp + 0xb8]
call fcn.140053060
lea rcx, [rsp + 0xe8]
call fcn.140053060
mov eax, dword [rsp + 0x54]
jmp 0x140084f68
call fcn.14005c0a0
mov r8d, eax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x138]
call fcn.140052ec0
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x140084e22
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x88]
call fcn.140053060
lea rcx, [rsp + 0xb8]
call fcn.140053060
lea rcx, [rsp + 0xe8]
call fcn.140053060
mov eax, dword [rsp + 0x5c]
jmp 0x140084f68
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x168], 0
je 0x140084ea8
call fcn.14005c0a0
mov r8d, eax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x168]
call fcn.140052ec0
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140084e96
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x88]
call fcn.140053060
lea rcx, [rsp + 0xb8]
call fcn.140053060
lea rcx, [rsp + 0xe8]
call fcn.140053060
mov eax, dword [rsp + 0x64]
jmp 0x140084f68
lea rcx, [rsp + 0x88]
call fcn.140053390
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb8]
call fcn.140053390
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xe8]
call fcn.140053390
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x148]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x88]
call fcn.140053060
lea rcx, [rsp + 0xb8]
call fcn.140053060
lea rcx, [rsp + 0xe8]
call fcn.140053060
mov eax, dword [rsp + 0x68]
add rsp, 0x128
ret