joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459860
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45991b
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00459960]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00460760
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004608a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00459860
Function at 0x4629c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402d8f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.004096a0
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004608a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402d60
cmp byte [0x00652410], 0
je 0x4629d5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45f9a0
jmp 0x402d60

Function at 0x4629e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00652780]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x00652410], 0
je 0x462a15
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00652aa0]
aesenc xmm0, xmmword [0x00652ab0]
aesenc xmm0, xmmword [0x00652ac0]
movq rax, xmm0
ret
jmp 0x4098a0

Function at 0x462a20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00652780]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x00652410], 0
je 0x462a56
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00652aa0]
aesenc xmm0, xmmword [0x00652ab0]
aesenc xmm0, xmmword [0x00652ac0]
movq rax, xmm0
ret
jmp 0x409900

Function at 0x4643e0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x00652a20]
mov qword [rsp + 8], rdx
lea r8d, [0x0065242c]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.00462900
add rsp, 0x30
ret
Function at 0x4b4720
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4b488b
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x28], 0
lea rax, [0x005077bc]
mov ebx, 6
call fcn.004a9fa0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rbx
movups xmmword [rsp + 0x50], xmm15
mov qword [rsp + 0x60], 0
lea rcx, [0x004b48a0]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2b
nop
call fcn.00402c20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
nop
cmp rcx, 0xffffffffffffffff
je 0x4b4849
mov rdx, qword [rsp + 0x20]
cmp rdx, rcx
jb 0x4b4885
mov qword [rsp + 0x30], rcx
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
lea rdx, [rsp + 0x50]
call rsi
mov rax, qword [rsp + 0x30]
lea rcx, [rax + 1]
mov rbx, qword [rsp + 0x20]
nop
cmp rbx, rcx
jb 0x4b4878
mov rsi, qword [rsp + 0x50]
sub rbx, rax
dec rbx
mov rdi, rbx
neg rbx
sar rbx, 0x3f
and rcx, rbx
mov r8, qword [rsp + 0x38]
lea rax, [r8 + rcx]
mov rbx, rdi
lea rdx, [rsp + 0x50]
call rsi
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
lea rdx, [rsp + 0x50]
call rcx
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov rax, rcx
mov rcx, rbx
nop
call fcn.00463040
call fcn.00462fc0
nop
call fcn.004608a0
jmp fcn.004b4720
Function at 0x4cfca0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4cff03
sub rsp, 0xb0
mov qword [rsp + 0xa8], rbp
lea rbp, [rsp + 0xa8]
test rax, rax
je 0x4cfee7
mov qword [rsp + 0xb8], rax
mov rbx, qword [rax + 8]
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
test rbx, rbx
jne 0x4cfced
xor ebx, ebx
xor ecx, ecx
jmp 0x4cfd00
mov rax, rdx
call fcn.004c1b00
mov rcx, rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x28], 0
je 0x4cfe1b
mov rcx, qword [rax + 0x18]
mov rax, rcx
nop
call fcn.004751c0
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0xb8]
mov r8, qword [rcx + 0x20]
mov r9, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x005070d9]
mov esi, 1
lea rax, [rsp + 0x68]
mov rbx, qword [rsp + 0x88]
call fcn.0044e0c0
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call fcn.00402c20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
nop
jl 0x4cfdde
xor eax, eax
lea rbx, [0x005070ef]
mov ecx, 1
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x50]
lea r8, [0x00507162]
mov r9d, 2
mov r10, qword [rsp + 0xa0]
mov r11, qword [rsp + 0x60]
call fcn.0044e1a0
jmp 0x4cfe0b
xor eax, eax
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
lea rdi, [0x005070e4]
mov esi, 1
mov r8, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x60]
call fcn.0044e0c0
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov rax, qword [rax + 0x18]
nop
call fcn.004751c0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0x88]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call fcn.00402c20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4cfeaa
xor eax, eax
lea rbx, [0x005070ef]
mov ecx, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x48]
lea r8, [0x00507162]
mov r9d, 2
mov r10, qword [rsp + 0x98]
mov r11, qword [rsp + 0x58]
call fcn.0044e1a0
jmp 0x4cfed7
xor eax, eax
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x005070e4]
mov esi, 1
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x58]
call fcn.0044e0c0
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rax, [0x005074b1]
mov ebx, 5
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov qword [rsp + 8], rax
call fcn.004608a0
mov rax, qword [rsp + 8]
jmp fcn.004cfca0
Function at 0x4d72e0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x10]
cmp r12, qword [r14 + 0x10]
jbe 0x4d74f6
sub rsp, 0x90
mov qword [rsp + 0x88], rbp
lea rbp, [rsp + 0x88]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], r8
test rdi, rdi
je 0x4d7428
mov rax, rcx
mov rbx, rdi
mov rcx, rsi
call fcn.004c1b00
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x60], rbx
mov rdx, qword [rsp + 0xc0]
mov rax, rdx
mov ebx, 0xa
call fcn.0046d580
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x50], rbx
mov rdx, qword [rsp + 0x80]
mov qword [rsp], rdx
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 8], rsi
mov byte [rsp + 0x10], 0x3a
call fcn.00402c20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4d73ee
xor eax, eax
lea rbx, [0x005070ef]
mov ecx, 1
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x60]
lea r8, [0x00507162]
mov r9d, 2
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x50]
call fcn.0044e1a0
jmp 0x4d7418
xor eax, eax
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x005070e4]
mov esi, 1
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x50]
call fcn.0044e0c0
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
nop
mov rax, r8
mov ebx, 0xa
call fcn.0046d580
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x48], rbx
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x78], rcx
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x58], rdx
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call fcn.00402c20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4d74bf
xor eax, eax
lea rbx, [0x005070ef]
mov ecx, 1
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x58]
lea r8, [0x00507162]
mov r9d, 2
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x48]
call fcn.0044e1a0
jmp 0x4d74e6
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
lea rdi, [0x005070e4]
mov esi, 1
mov r8, qword [rsp + 0x68]
mov r9, qword [rsp + 0x48]
call fcn.0044e0c0
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.004608a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.004d72e0
Function at 0x140004060
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x180
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x140004122
mov dword [rsp + 0x50], 0x130
lea rax, [rsp + 0x54]
mov rdi, rax
xor eax, eax
mov ecx, 0x12c
rep stosb byte [rdi], al
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140004117
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call fcn.1400026d0
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x30]
call fcn.140001610
movzx eax, al
test eax, eax
je 0x1400040fa
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140003490
jmp 0x140004117
lea rcx, [rsp + 0x30]
call fcn.140003490
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400040be
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
add rsp, 0x180
pop rdi
ret
Function at 0x140009900
Capabilities:
Create directory

Disassembly:
sub rsp, 0xf8
xor edx, edx
lea rcx, str.C:HPG
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call fcn.1400098b0
movzx eax, al
test eax, eax
jne 0x140009929
xor eax, eax
jmp 0x140009aa1
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
lea rax, [0x14016f9c8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x34]
call fcn.140009730
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x29a
je 0x140009a90
lea rcx, [0x14016f9d0]
call fcn.140009b00
call fcn.14000a260
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], rax
lea rdx, [0x14016f9f8]
mov rcx, qword [rsp + 0x38]
call fcn.140009604
mov qword [rsp + 0x48], rax
lea rdx, str.IDSvia64
mov rcx, qword [rsp + 0x40]
call fcn.140009604
mov rcx, qword [rsp + 0x48]
mov rdx, rcx
mov rcx, rax
call fcn.140009b60
call fcn.14000a520
call fcn.14000a5f0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14016fa38]
call fcn.140009b00
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x58], rax
lea rdx, [0x14016fa48]
mov rcx, qword [rsp + 0x50]
call fcn.140009604
mov qword [rsp + 0x60], rax
lea rdx, str.hpgg
mov rcx, qword [rsp + 0x58]
call fcn.140009604
mov rcx, qword [rsp + 0x60]
mov rdx, rcx
mov rcx, rax
call fcn.140009b60
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [0x14016fa74]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x34]
call fcn.140009730
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x29a
je 0x140009a87
xor eax, eax
jmp 0x140009aa1
mov eax, 1
jmp 0x140009aa1
lea rcx, [0x14016fa78]
call fcn.140009b00
mov eax, 1
add rsp, 0xf8
ret
Function at 0x14000b164
Capabilities:
Parse pe header

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

Function at 0x140011298
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 0x140011103
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140011103
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140011103
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140011103
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140011103
cmp dword [rcx + 0x84], 0xe
jbe 0x140011103
cmp dword [rcx + 0xf8], 0
je 0x140011103
mov ecx, ebx
call fcn.1400111b4
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.140010f90
nop
cmp dword [rbp + 0x20], 0
je 0x140011151
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001115c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140011094
Function at 0x14001de40
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.14000acb0
sub rsp, rax
mov rax, qword [0x14054b0a8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001c7ac
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001de8f
mov rax, rbp
jmp 0x14001df97
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 + 0x54d4c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001ef60
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x54d4c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14001df93
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 0x14001df93
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001ef60
test rax, rax
js 0x14001df93
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14001df93
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14001df85
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14001df85
cmp byte [rcx], 0xd
jne 0x14001df6b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001df7a
cmp byte [rcx + 1], 0xa
jne 0x14001df7a
inc rcx
jmp 0x14001df7a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x54b4a0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001df4d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14001df97
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000ac80
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 0x14001e1b8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001e1ce
mov al, 1
jmp 0x14001e22e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001e1df
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001e22c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400244b4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001e22c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001e22c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001e22c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001e22e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001e300
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, [0x14054d4c0]
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 0x14001e357
cmp word [rdx], r13w
jne 0x14001e357
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001e35c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001e481
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001e4a2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001e395
mov rdx, r9
mov word [rbx], cx
jmp 0x14001e3bc
cmp r9, r8
jae 0x14001e3cc
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 0x14001e376
jmp 0x14001e481
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 0x14001e476
cmp dword [rsp + 0x80], esi
je 0x14001e476
lea r8, [0x14054d4c0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001e44e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001e41e
mov word [rbx], r13w
jmp 0x14001e47e
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 0x14001e42b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001e47e
cmp word [rsp + 0x70], r13w
jne 0x14001e45b
cmp rbx, r14
je 0x14001e418
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001ef68
cmp word [rsp + 0x70], r13w
je 0x14001e481
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, [0x14054d4c0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001e47b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001e481
Function at 0x140023ab0
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 0x140023ae0
xor eax, eax
jmp 0x140023ba3
mov rbp, rbx
cmp word [rax], si
je 0x140023b05
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140023aec
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140023ae8
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.140021e44
movsxd r14, eax
test eax, eax
jne 0x140023b43
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140023ad9
mov rcx, r14
call fcn.14001f1cc
mov rdi, rax
test rax, rax
jne 0x140023b5c
xor ecx, ecx
call fcn.14001ac94
jmp 0x140023b38
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.140021e44
test eax, eax
jne 0x140023b8d
mov rcx, rdi
call fcn.14001ac94
jmp 0x140023b97
xor ecx, ecx
call fcn.14001ac94
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 0x140026a08
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.14001a934
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 0x140026aa9
cmp ebx, dword [rsp + 0x30]
je 0x140026aa2
test esi, esi
je 0x140026aa2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140026a7d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140026a8a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140026a67
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140026a8e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140026aab
mov eax, 1
jmp 0x140026aab
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret