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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1400e5250]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov r14, rcx
mov qword [rbp + 0xf], rdx
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
lea r8d, [r15 + 6]
lea rdx, str.shadow
lea rcx, [rbp - 0x59]
call fcn.1400026e0
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae rdx, qword [rbp - 0x59]
movabs r9, 0xcbf29ce484222325
mov ecx, r15d
mov r8, qword [rbp - 0x49]
test r8, r8
je 0x14002a7f3
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14002a7e0
lea r8, [rbp - 0x59]
lea rdx, [rbp + 0x17]
lea rcx, [r14 + 0x100]
call fcn.140035500
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x14002a817
mov rbx, qword [r14 + 0x108]
lea rcx, [rbp - 0x59]
call fcn.140002050
cmp rbx, qword [r14 + 0x108]
je 0x14002a86d
mov dword [rsp + 0x20], r15d
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, qword [rbx + 0x30]
call fcn.1400b1bec
movzx ecx, byte [rdi + 8]
mov byte [rax + 8], cl
mov ecx, dword [rdi + 0x10]
mov dword [rax + 0x10], ecx
mov ecx, dword [rdi + 0x14]
mov dword [rax + 0x14], ecx
mov ecx, dword [rdi + 0x18]
mov dword [rax + 0x18], ecx
movups xmm0, xmmword [rdi + 0x1c]
movups xmmword [rax + 0x1c], xmm0
jmp 0x14002a951
mov ecx, 0x30
call fcn.1400860a0
mov rbx, rax
mov qword [rbp + 0x17], rax
mov byte [rax + 8], 1
lea rax, vtable.zcom::PROP_Shadow.0
mov qword [rbx], rax
mov qword [rbx + 0x10], r15
mov dword [rbx + 0x18], 0x40400000
movaps xmm0, xmmword [0x1400cbb40]
movups xmmword [rbx + 0x1c], xmm0
mov qword [rbp + 0x17], rbx
movzx eax, byte [rdi + 8]
mov byte [rbx + 8], al
mov eax, dword [rdi + 0x10]
mov dword [rbx + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rbx + 0x14], eax
mov eax, dword [rdi + 0x18]
mov dword [rbx + 0x18], eax
movups xmm0, xmmword [rdi + 0x1c]
movups xmmword [rbx + 0x1c], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], r15
mov r8d, 6
lea rdx, str.shadow
lea rcx, [rbp - 0x39]
call fcn.1400026e0
nop
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x19], xmm1
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rbp - 9], xmm0
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
mov qword [rbp + 0x17], r15
mov qword [rbp + 7], rbx
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x59]
lea rcx, [r14 + 0x100]
call fcn.140031bf0
nop
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x14002a93d
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
lea rcx, [rbp - 0x19]
call fcn.140002050
nop
lea rcx, [rbp - 0x39]
call fcn.140002050
nop
mov byte [r14 + 0x18], 1
lea rax, vtable.zcom::Property.0
mov qword [rdi], rax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140086080
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400323b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x1400323f4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400323e0
ret
Function at 0x14003a750
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14003a833
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14003a833
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14003a851
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14003a823
cmp word [rax], 0x5c
jne 0x14003a81c
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x14003a81c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14003a807
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x14003a819
test r8b, 0x10
jne 0x14003a81c
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x14003a81c
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.140036360
test edi, edi
jne 0x14003a780
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140036350
int3
Function at 0x14003e730
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
movss xmm5, dword [0x1400cb99c]
mov r12, r9
mov rdi, qword [rsp + 0xd8]
mov r15d, r8d
mov rsi, qword [rsp + 0xd0]
mov r14d, edx
mov rbx, qword [rsp + 0xe0]
mov rbp, rcx
movss dword [rsp + 0x28], xmm5
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x20], rdi
movaps xmmword [rsp + 0x50], xmm7
call fcn.14003d190
mov r8d, r15d
movss dword [rsp + 0x28], xmm5
mov edx, r14d
mov qword [rsp + 0x20], rbx
mov r9, rsi
call fcn.14003d190
movss xmm7, dword [rsp + 0xf0]
mov r9d, 1
movss xmm6, dword [rsp + 0xe8]
mov r8d, r15d
movss dword [rsp + 0x38], xmm7
mov edx, r14d
movss dword [rsp + 0x30], xmm6
mov rcx, rbp
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rdi
call fcn.14003d780
movss dword [rsp + 0x38], xmm7
mov r9d, 2
movss dword [rsp + 0x30], xmm6
mov r8d, r15d
mov qword [rsp + 0x28], rsi
mov edx, r14d
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call fcn.14003d780
mov qword [rsp + 0x30], rsi
mov r9, rdi
mov qword [rsp + 0x28], r12
mov r8d, r15d
mov edx, r14d
mov qword [rsp + 0x20], rbx
mov rcx, rbp
call fcn.14003deb0
mov byte [rsp + 0x48], 0
mov r9d, 1
movss dword [rsp + 0x40], xmm7
mov r8d, r15d
mov qword [rsp + 0x38], rbx
mov edx, r14d
mov qword [rsp + 0x30], rdi
mov rcx, rbp
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r12
call fcn.14003daa0
mov byte [rsp + 0x48], 0
mov r9d, 2
movss dword [rsp + 0x40], xmm7
mov r8d, r15d
mov qword [rsp + 0x38], rbx
mov edx, r14d
mov qword [rsp + 0x30], rdi
mov rcx, rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
call fcn.14003daa0
mov r9, r12
mov r8d, r15d
mov edx, r14d
mov rcx, rbp
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.14003deb0
Function at 0x1400498d0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
lea r8, [rcx + 0x378]
test rcx, rcx
mov rbx, rcx
cmove r8, rax
mov rax, qword [rcx + 8]
add rcx, 0x380
mov rdx, qword [rax + 0x10]
mov qword [rdx + 0x160], r8
call qword [sym.imp.USER32.dll_GetKeyboardState]
mov rdx, qword [rbx + 0x510]
lea rcx, [rsp + 0x20]
add rdx, 0x470
call fcn.140001d70
lea rcx, [rbx + 0x568]
lea rdx, [rsp + 0x20]
call fcn.140007420
lea rcx, [rsp + 0x20]
call fcn.140001ec0
add rsp, 0x40
pop rbx
ret

Function at 0x14004a360
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14004a382
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14004a3fc
mov rdi, r14
mov rcx, rbx
call fcn.140008990
test rax, rax
jle 0x14004a3d4
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140087f80
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14004a3ec
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14004a3f4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14004a396
sub r14, rdi
jmp 0x14004a4df
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14004a413
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14004a415
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14004a447
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140087f80
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14004a4dc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14004a482
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14004a4bd
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140096844
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14004a4dc
cmp rbp, rax
ja 0x14004a490
test rbp, rbp
je 0x14004a4dc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140096844
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x1400545a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1400e5250]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov r14, rcx
mov qword [rbp + 0xf], rdx
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
lea r8d, [r15 + 0xb]
lea rdx, str.flex_shrink
lea rcx, [rbp - 0x59]
call fcn.1400026e0
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae rdx, qword [rbp - 0x59]
movabs r9, 0xcbf29ce484222325
mov ecx, r15d
mov r8, qword [rbp - 0x49]
test r8, r8
je 0x140054643
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140054630
lea r8, [rbp - 0x59]
lea rdx, [rbp + 0x17]
lea rcx, [r14 + 0x100]
call fcn.140035500
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x140054667
mov rbx, qword [r14 + 0x108]
lea rcx, [rbp - 0x59]
call fcn.140002050
cmp rbx, qword [r14 + 0x108]
je 0x1400546a9
mov dword [rsp + 0x20], r15d
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, qword [rbx + 0x30]
call fcn.1400b1bec
movzx ecx, byte [rdi + 8]
mov byte [rax + 8], cl
mov ecx, dword [rdi + 0x10]
mov dword [rax + 0x10], ecx
jmp 0x14005476a
mov ecx, 0x18
call fcn.1400860a0
mov rbx, rax
mov qword [rbp + 0x17], rax
mov byte [rax + 8], 1
lea rax, vtable.zcom::FlexShrink.0
mov qword [rbx], rax
mov dword [rbx + 0x10], 0x3f800000
mov qword [rbp + 0x17], rbx
movzx ecx, byte [rdi + 8]
mov byte [rbx + 8], cl
mov eax, dword [rdi + 0x10]
mov dword [rbx + 0x10], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], r15
mov r8d, 0xb
lea rdx, str.flex_shrink
lea rcx, [rbp - 0x39]
call fcn.1400026e0
nop
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x19], xmm1
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rbp - 9], xmm0
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
mov qword [rbp + 0x17], r15
mov qword [rbp + 7], rbx
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x59]
lea rcx, [r14 + 0x100]
call fcn.140031bf0
nop
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140054756
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
lea rcx, [rbp - 0x19]
call fcn.140002050
nop
lea rcx, [rbp - 0x39]
call fcn.140002050
nop
mov byte [r14 + 0x18], 1
lea rax, vtable.zcom::Property.0
mov qword [rdi], rax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140086080
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007cd40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14006983a
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14006981d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140069808

Function at 0x140086b30
Capabilities:
Parse pe header

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

Function at 0x1400962b8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400962ef
call fcn.140090bc0
mov dword [rax], 0x16
call fcn.14008c8a4
xor eax, eax
jmp 0x14009637d
mov rdx, r9
mov rcx, r8
call fcn.140096254
mov rbx, rax
test rax, rax
je 0x14009637a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140096180]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140096367
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140090b34
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14009634e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14009635d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14009f068
jmp 0x14009637a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140096377
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140096d74
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 0x140096bdf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140096bdf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140096bdf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140096bdf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140096bdf
cmp dword [rcx + 0x84], 0xe
jbe 0x140096bdf
cmp dword [rcx + 0xf8], 0
je 0x140096bdf
mov ecx, ebx
call fcn.140096c90
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.140096a6c
nop
cmp dword [rbp + 0x20], 0
je 0x140096c2d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140096c38
int3
xor r8d, r8d
xor edx, edx
jmp 0x140096b70
Function at 0x14009f6e0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14009f6f6
mov al, 1
jmp 0x14009f756
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14009f707
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14009f754
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400a8d1c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14009f754
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14009f754
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14009f754
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14009f756
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400a2394
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.140086880
sub rsp, rax
mov rax, qword [0x1400e5250]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14009e378
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400a23e3
mov rax, rbp
jmp 0x1400a24eb
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 + 0xefe50]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400a3394
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xefe50]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400a24e7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400a24e7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400a3394
test rax, rax
js 0x1400a24e7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400a24e7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400a24d9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400a24d9
cmp byte [rcx], 0xd
jne 0x1400a24bf
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400a24ce
cmp byte [rcx + 1], 0xa
jne 0x1400a24ce
inc rcx
jmp 0x1400a24ce
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xe5650]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400a24a1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400a24eb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140086080
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 0x1400a3604
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
lea r9, [0x1400efe50]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400a365b
cmp word [rdx], r13w
jne 0x1400a365b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400a3660
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400a3785
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400a37a6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400a3699
mov rdx, r9
mov word [rbx], cx
jmp 0x1400a36c0
cmp r9, r8
jae 0x1400a36d0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400a367a
jmp 0x1400a3785
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400a377a
cmp dword [rsp + 0x80], esi
je 0x1400a377a
lea r8, [0x1400efe50]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400a3752
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400a3722
mov word [rbx], r13w
jmp 0x1400a3782
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400a372f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400a3782
cmp word [rsp + 0x70], r13w
jne 0x1400a375f
cmp rbx, r14
je 0x1400a371c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400a339c
cmp word [rsp + 0x70], r13w
je 0x1400a3785
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
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
lea r8, [0x1400efe50]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400a377f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400a3785
Function at 0x1400a7e20
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 0x1400a7e50
xor eax, eax
jmp 0x1400a7f13
mov rbp, rbx
cmp word [rax], si
je 0x1400a7e75
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400a7e5c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400a7e58
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.1400a5cac
movsxd r14, eax
test eax, eax
jne 0x1400a7eb3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400a7e49
mov rcx, r14
call fcn.14009fe24
mov rdi, rax
test rax, rax
jne 0x1400a7ecc
xor ecx, ecx
call fcn.14009f068
jmp 0x1400a7ea8
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.1400a5cac
test eax, eax
jne 0x1400a7efd
mov rcx, rdi
call fcn.14009f068
jmp 0x1400a7f07
xor ecx, ecx
call fcn.14009f068
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 0x1400a7f30
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 0x1400a7fb7
mov rsi, rbx
cmp word [rax], bp
je 0x1400a7f76
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400a7f60
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400a7f5c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14009fe24
mov rdi, rax
test rax, rax
je 0x1400a7fa4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140087f80
mov rbp, rdi
xor ecx, ecx
call fcn.14009f068
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 0x1400ab270
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.14009dc34
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 0x1400ab311
cmp ebx, dword [rsp + 0x30]
je 0x1400ab30a
test esi, esi
je 0x1400ab30a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400ab2e5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400ab2f2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400ab2cf
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400ab2f6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400ab313
mov eax, 1
jmp 0x1400ab313
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret