joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140031acc
Capabilities:
Set environment variable

Disassembly:
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.14001c248
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140031b56
cmp byte [rbp - 0x21], r15b
je 0x140031b51
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140031b8c
call fcn.140024ffc
test eax, eax
jne 0x140031b78
cmp byte [rbp - 0x21], r15b
je 0x140031b70
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140031b8c
cmp byte [rbp - 0x21], r15b
je 0x140031b89
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.14001c844
test eax, eax
jne 0x140031c2c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001c248
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140031bcb
cmp byte [rbp - 0x21], r15b
je 0x140031c00
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140031c00
call fcn.140024ffc
test eax, eax
jne 0x140031bec
cmp byte [rbp - 0x21], r15b
je 0x140031be5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140031c00
cmp byte [rbp - 0x21], r15b
je 0x140031bfd
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.14001c844
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140031c2c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140031c2f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140031c3d
mov rcx, rdi
call fcn.140022598
cmp byte [rbp + 0x3f], r15b
je 0x140031c4c
mov rcx, qword [rbp + 0x27]
call fcn.140022598
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 0x140032e64
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.140027574
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140027574
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140032fb4
cmp rax, 0xffffffffffffffff
je 0x140032fb4
xor edi, edi
test rbp, rbp
jle 0x140032f5f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140021444
mov rbx, rax
test rax, rax
jne 0x140032eec
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140032f55
mov edx, 0x8000
mov ecx, r14d
call fcn.14001dc1c
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.140022290
cmp eax, 0xffffffff
je 0x140032f35
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140032efc
mov edx, r15d
mov ecx, r14d
call fcn.14001dc1c
jmp 0x140032f55
cmp byte [rsi + 0x38], dil
je 0x140032f4c
cmp dword [rsi + 0x34], 5
jne 0x140032f4c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140032f55
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140022598
jmp 0x140032fc8
jns 0x140032fc8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140027574
cmp rax, 0xffffffffffffffff
jne 0x140032f80
cmp byte [rsi + 0x30], dil
je 0x140032fc8
mov edi, dword [rsi + 0x2c]
jmp 0x140032fc8
mov ecx, r14d
call fcn.14002b24c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140032fc8
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 0x140032fc8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140032fc1
mov eax, dword [rsi + 0x2c]
jmp 0x140032fc6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140027574
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 0x1400337d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400337f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400337f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140034390
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14004f080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], 0x19
mov byte [rsp + 0x30], 0xbc
mov byte [rsp + 0x31], 0xb6
mov byte [rsp + 0x32], 0x5f
mov byte [rsp + 0x33], 0x39
mov byte [rsp + 0x34], 0x60
mov byte [rsp + 0x35], 0x43
mov byte [rsp + 0x36], 0x53
mov byte [rsp + 0x37], 0xa0
mov byte [rsp + 0x38], 0xa7
mov byte [rsp + 0x39], 0xa4
mov byte [rsp + 0x3a], 0x44
mov byte [rsp + 0x3b], 0x2e
mov byte [rsp + 0x3c], 0x73
mov byte [rsp + 0x3d], 0xa
mov byte [rsp + 0x3e], 0x49
mov byte [rsp + 0x3f], 0xb5
mov byte [rsp + 0x40], 0xeb
mov byte [rsp + 0x41], 0xa6
mov byte [rsp + 0x42], 0x5b
mov byte [rsp + 0x43], 0x22
mov byte [rsp + 0x44], 0x72
mov byte [rsp + 0x45], 6
mov byte [rsp + 0x46], 0x11
mov byte [rsp + 0x47], 0xe8
mov byte [rsp + 0x48], 0xd1
mov eax, 0x2f4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x1400344af
mov eax, 0x2f4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x2f4
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x138
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140003880
lea rcx, [0x14003c160]
call fcn.1400100c0
nop
mov eax, 0x138
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000ff80
add rsp, 0x68
ret
Function at 0x1400344e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14004f080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x28], 0x17
mov byte [rsp + 0x30], 0xbc
mov byte [rsp + 0x31], 0x2e
mov byte [rsp + 0x32], 0x1d
mov byte [rsp + 0x33], 0x1b
mov byte [rsp + 0x34], 0xd4
mov byte [rsp + 0x35], 0x67
mov byte [rsp + 0x36], 0x47
mov byte [rsp + 0x37], 0xb9
mov byte [rsp + 0x38], 0xa2
mov byte [rsp + 0x39], 0x3e
mov byte [rsp + 0x3a], 7
mov byte [rsp + 0x3b], 6
mov byte [rsp + 0x3c], 0xc5
mov byte [rsp + 0x3d], 0x33
mov byte [rsp + 0x3e], 0xb
mov byte [rsp + 0x3f], 0xb8
mov byte [rsp + 0x40], 0xbd
mov byte [rsp + 0x41], 0x32
mov byte [rsp + 0x42], 6
mov byte [rsp + 0x43], 0xa
mov byte [rsp + 0x44], 0x9d
mov byte [rsp + 0x45], 0x6e
mov byte [rsp + 0x46], 0x31
mov eax, 0x188
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x1400345f5
mov eax, 0x188
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x188
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x350
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140003950
lea rcx, [0x14003c190]
call fcn.1400100c0
nop
mov eax, 0x350
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000ff80
add rsp, 0x58
ret
Function at 0x140035460
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14004f080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], 0x10
mov byte [rsp + 0x30], 0x30
mov byte [rsp + 0x31], 0xf3
mov byte [rsp + 0x32], 0x3d
mov byte [rsp + 0x33], 0x65
mov byte [rsp + 0x34], 0x41
mov byte [rsp + 0x35], 0xee
mov byte [rsp + 0x36], 0x84
mov byte [rsp + 0x37], 0x34
mov byte [rsp + 0x38], 0xe
mov byte [rsp + 0x39], 0xe6
mov byte [rsp + 0x3a], 0x23
mov byte [rsp + 0x3b], 0x31
mov byte [rsp + 0x3c], 0x5b
mov byte [rsp + 0x3d], 0xf8
mov byte [rsp + 0x3e], 0xcb
mov byte [rsp + 0x3f], 0x5f
mov eax, 0x134
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x140035552
mov eax, 0x134
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x134
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x398
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140003cf0
lea rcx, [0x14003c430]
call fcn.1400100c0
nop
mov eax, 0x398
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000ff80
add rsp, 0x58
ret
Function at 0x140035580
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14004f080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], 0x1f
mov byte [rsp + 0x30], 0xda
mov byte [rsp + 0x31], 0x87
mov byte [rsp + 0x32], 0x28
mov byte [rsp + 0x33], 0xff
mov byte [rsp + 0x34], 0x1a
mov byte [rsp + 0x35], 0xa8
mov byte [rsp + 0x36], 0x4b
mov byte [rsp + 0x37], 0x2e
mov byte [rsp + 0x38], 0xe9
mov byte [rsp + 0x39], 0x8c
mov byte [rsp + 0x3a], 0x25
mov byte [rsp + 0x3b], 0xab
mov byte [rsp + 0x3c], 0x1b
mov byte [rsp + 0x3d], 0xac
mov byte [rsp + 0x3e], 0x4b
mov byte [rsp + 0x3f], 0x37
mov byte [rsp + 0x40], 0xf6
mov byte [rsp + 0x41], 0x9b
mov byte [rsp + 0x42], 0x61
mov byte [rsp + 0x43], 0xe3
mov byte [rsp + 0x44], 0x1c
mov byte [rsp + 0x45], 0xa6
mov byte [rsp + 0x46], 0x4c
mov byte [rsp + 0x47], 0x67
mov byte [rsp + 0x48], 0xbb
mov byte [rsp + 0x49], 0x9a
mov byte [rsp + 0x4a], 0x24
mov byte [rsp + 0x4b], 0xe7
mov byte [rsp + 0x4c], 0x15
mov byte [rsp + 0x4d], 0xe0
mov byte [rsp + 0x4e], 0x27
mov eax, 0x2d0
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x1400356bd
mov eax, 0x2d0
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x2d0
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x2b0
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140003f50
lea rcx, [0x14003c460]
call fcn.1400100c0
nop
mov eax, 0x2b0
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000ff80
add rsp, 0x68
ret
Function at 0x140036d60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14004f080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], 0x1d
mov byte [rsp + 0x30], 0x11
mov byte [rsp + 0x31], 0x25
mov byte [rsp + 0x32], 0x1f
mov byte [rsp + 0x33], 0xfe
mov byte [rsp + 0x34], 0x51
mov byte [rsp + 0x35], 0x6c
mov byte [rsp + 0x36], 0x27
mov byte [rsp + 0x37], 0x7c
mov byte [rsp + 0x38], 0x63
mov byte [rsp + 0x39], 0x40
mov byte [rsp + 0x3a], 0xc
mov byte [rsp + 0x3b], 0xd1
mov byte [rsp + 0x3c], 0x48
mov byte [rsp + 0x3d], 0x6d
mov byte [rsp + 0x3e], 0x62
mov byte [rsp + 0x3f], 0x5e
mov byte [rsp + 0x40], 0x13
mov byte [rsp + 0x41], 0x44
mov byte [rsp + 0x42], 0x27
mov byte [rsp + 0x43], 0xee
mov byte [rsp + 0x44], 0x40
mov byte [rsp + 0x45], 0x7a
mov byte [rsp + 0x46], 0x27
mov byte [rsp + 0x47], 0x70
mov byte [rsp + 0x48], 0x46
mov byte [rsp + 0x49], 0x61
mov byte [rsp + 0x4a], 0x22
mov byte [rsp + 0x4b], 0xe8
mov byte [rsp + 0x4c], 0x21
mov eax, 0x230
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x140036e93
mov eax, 0x230
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword gs:[0x58]
mov ecx, 0x230
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov eax, 0x458
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140006020
lea rcx, [0x14003c8e0]
call fcn.1400100c0
nop
mov eax, 0x458
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000ff80
add rsp, 0x68
ret
Function at 0x140b41600
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140b4160d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140b4161d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140b41605
lea eax, [rcx + 1]
jmp 0x140b4162b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140b4163e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140b41624
sub eax, 3
jb 0x140b4165e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140b416ad
sar eax, 1
movsxd rbp, eax
jb 0x140b41694
jmp 0x140b4166c
add ebx, ebx
jne 0x140b4166a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140b41694
inc ecx
add ebx, ebx
jne 0x140b4167a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140b41694
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140b4168d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140b4167c
add ecx, 2
jmp 0x140b41699
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140b415c2
jmp 0x140b4160d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0xb37000]
mov eax, dword [rdi]
or eax, eax
je 0x140b41719
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xb491dc]
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 0x140b416bd
jns 0x140b416f2
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140b416fc
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 0x140b41713
mov qword [rbx], rax
add rbx, 8
jmp 0x140b416dd
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 0x140b4175d
cmp al, 0xef
ja 0x140b41745
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140b41725
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140b41734
mov eax, dword [rdi]
add rdi, 4
jmp 0x140b41734
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 + 0x24f]
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.140b417dc], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140b417dc
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140b417cc
sub rsp, 0xffffffffffffff80
jmp 0x1405dd19c
Function at 0x1800096d0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x18000970c
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x1800051e0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x180009ab0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x180009aea
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180009aef
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180009b38
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18002fd10]
cmp byte [rcx + rax], 0
je 0x180009b38
dec r8
sub rdx, 1
jne 0x180009b1e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x18000aa34
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.18000a3dc
mov ebx, eax
test eax, eax
jne 0x18000aa64
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x18000aac0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18000aab7
test al, 0x10
je 0x18000aab7
bt eax, 0xa
jae 0x18000aab0
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.18000aad8
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x18000aaac
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x18000aad0
test edi, edi
jne 0x18000aab7
and dword [rsp + 0x3c], 0
jmp 0x18000aabc
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.180016e18
int3
Function at 0x18000c0fc
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x18000c12a
xor eax, eax
jmp 0x18000c210
cmp qword [rcx + 0x68], 0
je 0x18000c13b
call fcn.18000c22c
jmp 0x18000c210
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18000c152
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18000c154
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18000c186
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.18002c630
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x18000c20a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x18000c1bd
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x18000c1e6
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.180017c10
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x18000c20a
cmp rsi, rbx
ja 0x18000c1c4
test rsi, rsi
je 0x18000c20a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.180017c10
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180022484
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.18000d2e0
sub rsp, rax
mov rax, qword [0x180041080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18001ebcc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800224d3
mov rax, rbp
jmp 0x1800225db
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, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x43570]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800235a4
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x43570]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800225d7
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 0x1800225d7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800235a4
test rax, rax
js 0x1800225d7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800225d7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800225c9
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800225c9
cmp byte [rcx], 0xd
jne 0x1800225af
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800225be
cmp byte [rcx + 1], 0xa
jne 0x1800225be
inc rcx
jmp 0x1800225be
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x414c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180022591
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800225db
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18000cbb0
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 0x1800227fc
Capabilities:
Get file size

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