joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400040d4
Capabilities:
Terminate process

Disassembly:
jmp 0x140111410
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140004395
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400cf2b4
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400cf000

Function at 0x1400046a1
Capabilities:
Parse pe header

Disassembly:
jmp 0x140111290
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401112b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401112b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140004bf6
Capabilities:
Clear file content

Disassembly:
jmp 0x14010fec0
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.140001ec4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140001ec4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14011000d
cmp rax, 0xffffffffffffffff
je 0x14011000d
xor edi, edi
test rbp, rbp
jle 0x14010ffbb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140005fe7
mov rbx, rax
test rax, rax
jne 0x14010ff48
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14010ffb1
mov edx, 0x8000
mov ecx, r14d
call fcn.140004f66
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.140005ad8
cmp eax, 0xffffffff
je 0x14010ff91
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14010ff58
mov edx, r15d
mov ecx, r14d
call fcn.140004f66
jmp 0x14010ffb1
cmp byte [rsi + 0x38], dil
je 0x14010ffa8
cmp dword [rsi + 0x34], 5
jne 0x14010ffa8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14010ffb1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140001299
jmp 0x14011001f
jns 0x14011001f
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140001ec4
cmp rax, 0xffffffffffffffff
jne 0x14010ffd9
cmp byte [rsi + 0x30], dil
je 0x14011001f
jmp 0x140110015
mov ecx, r14d
call fcn.140006be5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14011001f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14011001f
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14011001a
mov edi, dword [rsi + 0x2c]
jmp 0x14011001f
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140001ec4
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 0x140004cb9
Capabilities:
Parse pe header

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

Function at 0x140004de0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14005afa0
jmp 0x1400784e0
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14005afd2
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14005afb5
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400011a4
Function at 0x1400051d7
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1401111d0
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x140111211
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x140111205
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x140111213
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1401111f3
xor eax, eax
ret

Function at 0x1400055c9
Capabilities:
Terminate process

Disassembly:
jmp 0x14009b7a8
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14009b7c2
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140006262
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140006447
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14009ab8c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1401252f8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1401252f0]
call fcn.14009a604
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14009abcc
call qword [0x14015e020]
jmp 0x14009abd2
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140006555
Capabilities:
Set environment variable

Disassembly:
jmp 0x1401083a8
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140003102
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140108432
cmp byte [rbp - 0x21], r15b
je 0x14010842d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140108468
call fcn.140006c71
test eax, eax
jne 0x140108454
cmp byte [rbp - 0x21], r15b
je 0x14010844c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140108468
cmp byte [rbp - 0x21], r15b
je 0x140108465
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140007059
test eax, eax
jne 0x140108508
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140003102
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401084a7
cmp byte [rbp - 0x21], r15b
je 0x1401084dc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401084dc
call fcn.140006c71
test eax, eax
jne 0x1401084c8
cmp byte [rbp - 0x21], r15b
je 0x1401084c1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401084dc
cmp byte [rbp - 0x21], r15b
je 0x1401084d9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140007059
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140108508
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14010850b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140108519
mov rcx, rdi
call fcn.140001299
cmp byte [rbp + 0x3f], r15b
je 0x140108528
mov rcx, qword [rbp + 0x27]
call fcn.140001299
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000671c
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400cf2a4
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 0x1400cf06f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400cf06f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400cf06f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400cf06f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400cf06f
cmp dword [rcx + 0x84], 0xe
jbe 0x1400cf06f
cmp dword [rcx + 0xf8], 0
je 0x1400cf06f
mov ecx, ebx
call fcn.1400cf1f4
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.1400ced70
nop
cmp dword [rbp + 0x20], 0
jne 0x1400cf0d0
call fcn.140001d16
cmp eax, 1
jne 0x1400cf0c0
xor dl, dl
jmp 0x1400cf0ca
call fcn.140003611
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x1400cf0db
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400cf11c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400cf000

Function at 0x1400067df
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14005af5c
jmp 0x1400784c8
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14005af8e
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14005af71
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400047fa
Function at 0x14000d440
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x14000d440
push rbp
sub rsp, 0x100
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x78], 0xfffffffffffffffe
mov qword [rbp - 0x18], rcx
mov rax, rcx
mov qword [rbp - 0x10], rax
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x68], r8
mov qword [rbp + 0x60], rdx
mov byte [rbp + 0x5f], 0
call fcn.1400051be
mov rcx, qword [rbp + 0x60]
call fcn.140001145
mov qword [rbp + 0x50], rax
mov rcx, qword [rbp + 0x60]
call fcn.140001145
mov rcx, qword [rbp + 0x50]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
add rax, 0x18
mov rcx, qword [rbp + 0x48]
movzx ecx, word [rcx + 0x14]
add rax, rcx
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x3c], 0
mov eax, dword [rbp + 0x3c]
mov rcx, qword [rbp + 0x48]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x14000d63b
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x40]
movsxd rdx, dword [rbp + 0x3c]
lea rdx, [rdx + rdx*4]
mov ecx, dword [rcx + rdx*8 + 0xc]
add rax, rcx
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x40]
movsxd rdx, dword [rbp + 0x3c]
lea rdx, [rdx + rdx*4]
mov ecx, dword [rcx + rdx*8 + 8]
add rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rbp + 0x3c]
lea rcx, [rcx + rcx*4]
lea rdx, [rax + rcx*8]
lea rcx, [rbp + 8]
call fcn.1400037fb
jmp 0x14000d522
lea rcx, [0x14014bc90]
lea rdx, [0x14011e328]
call fcn.14000198d
mov qword [rbp - 0x20], rax
jmp 0x14000d53e
mov rcx, qword [rbp - 0x20]
lea rdx, [rbp + 8]
call fcn.140005e48
mov qword [rbp - 0x28], rax
jmp 0x14000d554
mov rcx, qword [rbp - 0x28]
lea rdx, str.__0x
call fcn.14000198d
mov qword [rbp - 0x30], rax
jmp 0x14000d56d
mov rcx, qword [rbp - 0x30]
lea rdx, [0x1400060cd]
call fcn.1400031c5
mov qword [rbp - 0x38], rax
jmp 0x14000d586
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp + 0x30]
call fcn.140003959
mov qword [rbp - 0x40], rax
jmp 0x14000d59c
mov rcx, qword [rbp - 0x40]
lea rdx, str.___0x
call fcn.14000198d
mov qword [rbp - 0x48], rax
jmp 0x14000d5b5
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp + 0x28]
call fcn.140003959
mov qword [rbp - 0x50], rax
jmp 0x14000d5cb
mov rcx, qword [rbp - 0x50]
lea rdx, [0x14011e343]
call fcn.14000198d
mov qword [rbp - 0x58], rax
jmp 0x14000d5e4
mov rcx, qword [rbp - 0x58]
lea rdx, [0x14000134d]
call fcn.140003cc9
jmp 0x14000d5f9
lea rcx, [rbp - 8]
mov qword [rbp - 0x60], rcx
lea rdx, [rbp + 0x30]
lea r8, [rbp + 0x28]
call fcn.140004ab6
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x60]
lea r8, [rbp + 8]
call fcn.140005975
jmp 0x14000d624
lea rcx, [rbp + 8]
call fcn.14000208b
mov eax, dword [rbp + 0x3c]
add eax, 1
mov dword [rbp + 0x3c], eax
jmp 0x14000d4bb
mov byte [rbp + 0x5f], 1
test byte [rbp + 0x5f], 1
jne 0x14000d652
mov rcx, qword [rbp - 0x18]
call fcn.1400062d0
mov rax, qword [rbp - 0x10]
add rsp, 0x100
pop rbp
ret
Function at 0x1400278e0
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1400278e0
sub rsp, 0x20
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov qword [rsp], 0
mov rax, qword [rsp]
cmp rax, qword [rsp + 0x18]
jae 0x140027947
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx eax, byte [rax + rcx]
xor rax, qword [rsp + 8]
mov qword [rsp + 8], rax
movabs rax, 0x100000001b3
imul rax, qword [rsp + 8]
mov qword [rsp + 8], rax
mov rax, qword [rsp]
add rax, 1
mov qword [rsp], rax
jmp 0x1400278fb
mov rax, qword [rsp + 8]
add rsp, 0x20
ret

Function at 0x140030a1c
Capabilities:
Parse pe header

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

Function at 0x1400872f4
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400872f4
sub rsp, 0x28
call fcn.140004368
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x140087346
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x140087346
sub ecx, 1
je 0x14008733f
cmp ecx, 1
je 0x140087338
xor eax, eax
jmp 0x14008734b
mov eax, 3
jmp 0x14008734b
mov eax, 1
jmp 0x14008734b
mov eax, 2
add rsp, 0x28
ret

Function at 0x1400cccfc
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x140149880]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r10, rax
lea rdx, [rax - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x1400ccd88
lea r8, [rsp + 0x40]
xor edx, edx
mov cl, byte [rbx]
lea rax, [rsp + 0x234]
mov byte [r8], cl
inc r8
cmp r8, rax
je 0x1400ccd5a
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x1400ccd39
lea rax, [rsp + 0x40]
mov byte [rsp + 0x233], dl
sub r8d, eax
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x30]
dec r8d
lea rdx, [rsp + 0x40]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140003a7b
add rsp, 0x250
pop rbx
ret
Function at 0x1400cf000
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400cf2a4
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 0x1400cf06f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400cf06f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400cf06f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400cf06f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400cf06f
cmp dword [rcx + 0x84], 0xe
jbe 0x1400cf06f
cmp dword [rcx + 0xf8], 0
je 0x1400cf06f
mov ecx, ebx
call fcn.1400cf1f4
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.1400ced70
nop
cmp dword [rbp + 0x20], 0
jne 0x1400cf0d0
call fcn.140001d16
cmp eax, 1
jne 0x1400cf0c0
xor dl, dl
jmp 0x1400cf0ca
call fcn.140003611
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x1400cf0db
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400cf11c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400cf000

Function at 0x1400e9afc
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400e9afc
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x14015f050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x1400e9b61
test rax, rax
jne 0x1400e9b4f
lea r9, [0x140128fd8]
lea r8, [0x140128fd0]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.1400e8f8c
test rax, rax
je 0x1400e9b61
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.140007180
jmp 0x1400e9b7b
xor edx, edx
mov rcx, rbp
call fcn.14000326f
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 0x1400ec5d8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400ec5ee
mov al, 1
jmp 0x1400ec65a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400ec5ff
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400ec658
mov ecx, dword [rcx + 0x18]
nop
call fcn.140006be5
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400ec658
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 0x1400ec658
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400ec658
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400ec65a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400ed2e8
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, [0x14014d8d0]
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 0x1400ed33e
cmp word [rdx], r9w
jne 0x1400ed33e
or byte [rax + rbp*8 + 0x38], 4
jmp 0x1400ed343
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x1400ed4c2
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x1400ed48d
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x1400ed38b
cmp rcx, r8
jae 0x1400ed3ab
cmp word [rcx], r9w
jne 0x1400ed38b
add rax, 4
mov edx, r9d
jmp 0x1400ed38e
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x1400ed360
jmp 0x1400ed4c2
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 0x1400ed486
cmp dword [rsp + 0x80], edi
je 0x1400ed486
lea r9, [0x14014d8d0]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x1400ed460
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x1400ed413
mov word [rbx], bp
jmp 0x1400ed4bf
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 0x1400ed42e
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 0x1400ed4bf
cmp word [rsp + 0x70], bp
jne 0x1400ed46c
cmp rbx, rsi
je 0x1400ed40b
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140001ec4
cmp word [rsp + 0x70], bp
je 0x1400ed4c2
mov word [rbx], 0xd
jmp 0x1400ed4bf
mov rcx, r15
lea r9, [0x14014d8d0]
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 0x1400ed4bc
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400ed4c2
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
Function at 0x1400eef70
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.140002040
sub rsp, rax
mov rax, qword [0x140149880]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14000692e
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400eefbf
mov rax, rbp
jmp 0x1400ef0cb
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 + 0x14d8d0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140002eaa
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x14d8d0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400ef0c7
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 0x1400ef0c7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140002eaa
test rax, rax
js 0x1400ef0c7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400ef0c7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400ef0b9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400ef0b9
cmp byte [rcx], 0xd
jne 0x1400ef09f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400ef0ae
cmp byte [rcx + 1], 0xa
jne 0x1400ef0ae
inc rcx
jmp 0x1400ef0ae
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x149e70]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400ef081
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400ef0cb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140003a7b
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 0x1400f4e50
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400f4e50
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, r8d
mov rbp, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ebx, eax
test eax, eax
je 0x1400f4e98
test rdi, rdi
je 0x1400f4e87
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.140001feb
cmp eax, 1
je 0x1400f4e98
mov eax, 4
jmp 0x1400f4edd
call fcn.1400061ea
cmp eax, 2
jne 0x1400f4ed4
call fcn.140002086
test al, al
je 0x1400f4ed4
call fcn.14000452f
test al, al
jne 0x1400f4eca
bts esi, 0x15
xor ecx, ecx
mov rdx, rdi
mov r8, rbp
mov r9d, esi
call fcn.140006249
jmp 0x1400f4edd
call fcn.140005fab
mov rcx, rax
jmp 0x1400f4eba
neg ebx
sbb eax, eax
neg eax
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret