joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003cca0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x14008d040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, r8
mov r12, rdx
mov r15, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call fcn.14000f180
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov r8d, 0x14
lea rdx, str.NtQueryVirtualMemory
lea rcx, [rsp + 0x30]
call fcn.140004bf0
nop
call fcn.140029870
lea r14, [rdi + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x30]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
cmp rbp, 0xf
cmova rdx, rsi
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x14003cd83
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14003cd70
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14000fd40
mov r8, qword [rax + 8]
test r8, r8
je 0x14003cddd
cmp r8, qword [rdi + 8]
je 0x14003cddd
mov rdi, qword [r8 + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x14003cde6
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, r12
mov rcx, qword [r15 + 8]
call rdi
mov edi, eax
jmp 0x14003cdeb
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0xc0000138
cmp rbp, 0xf
jbe 0x14003ce1e
lea rdx, [rbp + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14003ce16
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ce89
mov rcx, rsi
call fcn.140044d2c
test edi, edi
je 0x14003ce26
mov eax, edi
jmp 0x14003ce67
mov rax, qword [rsp + 0x68]
mov qword [rbx + 8], rax
mov eax, dword [rsp + 0x70]
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x60]
mov qword [rbx], rax
mov eax, dword [rsp + 0x84]
mov dword [rbx + 0x24], eax
mov rax, qword [rsp + 0x78]
mov qword [rbx + 0x18], rax
mov eax, dword [rsp + 0x80]
mov dword [rbx + 0x20], eax
mov eax, dword [rsp + 0x88]
mov dword [rbx + 0x28], eax
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140044a90
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14004fdb8
int3
Function at 0x14003cea0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x14008d040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r15, rdx
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [r11 - 0x50], xmm0
mov dword [r11 - 0x40], r12d
call fcn.14000f180
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov r8d, 0x19
lea rdx, str.NtQueryInformationProcess
lea rcx, [rsp + 0x38]
call fcn.140004bf0
nop
mov dword [rsp + 0x30], 1
call fcn.140029870
lea rbx, [rdi + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x38]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x50]
cmp rbp, 0xf
cmova rdx, rsi
movabs r9, 0xcbf29ce484222325
mov ecx, r12d
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x14003cf93
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14003cf80
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.14000fd40
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003cffa
cmp rdx, qword [rdi + 8]
je 0x14003cffa
mov rdi, qword [rdx + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x14003d003
lea rbx, [r14 + 8]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, qword [rbx]
call rdi
mov rcx, rbx
test eax, eax
js 0x14003d007
test r15, r15
je 0x14003d007
mov dil, 1
jmp 0x14003d00d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [r14 + 8]
xor dil, dil
mov rbx, rcx
cmp rbp, 0xf
jbe 0x14003d040
lea rdx, [rbp + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14003d038
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d092
mov rcx, rsi
call fcn.140044d2c
test dil, dil
je 0x14003d061
mov qword [rsp + 0x20], r12
mov r9d, 0x250
mov r8, r15
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140044a90
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14004fdb8
int3
Function at 0x14003d0c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x14008d040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r14, r8
mov r15, rdx
mov r13, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [r11 - 0x60], rax
mov dword [r11 - 0x58], eax
mov dword [r11 - 0x50], r12d
call fcn.14000f180
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov r8d, 0x18
lea rdx, str.NtQueryInformationThread
lea rcx, [rsp + 0x38]
call fcn.140004bf0
nop
mov dword [rsp + 0x30], 1
call fcn.140029870
lea rsi, [rbx + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x38]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x50]
cmp rbp, 0xf
cmova rdx, rdi
movabs r9, 0xcbf29ce484222325
mov ecx, r12d
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x14003d1b3
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14003d1a0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14000fd40
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14003d212
cmp rcx, qword [rbx + 8]
je 0x14003d212
mov rbx, qword [rcx + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14003d21b
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x1c
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, r15
call rbx
test eax, eax
js 0x14003d21b
test r14, r14
je 0x14003d21b
mov bl, 1
jmp 0x14003d21d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor bl, bl
cmp rbp, 0xf
jbe 0x14003d250
lea rdx, [rbp + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14003d248
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d29f
mov rcx, rdi
call fcn.140044d2c
test bl, bl
je 0x14003d270
mov edx, dword [rsp + 0x6c]
mov qword [rsp + 0x20], r12
mov r9d, 0x1000
mov r8, r14
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140044a90
mov rbx, qword [rsp + 0xf8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14004fdb8
int3

Function at 0x14003d2b0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14008d040]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140044a90
add rsp, 0x68
ret
Function at 0x140041510
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1400416eb
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14000df00
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400416b4
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14004162c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400416a3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140041669
mov r10, qword [rdx]
cmp r10, rax
je 0x140041663
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400416a3
cmp r9, rdx
je 0x14004167f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1400416c5
cmp r9, rdx
jne 0x140041670
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1400415b0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400416a3
lea rcx, str.invalid_hash_bucket_count
call fcn.14004276c
int3
Function at 0x140045a7c
Capabilities:
Parse pe header

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

Function at 0x140054a00
Capabilities:
Parse pe header

Disassembly:
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 0x140054a6f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140054a6f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140054a6f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140054a6f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140054a6f
cmp dword [rcx + 0x84], 0xe
jbe 0x140054a6f
cmp dword [rcx + 0xf8], 0
je 0x140054a6f
mov ecx, ebx
call fcn.140054b14
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.140054908
nop
cmp dword [rbp + 0x20], 0
jne 0x140054ad0
call fcn.14005e73c
cmp eax, 1
jne 0x140054ac0
xor dl, dl
jmp 0x140054aca
call fcn.14005e708
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x140054adb
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140054ae4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140054a00

Function at 0x140054be8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140054a00

Function at 0x14005a950
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140096050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x14005a9b5
test rax, rax
jne 0x14005a9a3
lea r9, str.GetLocaleInfoEx
lea r8, [0x1400727d8]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.14005a560
test rax, rax
je 0x14005a9b5
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.140068270
jmp 0x14005a9cf
xor edx, edx
mov rcx, rbp
call fcn.14005ac38
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14005be40
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14005be56
mov al, 1
jmp 0x14005bec2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14005be67
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14005bec0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400607f4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005bec0
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14005bec0
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14005bec0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14005bec2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14005d3a8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400458c0
sub rsp, rax
mov rax, qword [0x14008d040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140058d6c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14005d3f7
mov rax, rbp
jmp 0x14005d503
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x8fe40]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14005d898
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x8fe40]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14005d4ff
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + r12*8 + 0x28]
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005d4ff
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14005d898
test rax, rax
js 0x14005d4ff
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14005d4ff
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14005d4f1
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14005d4f1
cmp byte [rcx], 0xd
jne 0x14005d4d7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14005d4e6
cmp byte [rcx + 1], 0xa
jne 0x14005d4e6
inc rcx
jmp 0x14005d4e6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x8db50]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14005d4b9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14005d503
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140044a90
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005fd4c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14005fd7c
xor eax, eax
jmp 0x14005fe3f
mov rbp, rbx
cmp word [rax], si
je 0x14005fda1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14005fd88
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14005fd84
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14005e588
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x14005fde2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14005fd75
call fcn.140057540
mov rdi, rax
test rax, rax
jne 0x14005fdf8
xor ecx, ecx
call fcn.1400574e0
jmp 0x14005fdd7
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14005e588
test eax, eax
jne 0x14005fe29
mov rcx, rdi
call fcn.1400574e0
jmp 0x14005fe33
xor ecx, ecx
call fcn.1400574e0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140062cec
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x140062d5f
cmp word [rcx], si
je 0x140062d5f
lea rdx, [0x140073958]
call fcn.140066728
test eax, eax
je 0x140062d5f
lea rdx, [0x140073970]
mov rcx, rbx
call fcn.140066728
test eax, eax
jne 0x140062d55
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140062d7c
mov eax, dword [rsp + 0x30]
jmp 0x140062d8e
mov rcx, rbx
call fcn.140050c9c
jmp 0x140062d8e
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140062d80
xor eax, eax
jmp 0x140062d8e
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x140062d8e
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140062da0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.140059348
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140062e43
cmp edi, dword [rsp + 0x30]
je 0x140062e3c
test ebp, ebp
je 0x140062e3c
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x140062e18
sub dx, 0x61
cmp dx, 0x19
ja 0x140062e24
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x140062e05
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x140062e28
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x140062e45
mov eax, 1
jmp 0x140062e45
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140064cd0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
xor edi, edi
mov rax, r15
lea rcx, [0x14008fe40]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x140064d26
cmp word [rdx], r9w
jne 0x140064d26
or byte [rax + rbp*8 + 0x38], 4
jmp 0x140064d2b
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x140064eaa
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x140064e75
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x140064d73
cmp rcx, r8
jae 0x140064d93
cmp word [rcx], r9w
jne 0x140064d73
add rax, 4
mov edx, r9d
jmp 0x140064d76
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x140064d48
jmp 0x140064eaa
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140064e6e
cmp dword [rsp + 0x80], edi
je 0x140064e6e
lea r9, [0x14008fe40]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x140064e48
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x140064dfb
mov word [rbx], bp
jmp 0x140064ea7
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], 0xd
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x140064e16
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x140064ea7
cmp word [rsp + 0x70], bp
jne 0x140064e54
cmp rbx, rsi
je 0x140064df3
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14005d8a0
cmp word [rsp + 0x70], bp
je 0x140064eaa
mov word [rbx], 0xd
jmp 0x140064ea7
mov rcx, r15
lea r9, [0x14008fe40]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140064ea4
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x140064eaa
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret