joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140026f98
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14002701f
mov rsi, rbx
cmp word [rax], bp
je 0x140026fde
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140026fc8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140026fc4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400222b4
mov rdi, rax
test rax, rax
je 0x14002700c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140014460
mov rbp, rdi
xor ecx, ecx
call fcn.140021b9c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140029c68
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140021f50
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140029d09
cmp ebx, dword [rsp + 0x30]
je 0x140029d02
test esi, esi
je 0x140029d02
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140029cdd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140029cea
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140029cc7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140029cee
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140029d0b
mov eax, 1
jmp 0x140029d0b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002e688
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400258fc
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400258fc
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002e7d8
cmp rax, 0xffffffffffffffff
je 0x14002e7d8
xor edi, edi
test rbp, rbp
jle 0x14002e783
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400223cc
mov rbx, rax
test rax, rax
jne 0x14002e710
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002e779
mov edx, 0x8000
mov ecx, r14d
call fcn.14001bcb4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14002404c
cmp eax, 0xffffffff
je 0x14002e759
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14002e720
mov edx, r15d
mov ecx, r14d
call fcn.14001bcb4
jmp 0x14002e779
cmp byte [rsi + 0x38], dil
je 0x14002e770
cmp dword [rsi + 0x34], 5
jne 0x14002e770
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayGetDim
cmp byte [rsi + 0x30], dil
je 0x14002e779
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140021b9c
jmp 0x14002e7ec
jns 0x14002e7ec
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400258fc
cmp rax, 0xffffffffffffffff
jne 0x14002e7a4
cmp byte [rsi + 0x30], dil
je 0x14002e7ec
mov edi, dword [rsi + 0x2c]
jmp 0x14002e7ec
mov ecx, r14d
call fcn.140027544
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002e7ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, SafeArrayGetDim
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayGetDim
jmp 0x14002e7ec
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002e7e5
mov eax, dword [rsi + 0x2c]
jmp 0x14002e7ea
mov eax, SafeArrayGetElement
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400258fc
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14000eca0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14000ecad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14000ecbd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14000eca5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14000ecd5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14000ecc2
sub eax, 3
jb 0x14000ecef
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14000ed26
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14000ed16
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14000ed14
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14000ed03
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14000ec62
jmp 0x14000ecad
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1c00
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14000ed72
cmp rsi, rcx
jae 0x14000ed7a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14000ed59
cmp al, 0x8f
ja 0x14000ed59
cmp byte [rsi - 2], 0xf
je 0x14000ed5f
sub al, 0xe8
cmp al, 1
ja 0x14000ed43
cmp rsi, rcx
jae 0x14000ed7a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14000ed49
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14000ed7a
lodsb al, byte [rsi]
jmp 0x14000ed59
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xc000]
mov eax, dword [rdi]
or eax, eax
je 0x14000edd7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xe000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14000ed87
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14000edd1
mov qword [rbx], rax
add rbx, 8
jmp 0x14000eda7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14000ee11
cmp al, 0xef
ja 0x14000ee03
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14000ede3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14000edf2
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.14000ee90], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14000ee90
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14000ee80
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x14000309f
Capabilities:
Hash data using djb2

Disassembly:
test rdx, rdx
je 0x140003149
add rdx, rcx
mov eax, 0x1505
movzx r8d, byte [rcx]
test r8b, r8b
js 0x1400030be
inc rcx
jmp 0x140003132
mov r9d, r8d
and r9d, 0x1f
movzx r11d, byte [rcx + 1]
and r11d, 0x3f
cmp r8b, 0xdf
jbe 0x140003114
movzx r10d, byte [rcx + 2]
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
cmp r8b, 0xf0
jb 0x140003124
movzx r8d, byte [rcx + 3]
and r9d, 7
shl r9d, 0x12
shl r10d, 6
and r8d, 0x3f
or r8d, r10d
or r8d, r9d
cmp r8d, 0x110000
je 0x140003148
add rcx, 4
jmp 0x140003132
add rcx, 2
shl r9d, 6
or r9d, r11d
mov r8d, r9d
jmp 0x140003132
add rcx, 3
shl r9d, 0xc
or r10d, r9d
mov r8d, r10d
mov r9d, eax
shl r9d, 5
add r9d, r8d
add eax, r9d
cmp rcx, rdx
jne 0x1400030b0
ret
mov eax, 0x1505
ret
Function at 0x1400065e8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movsxd rax, dword [rcx + 0x3c]
mov eax, dword [rcx + rax + 0x88]
test rax, rax
je 0x14000669a
mov edi, edx
mov rsi, rcx
mov r12d, dword [rcx + rax + 0x18]
mov ecx, dword [rcx + rax + 0x1c]
mov r13d, dword [rsi + rax + 0x20]
add r13, rsi
mov ebp, dword [rsi + rax + 0x24]
add rbp, rsi
add rcx, rsi
mov qword [rsp + 0x28], rcx
neg r12
mov r15, 0xffffffffffffffff
lea rbx, [rsp + 0x30]
lea rax, [r12 + r15]
cmp rax, 0xffffffffffffffff
je 0x14000669a
mov r14d, dword [r13 + r15*4 + 4]
add r14, rsi
mov rcx, r14
call sub.msvcrt.dll_strlen
lea r8, [rax + 1]
mov rcx, rbx
mov rdx, r14
call fcn.140005360
cmp qword [rsp + 0x30], 0
jne 0x1400066ae
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
call fcn.14000309f
inc r15
cmp eax, edi
jne 0x140006640
movzx eax, word [rbp + r15*2]
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax*4]
add rsi, rax
jmp 0x14000669a
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140005c10
int3
Function at 0x140002900
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000295d
lea rbx, [0x14002f860]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002944
cmp r10, 2
jb 0x140002944
cmp byte [r9], r8b
jne 0x140002944
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002920
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000299f
lea rbx, [0x14002f860]
cmp r8b, 0x23
jne 0x140002983
cmp byte [r9], r8b
jne 0x140002983
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002970
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002ae0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002afa
mov qword [r8], 0
lea rdx, [0x14002f5c4]
call fcn.1400029b0
mov rbx, rax
test rax, rax
jne 0x140002b1a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140002bf3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002bf3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002bf3
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002bf3
cmp rdi, 0xffffffffffffffff
je 0x140002bf3
mov rax, qword [0x1400398a0]
test rax, rax
je 0x140002b90
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002bf3
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140002be0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400398a0]
test rax, rax
je 0x140002bd5
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002bfc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002bee
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002bfe
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140004850
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd0]
lea r8, [0x14002f860]
movsxd rcx, dword [rcx + 0xc8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov rax, qword [0x1400398a0]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
shr ebx, 8
xor rcx, r11
xor ebx, dword [r8 + rcx*4]
not ebx
cmp dword [rax + 0x3e74], ebx
jne 0x1400048dc
mov dword [rax + 0x3e78], ebx
cmp dword [rax + 0x3ec0], ebx
jne 0x1400048eb
mov byte [rax + 0x3ec4], 1
cmp dword [rax + 0x3e5c], ebx
jne 0x140004902
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1400158b0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14000fc00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140039040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400398a0]
mov edi, ecx
cmp byte [rbx + 0x41cd], 0
jne 0x14000fc61
cmp byte [rbx + 0x41ce], 0
jne 0x14000fc61
movsx r9d, word [rbx + 0x52ae]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002880
test dil, 1
je 0x14000fd88
jmp 0x14000fcec
movss xmm1, dword [rbx + 0x3830]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x52ae]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140033e48]
mov edx, 0x10
mulss xmm1, dword [0x140033e3c]
addss xmm0, dword [rbx + 0xd0c]
addss xmm1, dword [rbx + 0xd10]
mov qword [rbx + 0x3f48], rax
mov dword [rbx + 0x3f34], 1
movss dword [rbx + 0x3f40], xmm0
movss dword [rbx + 0x3f44], xmm1
movss xmm0, dword [rbx + 0x388c]
mulss xmm0, dword [0x140033dcc]
or dword [rbx + 0x3f30], 0x41
movss dword [rbx + 0x3f90], xmm0
call fcn.140002880
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14000fd40
lea r11, [0x14002f860]
nop dword [rax]
cmp r9b, 0x23
jne 0x14000fd23
cmp byte [r8], r9b
jne 0x14000fd23
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14000fd10
not ecx
call fcn.140009420
test rax, rax
je 0x14000fd88
cmp byte [rax + 0x8e], 0
je 0x14000fd88
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x52ae]
mov edx, 0x10
movsx r9d, word [rbx + 0x52ae]
call fcn.140002880
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000bb70
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14002cb10
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140014600
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5360], 0
lea rbx, [rcx + 0x5368]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400146a7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001465a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140016670
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140002f40
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5360]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5370]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140039898]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400146af
mov rcx, rbx
call fcn.140002f40
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14002d710
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140057430
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
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, 0x28
ret

Function at 0x14001eb7c
Capabilities:
Get geographical location

Disassembly:
jmp 0x140051220
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 0x14005125d
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.14001f162
add rsp, 0x58
ret
Function at 0x14001ec35
Capabilities:
Parse pe header

Disassembly:
jmp 0x140057f60
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140057f80
xor al, al
jmp 0x140058001
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140057f93
xor al, al
jmp 0x140058001
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140057fbd
xor al, al
jmp 0x140058001
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140057fd1
xor al, al
jmp 0x140058001
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140057fe3
xor al, al
jmp 0x140058001
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140057fff
xor al, al
jmp 0x140058001
mov al, 1
add rsp, 0x38
ret
Function at 0x14001efe1
Capabilities:
Get common file path

Disassembly:
jmp 0x140052fd0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140053018
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x20], eax
ja 0x140053018
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x14005302f
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
add rsp, 0x48
ret
Function at 0x14001f068
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400316d0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x14006d040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400780f1]
call fcn.14001f185
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x140031736
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x72]
test eax, eax
jne 0x14003173d
mov al, 1
jmp 0x1400318b3
mov rax, qword [rbp + 0x190]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.14001e672
mov word [rbp + 0x160], ax
movzx edx, word [rbp + 0x160]
mov rcx, qword [rbp + 0x190]
call qword [rbp + 0x158]
mov word [rbp + 0x162], ax
call fcn.14001e672
mov word [rbp + 0x164], ax
movzx edx, word [rbp + 0x162]
movzx ecx, word [rbp + 0x164]
call fcn.14001e75d
movzx eax, al
test eax, eax
je 0x1400317a6
xor al, al
jmp 0x1400318b3
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x190]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x140031819
cmp dword [rbp + 0x160], 1
je 0x140031824
cmp dword [rbp + 0x160], 3
je 0x1400318a2
jmp 0x1400318b1
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x72], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140031874
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140031874
xor al, al
jmp 0x1400318b3
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x72]
test eax, eax
jne 0x14003188f
mov dword [rbp + 0x154], 1
jmp 0x140031899
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1400318b3
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x72], 0
mov al, 1
jmp 0x1400318b3
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140062980]
call fcn.14001ee83
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.14001e88e
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret

Function at 0x14001f2e8
Capabilities:
Move file

Disassembly:
jmp 0x1400543f0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, 3
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x14005441c
xor eax, eax
jmp 0x140054422
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x28
ret