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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.Xtframework_temailform_tseeker_tmoodledata_tclaim_tnosotros_talexis_tcontribution_tcomply_tnorthcarolina_tamateur_taddtoyoursite_tempuriabrava_tqz_tlpages_tshopcart_tmalcolm_tad_timages_tvelvet_tforums_tmodinstall_tland_tbabycenterca_tsubscriber_tix_tsobre_tentorns_tansi_twebsite_tmachform_tlive_tmpi_tcropper_tjing_tstrut_tarticoli_tamigos_trns_tipconfigs_tfabric_tpolly_topenejb_tnewsfeed_tfranklin_thewlettpackard_tyomama_tbackup_tespecial_tdls_tvirtualtours_tdisc_tfx_tdadk_tinsite_twebfiles_tsponsored_tzilla_tearn_tjscripts_ttcc
mov r10, rax
sub rbx, rax
movabs rdi, 0x135c81135c81135d
lea r9, [rax + 2]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rax, r8
mov rcx, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1dc
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 2]
movsx eax, al
mov word [r9 - 2], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1dc
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [r9 + rbx]
movsx eax, al
mov word [r9], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1dc
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 2]
movsx eax, al
mov word [r9 + 2], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1dc
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 4]
movsx eax, al
mov word [r9 + 4], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1dc
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 6]
movsx eax, al
mov word [r9 + 6], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1dc
sub rcx, rax
movzx eax, byte [rcx + rsi]
add r11d, 6
xor al, byte [rbx + r9 + 8]
lea r9, [r9 + 0xc]
movsx eax, al
mov word [r9 - 4], ax
cmp r11d, 6
jb 0x140005cf0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000ab10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000ad3e
mov word [rbp + 0x50], 0x7458
mov word [rbp + 0x58], 0x7458
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000abc4
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000abb0
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000abf5
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000abe0
cmp rdi, rbx
jne 0x14000ad12
mov r13, rsi
mov word [rbp - 0x50], 0x7458
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000ac36
lea rcx, [rbp - 0x50]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000ac22
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000ad38
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x740039
call fcn.1400027f0
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000aca8
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x740022
call fcn.1400027f0
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000aca8
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x740039
mov dword [rbp - 0x42], 0x740019
call fcn.1400027f0
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x740039
call fcn.1400027f0
movzx eax, word [rax]
cmp edi, eax
jl 0x14000ad05
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x740022
call fcn.1400027f0
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000ad05
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x740039
mov dword [rbp - 0x32], 0x740019
call fcn.1400027f0
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000ad12
inc r14
jmp 0x14000ac10
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000ad3e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000ab80
mov rax, qword [rbp - 8]
jmp 0x14000ad40
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c930
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x6b
mov dword [rbp - 0x20], 0x310013
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x3c0034
mov dword [rbp - 0x18], 0x210024
mov dword [rbp - 0x14], 0x360027
mov dword [rbp - 0x10], 0x37003c
call fcn.140005e60
mov rcx, rax
call 0x14000e0e0
mov qword [0x1400191b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x6f
mov dword [rbp - 0x20], 0x310013
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x3c0034
mov dword [rbp - 0x18], 0x210024
mov dword [rbp - 0x14], 0x450056
call fcn.140002590
mov rcx, rax
call 0x14000e0e0
lea rcx, [rbp - 0x20]
mov qword [0x1400191a8], rax
mov dword [rbp - 0x20], 0x36
mov dword [rbp - 0x1c], 0x1e0002
mov dword [rbp - 0x18], 0x6d000d
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp 0x14000e0e0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000e142
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000cb80
test al, al
jne 0x14000e154
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000e110
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000e0e0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x6b
mov dword [rbp - 0x20], 0x310013
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x3c0034
mov dword [rbp - 0x18], 0x210024
mov dword [rbp - 0x14], 0x360027
mov dword [rbp - 0x10], 0x37003c
call fcn.140005e60
mov rcx, rax
call 0x14000e0e0
mov qword [0x1400191b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x6f
mov dword [rbp - 0x20], 0x310013
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x3c0034
mov dword [rbp - 0x18], 0x210024
mov dword [rbp - 0x14], 0x450056
call fcn.140002590
mov rcx, rax
call 0x14000e0e0
lea rcx, [rbp - 0x20]
mov qword [0x1400191a8], rax
mov dword [rbp - 0x20], 0x36
mov dword [rbp - 0x1c], 0x1e0002
mov dword [rbp - 0x18], 0x6d000d
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp 0x14000e0e0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000e142
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000cb80
test al, al
jne 0x14000e154
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000e110
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000f260
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400191c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x1c000b
mov dword [rbp - 0x1c], 0x1e0003
mov dword [rbp - 0x18], 0x5e000d
mov dword [rbp - 0x14], 0x590057
mov dword [rbp - 0x10], 0x1e000b
mov dword [rbp - 0xc], 0x90007
call fcn.140002e40
mov rcx, rax
call rbx
mov rbx, qword [0x1400191c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400191a0], rax
mov dword [rbp - 0x20], 0x1d000f
mov dword [rbp - 0x1c], 0x1b0008
mov dword [rbp - 0x18], 0x8000f
mov dword [rbp - 0x14], 0x590011
mov dword [rbp - 0x10], 0x1e000b
mov dword [rbp - 0xc], 0x90007
call fcn.140002e40
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x140018010]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400191b0], rax
mov word [rbp - 0x10], 0x311a
mov byte [rbp - 0xe], 0x6f
call fcn.140005220
mov rcx, qword [0x1400191a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140019130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x1e031c0b
mov dword [rbp - 0x1c], 0x121d280d
mov dword [rbp - 0x18], 0x6c1f070c
mov word [rbp - 0x14], 0x6d32
call fcn.140001180
mov rcx, qword [0x1400191a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140019130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x17121a11
mov dword [rbp - 0x1c], 0x3000313
mov dword [rbp - 0x18], 0x670e0220
mov word [rbp - 0x14], 0x6d24
call fcn.140001180
mov rcx, qword [0x1400191b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140018070]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400190e8], rax
mov byte [rbp - 0x10], 0x6c
call fcn.140004e60
mov rcx, qword [0x1400191b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140017f90]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400190f0], rax
mov dword [rbp - 0x10], 0x720a0a08
call fcn.1400029f0
mov rcx, qword [0x1400191b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140018000]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400190e0], rax
mov byte [rbp - 0x10], 0x6c
call fcn.140004e60
mov rcx, qword [0x1400191b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140018050]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400190d8], rax
mov dword [rbp - 0x10], 0x33010905
mov byte [rbp - 0xc], 0x6d
call fcn.140003790
mov rcx, qword [0x1400191b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140017f80]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x2702
mov byte [rbp - 0xe], 0x6f
call fcn.140005220
mov rcx, qword [0x1400191b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x1400230c8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400230de
mov al, 1
jmp 0x14002314a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400230ef
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140023148
mov ecx, dword [rcx + 0x18]
nop
call fcn.14002b630
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140023148
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 0x140023148
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140023148
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14002314a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140023d50
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.140031a60
sub rsp, rax
mov rax, qword [0x140168900]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140020ae4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140023d9f
mov rax, rbp
jmp 0x140023eab
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 + 0x168eb0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002398c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x168eb0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140023ea7
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 0x140023ea7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002398c
test rax, rax
js 0x140023ea7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140023ea7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140023e99
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140023e99
cmp byte [rcx], 0xd
jne 0x140023e7f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140023e8e
cmp byte [rcx + 1], 0xa
jne 0x140023e8e
inc rcx
jmp 0x140023e8e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x168270]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140023e61
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140023eab
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140030c40
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 0x1400254a0
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, [0x140168eb0]
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 0x1400254f7
cmp word [rdx], r13w
jne 0x1400254f7
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400254fc
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14002562d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14002564e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140025535
mov rdx, r9
mov word [rbx], cx
jmp 0x14002555c
cmp r9, r8
jae 0x14002556c
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 0x140025516
jmp 0x14002562d
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], si
mov r8d, r12d
mov dword [rsp + 0x80], esi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rsi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140025622
cmp dword [rsp + 0x80], esi
je 0x140025622
lea r8, [0x140168eb0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400255fa
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400255ca
mov word [rbx], r13w
jmp 0x14002562a
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 0x1400255d7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14002562a
cmp word [rsp + 0x70], r13w
jne 0x140025607
cmp rbx, r14
je 0x1400255c4
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140023994
cmp word [rsp + 0x70], r13w
je 0x14002562d
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, [0x140168eb0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140025627
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14002562d
Function at 0x14002722c
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 0x14002729b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002729b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002729b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002729b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002729b
cmp dword [rcx + 0x84], 0xe
jbe 0x14002729b
cmp dword [rcx + 0xf8], 0
je 0x14002729b
mov ecx, ebx
call fcn.14002734c
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.140027130
nop
cmp dword [rbp + 0x20], 0
je 0x1400272e9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400272f4
int3
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14002722c

Function at 0x140027428
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002722c

Function at 0x14002ab58
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x14002abcb
cmp word [rcx], si
je 0x14002abcb
lea rdx, [0x140113168]
call fcn.14002e5a8
test eax, eax
je 0x14002abcb
lea rdx, [0x140113170]
mov rcx, rbx
call fcn.14002e5a8
test eax, eax
jne 0x14002abc1
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14002abe8
mov eax, dword [rsp + 0x30]
jmp 0x14002abfa
mov rcx, rbx
call fcn.14000e0a0
jmp 0x14002abfa
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x14002abec
xor eax, eax
jmp 0x14002abfa
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14002abfa
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002ac0c
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.14001cbf0
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14002acaf
cmp edi, dword [rsp + 0x30]
je 0x14002aca8
test ebp, ebp
je 0x14002aca8
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x14002ac84
sub dx, 0x61
cmp dx, 0x19
ja 0x14002ac90
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x14002ac71
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x14002ac94
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x14002acb1
mov eax, 1
jmp 0x14002acb1
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14002f784
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.140023994
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140023994
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002f8d4
cmp rax, 0xffffffffffffffff
je 0x14002f8d4
xor edi, edi
test rbp, rbp
jle 0x14002f87f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001a690
mov rbx, rax
test rax, rax
jne 0x14002f80c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002f875
mov edx, 0x8000
mov ecx, r14d
call fcn.14002f608
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.1400218dc
cmp eax, 0xffffffff
je 0x14002f855
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14002f81c
mov edx, r15d
mov ecx, r14d
call fcn.14002f608
jmp 0x14002f875
cmp byte [rsi + 0x38], dil
je 0x14002f86c
cmp dword [rsi + 0x34], 5
jne 0x14002f86c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002f875
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001bc0c
jmp 0x14002f8e8
jns 0x14002f8e8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140023994
cmp rax, 0xffffffffffffffff
jne 0x14002f8a0
cmp byte [rsi + 0x30], dil
je 0x14002f8e8
mov edi, dword [rsi + 0x2c]
jmp 0x14002f8e8
mov ecx, r14d
call fcn.14002b630
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002f8e8
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 0x14002f8e8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002f8e1
mov eax, dword [rsi + 0x2c]
jmp 0x14002f8e6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140023994
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 0x140030458
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400304df
mov rsi, rbx
cmp word [rax], bp
je 0x14003049e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140030488
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140030484
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001bbac
mov rdi, rax
test rax, rax
je 0x1400304cc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140033470
mov rbp, rdi
xor ecx, ecx
call fcn.14001bc0c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret