joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002d0a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140081520]
mov rcx, qword [rax + 0x1ff0]
mov r10, qword [rax + 0x1c10]
movsxd rax, dword [rcx + 0x7c]
movups xmm0, xmmword [rcx + 0x174]
movss xmm4, dword [rcx + 0x174]
movss xmm3, dword [rcx + 0x178]
movss xmm2, dword [rcx + 0x17c]
movss xmm1, dword [rcx + 0x180]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x68
mov rax, qword [r10 + 0x2b0]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x250], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x2b0]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [r9 + 0x57]
mov rdx, qword [r10 + 0x2b0]
mov rcx, qword [rcx + 0x1a8]
add rsp, 0x38
jmp 0x1400223b0

Function at 0x14002d170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140081520]
mov rcx, qword [rax + 0x1ff0]
mov r9, qword [rax + 0x1c10]
movups xmm0, xmmword [r9 + 0x250]
movups xmmword [rcx + 0x174], xmm0
mov rax, qword [r9 + 0x2b0]
movups xmm0, xmmword [rcx + 0x154]
movss xmm4, dword [rcx + 0x154]
movss xmm3, dword [rcx + 0x158]
movss xmm2, dword [rcx + 0x15c]
movss xmm1, dword [rcx + 0x160]
movups xmmword [r9 + 0x250], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x2b0]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [rcx + 0x1d7]
mov rcx, qword [rcx + 0x1a8]
mov rdx, qword [r9 + 0x2b0]
add rsp, 0x38
jmp 0x1400223b0
Function at 0x14002fba0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140081140]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x14002fbe0
cmp al, 0x25
jne 0x14002fbd4
cmp byte [r8 + 1], al
jne 0x14002fbe0
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x14002fbc7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x14002fd4a
cmp byte [r8 + 1], dl
je 0x14002fd4a
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14002fc1d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x14002fc45
sub dl, 0x61
cmp dl, 0x19
ja 0x14002fc37
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x14002fc45
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x14002fc00
jmp 0x14002fc48
inc r9
cmp r8, r9
jae 0x14002fc7f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x14002fc74
bt rdx, rax
jb 0x14002fc7a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x14002fc60
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.14000ae50
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x14002fcb8
nop
inc rcx
cmp byte [rcx], 0x20
je 0x14002fcb0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14002fd38
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x14002fcda
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x14002fce8
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x14002fd26
movss xmm2, dword [0x14004c000]
nop
cmp al, 0x39
ja 0x14002fd26
movzx eax, al
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x14002fd00
cmp r9b, 0x2d
jne 0x14002fd45
xorps xmm1, xmmword [0x14004c070]
movaps xmm0, xmm1
jmp 0x14002fd4d
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14002fd4d
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140049400
add rsp, 0x90
pop rbx
ret
Function at 0x14002fd70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140081140]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x14002fdb0
cmp al, 0x25
jne 0x14002fda4
cmp byte [r8 + 1], al
jne 0x14002fdb0
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x14002fd97
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x14002ff14
cmp byte [r8 + 1], dl
je 0x14002ff14
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14002fded
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x14002fe15
sub dl, 0x61
cmp dl, 0x19
ja 0x14002fe07
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x14002fe15
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x14002fdd0
jmp 0x14002fe18
inc r9
cmp r8, r9
jae 0x14002fe4f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x14002fe44
bt rdx, rax
jb 0x14002fe4a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x14002fe30
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.14000ae50
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x14002fe88
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x14002fe80
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14002ff06
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x14002feaa
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x14002feb8
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x14002fef4
movsd xmm2, qword [0x1400503e8]
nop
cmp al, 0x39
ja 0x14002fef4
movzx eax, al
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x14002fed0
cmp r9b, 0x2d
jne 0x14002ff0f
xorps xmm1, xmmword [0x140050470]
movaps xmm0, xmm1
jmp 0x14002ff17
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14002ff17
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140049400
add rsp, 0x90
pop rbx
ret
Function at 0x14004a00c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004a056
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004a056
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004a056
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004a056
cmp dword [rcx + 0x84], 0xe
jbe 0x14004a056
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004a058
xor al, al
add rsp, 0x28
ret
Function at 0x1400010b0
Capabilities:
Access peb ldr_data
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rax, qword gs:[0x30]
mov esi, ecx
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov rdx, qword [rax + 0x20]
mov rbx, qword [rdx]
mov r10, qword [rbx - 0x10]
lea rax, [rbx - 0x10]
mov rdi, rax
cmp r10, rbx
je 0x140001144
nop dword [rax]
mov r11, qword [rax + 8]
mov r8d, 0x1505
mov r9, qword [r11 + 0x60]
movzx eax, word [r9]
test eax, eax
je 0x14000112f
nop word [rax + rax]
lea ecx, [rax - 0x41]
cmp ecx, 0x19
lea edx, [rax + 0x20]
lea r9, [r9 + 2]
cmova edx, eax
movzx eax, word [r9]
imul r8d, r8d, 0x21
add r8d, edx
test eax, eax
jne 0x140001110
cmp r8d, esi
je 0x140001156
cmp r10, rdi
je 0x140001144
mov rax, r10
mov r10, qword [r10]
cmp r10, rbx
jne 0x1400010f0
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov rax, qword [r11 + 0x30]
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x140001170
Capabilities:
Hash data using djb2
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
movsxd rax, dword [rcx + 0x3c]
xor r10d, r10d
mov ebp, edx
mov r11, rcx
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov r14d, dword [r8 + 0x1c]
mov esi, dword [r8 + 0x20]
add r14, rcx
mov r15d, dword [r8 + 0x24]
add rsi, rcx
mov edi, dword [r8 + 0x18]
add r15, rcx
test edi, edi
je 0x140001210
nop dword [rax]
movzx ebx, r10w
mov r9d, 0x1505
mov r8d, dword [rsi + rbx*4]
add r8, r11
movsx eax, byte [r8]
test eax, eax
je 0x1400011ff
nop dword [rax]
lea ecx, [rax - 0x41]
cmp ecx, 0x19
lea edx, [rax + 0x20]
lea r8, [r8 + 1]
cmova edx, eax
movsx eax, byte [r8]
imul r9d, r9d, 0x21
add r9d, edx
test eax, eax
jne 0x1400011e0
cmp r9d, ebp
je 0x14000122b
inc r10w
movzx eax, r10w
cmp eax, edi
jb 0x1400011c0
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
movzx eax, word [r15 + rbx*2]
mov eax, dword [r14 + rax*4]
add rax, r11
jmp 0x140001212
Function at 0x140004020
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1e8
mov rax, qword [0x1400cb080]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x38], 0
jmp 0x140004069
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xf4240
jge 0x14000407f
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
jmp 0x14000405f
cmp dword [rsp + 0x3c], 0xf4240
jne 0x1400041f6
lea rcx, [rsp + 0x170]
call fcn.140006130
mov dword [rsp + 0x34], 0
jmp 0x1400040ae
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
mov qword [rsp + 0x48], rax
lea rcx, [0x1400cc9a0]
call fcn.14000ae10
mov rcx, qword [rsp + 0x48]
cmp rcx, rax
jae 0x14000411a
movsxd rax, dword [rsp + 0x34]
mov rdx, rax
lea rcx, [0x1400cc9a0]
call fcn.140007470
movsx eax, byte [rax]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
add eax, 0xfe
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov byte [rsp + 0x30], al
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x170]
call fcn.140007670
jmp 0x1400040a4
lea rdx, [0x14002c881]
lea rcx, [rsp + 0x190]
call fcn.140005ef0
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x1b0]
call fcn.1400054d0
lea rcx, [rsp + 0x190]
call fcn.140006f40
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rdx, [0x14005ee60]
lea rcx, [rsp + 0x60]
call fcn.140005b20
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x60]
call fcn.1400042f0
lea rcx, [rsp + 0x60]
call fcn.140009580
lea rax, str.C:_Users_Public_main.exe
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x50]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x60]
call fcn.1400076a0
lea rcx, [rsp + 0x1b0]
call fcn.140006f40
lea rcx, [rsp + 0x170]
call fcn.140006f40
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14000d010
add rsp, 0x1e8
ret
Function at 0x14000b5b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x70], 0
jg 0x14000b5d2
xor eax, eax
jmp 0x14000b775
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x68], 0
je 0x14000b5f7
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.14000b780
jmp 0x14000b775
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400084a0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x14000b68d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.140005710
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x60]
call fcn.140009fc0
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.1400095d0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.140009d10
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x80], 0
je 0x14000b765
mov rcx, qword [rsp + 0x60]
call fcn.140008c20
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x14000b72d
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.140014abc
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x14000b72b
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x14000b775
jmp 0x14000b6b3
cmp qword [rsp + 0x20], 0
jbe 0x14000b765
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.140014abc
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x58
ret

Function at 0x14000d66c
Capabilities:
Parse pe header

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

Function at 0x140016fa4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140016da0
Function at 0x14001cda8
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.14000cfb0
sub rsp, rax
mov rax, qword [0x1400cb080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001b714
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001cdf7
mov rax, rbp
jmp 0x14001ceff
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 + 0xce600]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001dec8
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xce600]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14001cefb
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 0x14001cefb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001dec8
test rax, rax
js 0x14001cefb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14001cefb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14001ceed
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14001ceed
cmp byte [rcx], 0xd
jne 0x14001ced3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001cee2
cmp byte [rcx + 1], 0xa
jne 0x14001cee2
inc rcx
jmp 0x14001cee2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xcb4b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001ceb5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14001ceff
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000d010
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 0x14001d120
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001d136
mov al, 1
jmp 0x14001d196
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001d147
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001d194
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400222e4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001d194
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001d194
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001d194
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001d196
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001d268
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, [0x1400ce600]
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 0x14001d2bf
cmp word [rdx], r13w
jne 0x14001d2bf
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001d2c4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001d3e9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001d40a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001d2fd
mov rdx, r9
mov word [rbx], cx
jmp 0x14001d324
cmp r9, r8
jae 0x14001d334
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 0x14001d2de
jmp 0x14001d3e9
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 0x14001d3de
cmp dword [rsp + 0x80], esi
je 0x14001d3de
lea r8, [0x1400ce600]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001d3b6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001d386
mov word [rbx], r13w
jmp 0x14001d3e6
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 0x14001d393
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001d3e6
cmp word [rsp + 0x70], r13w
jne 0x14001d3c3
cmp rbx, r14
je 0x14001d380
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001ded0
cmp word [rsp + 0x70], r13w
je 0x14001d3e9
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, [0x1400ce600]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001d3e3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001d3e9
Function at 0x140021a18
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 0x140021a48
xor eax, eax
jmp 0x140021b0b
mov rbp, rbx
cmp word [rax], si
je 0x140021a6d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140021a54
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140021a50
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.140020100
movsxd r14, eax
test eax, eax
jne 0x140021aab
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140021a41
mov rcx, r14
call fcn.14001e134
mov rdi, rax
test rax, rax
jne 0x140021ac4
xor ecx, ecx
call fcn.14001a994
jmp 0x140021aa0
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.140020100
test eax, eax
jne 0x140021af5
mov rcx, rdi
call fcn.14001a994
jmp 0x140021aff
xor ecx, ecx
call fcn.14001a994
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 0x140024838
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.14001a454
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 0x1400248d9
cmp ebx, dword [rsp + 0x30]
je 0x1400248d2
test esi, esi
je 0x1400248d2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400248ad
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400248ba
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140024897
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400248be
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400248db
mov eax, 1
jmp 0x1400248db
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140027228
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.14001ded0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ded0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027378
cmp rax, 0xffffffffffffffff
je 0x140027378
xor edi, edi
test rbp, rbp
jle 0x140027323
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001a9d0
mov rbx, rax
test rax, rax
jne 0x1400272b0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027319
mov edx, 0x8000
mov ecx, r14d
call fcn.140017d38
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.14001c620
cmp eax, 0xffffffff
je 0x1400272f9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400272c0
mov edx, r15d
mov ecx, r14d
call fcn.140017d38
jmp 0x140027319
cmp byte [rsi + 0x38], dil
je 0x140027310
cmp dword [rsi + 0x34], 5
jne 0x140027310
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027319
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a994
jmp 0x14002738c
jns 0x14002738c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ded0
cmp rax, 0xffffffffffffffff
jne 0x140027344
cmp byte [rsi + 0x30], dil
je 0x14002738c
mov edi, dword [rsi + 0x2c]
jmp 0x14002738c
mov ecx, r14d
call fcn.1400222e4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002738c
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 0x14002738c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027385
mov eax, dword [rsi + 0x2c]
jmp 0x14002738a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ded0
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 0x140027e30
Capabilities:
Parse pe header

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