joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180008240
Capabilities:
Get file attributes
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x68]
add eax, 0xc9
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x78]
xor eax, 0x30a
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x80]
sub eax, 0x1829
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x88]
sub eax, 0x6bc
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
add eax, 0xc9
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x68]
sub eax, 0x27d
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x78]
add eax, 0x331
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x68]
sub eax, 0x21d2
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
xor eax, 0x6f0
cmp dword [rsp + 0x20], eax
je 0x1800082e2
mov eax, dword [rsp + 0x20]
xor eax, 0xaec
mov dword [rsp + 0x20], eax
jmp 0x180008335
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x24], eax
jmp 0x1800082f7
mov eax, dword [rsp + 0x24]
add eax, 4
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x34]
and eax, 0x297d
mov rcx, qword [rsp + 0x70]
or eax, dword [rcx + 0x90]
cmp dword [rsp + 0x24], eax
jb 0x180008335
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x2c]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x1800082ec
mov eax, dword [rsp + 0x28]
add eax, 0x16b3
add rsp, 0x58
ret
Function at 0x1800215a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov eax, dword [rsp + 0xa8]
sub eax, 0x26d3
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xb0]
xor eax, 0x21d2
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xa8]
xor eax, 0x3dc5
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x90]
sub eax, 0x297d
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x98]
sub eax, 0x1c5
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x98]
add eax, 0x119d
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x80]
xor eax, 0x3ec4
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x90]
sub eax, 0xab
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x34]
xor eax, 0x314c
cmp dword [rsp + 0x2c], eax
jg 0x1800217f2
mov eax, dword [rsp + 0x20]
xor eax, 0x3522
cmp dword [rsp + 0x34], eax
jle 0x1800216c1
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 0x88]
xor eax, 0x1663b7
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0xa0]
imul ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0xa0], eax
mov eax, dword [rsp + 0x20]
sub eax, 0x149
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0xa0]
mov dword [rax + 0x64], ecx
jmp 0x1800217f2
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rax + 0x44]
imul eax, dword [rcx + 0x48]
add eax, dword [rsp + 0x20]
cmp dword [rsp + 0x30], eax
jb 0x1800217f2
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x24], eax
jmp 0x1800216fb
mov eax, dword [rsp + 0x24]
add eax, 2
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x2c]
add eax, 0x4030
cmp dword [rsp + 0x24], eax
jae 0x1800217f2
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 0xb8]
mov dword [rsp + 0x28], eax
jmp 0x18002173e
mov eax, dword [rsp + 0x28]
add eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x90]
sub eax, 0x229b
cmp dword [rsp + 0x28], eax
jae 0x1800217ed
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x2c]
or ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x50], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x88]
mov edx, dword [rdx + 0x18]
mov eax, dword [rcx + rax + 0xb8]
xor eax, edx
mov eax, eax
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov eax, dword [rsp + 0x2c]
xor eax, 0x159e
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x88]
add eax, dword [rdx + rcx + 8]
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0xb4]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0xb4], eax
jmp 0x180021733
jmp 0x1800216f0
mov eax, dword [rsp + 0x30]
add eax, 0x19a5
add rsp, 0x68
ret
Function at 0x1400031b8
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140003249
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140003249
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003249
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14000322d
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140003227
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000322f
add rdx, 0x28
jmp 0x14000320c
xor edx, edx
test rdx, rdx
jne 0x140003238
xor al, al
jmp 0x14000324f
test dword [rdx + 0x24], 0x80000000
je 0x140003245
xor al, al
jmp 0x14000324f
mov al, 1
jmp 0x14000324f
xor al, al
jmp 0x14000324f
add rsp, 0x18
ret
Function at 0x1004035a0
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x48
mov rax, qword [rcx + 0x10]
mov r13, qword [rdx + 0x18]
mov edx, dword [rax - 8]
mov r12, rcx
mov esi, r8d
lea rcx, [rax - 0x18]
lea r8, [rax - 8]
test edx, edx
js 0x1004036e8
cmp rcx, qword [sym.imp.cygstdc_6.dll_std::string::_Rep::_S_empty_rep_storage]
jne 0x1004037f0
lea r14, [rsp + 0x30]
mov r8d, 1
lea rdx, [0x10040e015]
mov rcx, r14
mov qword [rsp + 0x30], rax
call fcn.10040a478
mov rcx, r13
call sub.cygwin1.dll_strlen
mov r8, rax
mov rdx, r13
mov rcx, r14
call fcn.10040a478
mov rdx, qword [rax]
mov rbx, qword [sym.imp.cygstdc_6.dll_std::string::_Rep::_S_empty_rep_storage]
mov qword [rsp + 0x38], rdx
lea rdx, [rbx + 0x18]
mov qword [rax], rdx
lea r15, [rsp + 0x38]
mov r8d, 4
lea rdx, str..pem
mov rcx, r15
call fcn.10040a478
mov rdx, qword [rax]
mov qword [rsp + 0x28], rdx
lea rdx, [rbx + 0x18]
mov qword [rax], rdx
mov rax, qword [rsp + 0x38]
lea rcx, [rax - 0x18]
cmp rcx, rbx
jne 0x1004037a0
mov rax, qword [rsp + 0x30]
lea rcx, [rax - 0x18]
cmp rcx, rbx
jne 0x1004037c8
mov rcx, qword [r12 + 0x20]
mov edx, esi
lea r13, [rsp + 0x28]
call fcn.100401310
mov rcx, r12
call fcn.1004030e0
mov rdx, r13
mov rcx, r12
mov rsi, rax
call fcn.100402910
mov rdx, rsi
sub rdx, rax
cmp rsi, rax
mov eax, 0
cmovbe rdx, rax
mov rcx, r12
call fcn.100402bc0
mov rcx, qword [rsp + 0x28]
call sub.cygwin1.dll_remove
test eax, eax
js 0x100403700
mov rax, qword [rsp + 0x28]
lea rcx, [rax - 0x18]
cmp rcx, rbx
jne 0x100403780
add rsp, 0x48
pop rbx
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [rsp + 0x38]
xor r8d, r8d
call fcn.10040a498
jmp 0x1004035dc
call sub.cygwin1.dll___errno
cmp dword [rax], 2
je 0x1004036c3
mov ecx, 0x10
call sub.cygstdc_6.dll___cxa_allocate_exception
mov r8, r13
lea rdx, str.Failed_to_remove_certficate_file
mov rcx, r14
mov rsi, rax
call fcn.10040b150
lea rdx, str._from_db
mov rcx, r14
call fcn.10040a480
mov rdx, qword [rax]
add rbx, 0x18
mov qword [rsp + 0x38], rdx
mov qword [rax], rbx
mov rdx, r15
mov rcx, rsi
call fcn.10040a400
mov rcx, r15
call fcn.10040a438
mov rcx, r14
call fcn.10040a438
lea r8, [0x10040a3f8]
lea rdx, sym.imp.cygstdc_6.dll_vtable_for_std::basic_ifstream_char__std::char_traits_char___
mov rcx, rsi
call sub.cygstdc_6.dll___cxa_throw
nop dword [rax + rax]
mov edx, 0xffffffff
lock xadd dword [rax - 8], edx
test edx, edx
jg 0x1004036d5
mov rdx, r15
call fcn.10040a4a8
jmp 0x1004036d5
mov edx, 0xffffffff
lock xadd dword [rax - 8], edx
test edx, edx
jg 0x100403662
lea rdx, [rsp + 0x27]
call fcn.10040a4a8
jmp 0x100403662
mov edx, 0xffffffff
lock xadd dword [rax - 8], edx
test edx, edx
jg 0x100403674
mov rdx, r15
call fcn.10040a4a8
jmp 0x100403674
lock inc dword [r8]
jmp 0x1004035dc
Function at 0x10040a110
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rdi, rcx
mov rbx, rdx
mov esi, r8d
call sub.cygwin1.dll___getreent
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x20], rdi
mov r9d, esi
mov r8, rbx
lea rdx, str.assertion_failed:__s:_d:___s__n
call sub.cygwin1.dll_fprintf
call sub.cygwin1.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push r12
push rdi
push rsi
push rbx
sub rsp, 0x38
mov eax, 1
test rcx, rcx
cmovne rax, rcx
test rdx, rdx
mov rbx, rax
mov eax, 1
cmovne rax, rdx
mov rcx, rbx
mov rdx, rax
mov rsi, rax
call sub.cygwin1.dll_calloc
test rax, rax
je 0x10040a191
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r12
ret
mov rdi, qword [0x10040ef00]
cmp qword [rdi], 0
je 0x10040a1d0
mov qword [rsp + 0x20], rsi
lea r12, [0x1004145c0]
mov rcx, r12
mov r9, rbx
lea r8, str.xcalloc:_Unable_to_allocate__zu_blocks_of__zu_bytes__n
mov edx, pe_nt_image_headers64
call sub.cygwin1.dll_snprintf
mov rcx, r12
call qword [rdi]
mov ecx, 1
call sub.cygwin1.dll_exit
lea rcx, str.xcalloc
call sub.cygwin1.dll_perror
jmp 0x10040a1c6

Function at 0x10040a150
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rdi, rcx
mov rbx, rdx
mov esi, r8d
call sub.cygwin1.dll___getreent
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x20], rdi
mov r9d, esi
mov r8, rbx
lea rdx, str.assertion_failed:__s:_d:___s__n
call sub.cygwin1.dll_fprintf
call sub.cygwin1.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push r12
push rdi
push rsi
push rbx
sub rsp, 0x38
mov eax, 1
test rcx, rcx
cmovne rax, rcx
test rdx, rdx
mov rbx, rax
mov eax, 1
cmovne rax, rdx
mov rcx, rbx
mov rdx, rax
mov rsi, rax
call sub.cygwin1.dll_calloc
test rax, rax
je 0x10040a191
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r12
ret
mov rdi, qword [0x10040ef00]
cmp qword [rdi], 0
je 0x10040a1d0
mov qword [rsp + 0x20], rsi
lea r12, [0x1004145c0]
mov rcx, r12
mov r9, rbx
lea r8, str.xcalloc:_Unable_to_allocate__zu_blocks_of__zu_bytes__n
mov edx, pe_nt_image_headers64
call sub.cygwin1.dll_snprintf
mov rcx, r12
call qword [rdi]
mov ecx, 1
call sub.cygwin1.dll_exit
lea rcx, str.xcalloc
call sub.cygwin1.dll_perror
jmp 0x10040a1c6
Function at 0x140002660
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x290], rbx
mov rax, qword [0x14003d088]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbp, r8
mov r14, rdx
mov qword [rsp + 0x30], r8
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.140010630
cmp qword [rbp + 0x20], 8
jb 0x1400026c2
mov rdx, qword [rbp + 8]
jmp 0x1400026c6
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rsi, eax
test eax, eax
jle 0x1400027ab
lea rdi, [rsi + rsi]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x1400027ab
movzx eax, word [rsp + rdi + 0x40]
cmp ax, 0x5c
je 0x140002724
cmp ax, 0x2f
jne 0x14000275f
lea rdx, str.System
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [0x14003db60]
call fcn.140003140
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000277f
cmp rdi, 0x208
jae 0x140002779
mov word [rsp + rdi + 0x40], bx
dec esi
sub rdi, 2
test esi, esi
jg 0x140002700
jmp 0x1400027ab
call fcn.14000d8ec
int3
cmp word [rsp + 0x40], 0
je 0x14000279a
lea rax, [rsp + 0x40]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140002790
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 8]
call fcn.140005390
lea rax, [0x140036540]
mov qword [r14], rax
lea rax, [0x140036538]
mov qword [r14 + 0x40], rax
mov rdx, rbp
mov rcx, r14
call fcn.140003ee0
nop
mov rcx, rbp
call fcn.140001ee0
mov rax, r14
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14000d750
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008510
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x140008584
lea rcx, [0x140036b00]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x14000859f
lea rdx, [0x140036ae8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x14000859f
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je case.default.0x14000859f
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400085ee
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140008510
cmp byte [0x14003fe28], 0
jne 0x140008639
lea rcx, [0x140036b00]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008629
lea rdx, [0x140036b20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003fe20], rax
mov byte [0x14003fe28], 1
jmp 0x140008640
mov rax, qword [0x14003fe20]
mov byte [0x14003fe28], 1
jmp 0x140008640
mov rax, qword [0x14003fe20]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000865f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jnp 0x140063531
add cl, byte [rcx]
and al, byte [rcx]
add byte [rdx], cl
and cl, dl
fist word [rdi + 0xe]
invalid
cmp byte [rdx + 7], 0xd1
invalid
Function at 0x1400085c0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x140008584
lea rcx, [0x140036b00]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x14000859f
lea rdx, [0x140036ae8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x14000859f
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je case.default.0x14000859f
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400085ee
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140008510
cmp byte [0x14003fe28], 0
jne 0x140008639
lea rcx, [0x140036b00]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008629
lea rdx, [0x140036b20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003fe20], rax
mov byte [0x14003fe28], 1
jmp 0x140008640
mov rax, qword [0x14003fe20]
mov byte [0x14003fe28], 1
jmp 0x140008640
mov rax, qword [0x14003fe20]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000865f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jnp 0x140063531
add cl, byte [rcx]
and al, byte [rcx]
add byte [rdx], cl
and cl, dl
fist word [rdi + 0xe]
invalid
cmp byte [rdx + 7], 0xd1
invalid
Function at 0x1400172e4
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400170b8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400170b8
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400170b8
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400170b8
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400170b8
cmp dword [rcx + 0x84], 0xe
jbe 0x1400170b8
cmp dword [rcx + 0xf8], esi
je 0x1400170b8
mov ecx, r14d
call fcn.140017200
mov ecx, 2
call fcn.140013810
nop
cmp byte [0x14003f410], 0
jne 0x140017182
mov r15d, 1
mov eax, r15d
xchg dword [0x14003f400], eax
test ebx, ebx
jne 0x14001712b
mov rdi, qword [0x14003d088]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14003f408]
cmp rcx, rax
je 0x140017122
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140006810]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14003f650]
jmp 0x140017137
cmp ebx, r15d
jne 0x14001713d
lea rcx, [0x14003f668]
call fcn.140017d74
nop
test ebx, ebx
jne 0x140017154
lea rdx, [0x1400274d8]
lea rcx, [0x1400274b8]
call fcn.14001809c
lea rdx, [0x1400274e8]
lea rcx, [0x1400274e0]
call fcn.14001809c
movzx eax, byte [0x14003f410]
test esi, esi
cmove eax, r15d
mov byte [0x14003f410], al
jmp 0x140017182
mov ecx, 2
call fcn.140013864
test esi, esi
jne 0x140017199
mov ecx, r14d
call fcn.1400171b4
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140017048

Function at 0x14001a904
Capabilities:
Get geographical location

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 edi, r9d
mov rsi, r8
mov ebp, edx
lea r9, [0x140030578]
mov r14, rcx
lea r8, [0x140030570]
lea rdx, [0x140028fb8]
mov ecx, 0xc
call fcn.14001a45c
mov rbx, rax
test rax, rax
je 0x14001a967
mov rcx, rax
call qword [fcn.140006810]
mov r9d, edi
mov r8, rsi
mov edx, ebp
mov rcx, r14
call rbx
jmp 0x14001a981
xor edx, edx
mov rcx, r14
call fcn.14001ac6c
mov ecx, eax
mov r9d, edi
mov r8, rsi
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
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 0x140001870
Capabilities:
Encrypt data using rc4 prga
Terminate process

Disassembly:
push rbx
push rbp
push r13
push r14
sub rsp, 0x38
xor r14d, r14d
mov ebx, r8d
test edx, edx
mov ebp, r9d
mov r13d, ecx
cmovns r14d, edx
movzx edx, word [0x140006008]
mov r8d, edx
lea eax, [rdx - 1]
cmp eax, 0x1f
ja case.default.0x1400018d4
mov qword [rsp + 0x60], rsi
lea r9, [0x140000000]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x30], r15
cdqe
movzx eax, byte [r9 + rax + 0x19dc]
mov ecx, dword [r9 + rax*4 + 0x19c8]
add rcx, r9
jmp rcx
mov ecx, r8d
mov r12d, 1
shl r12d, cl
mov esi, 8
dec r12d
sub esi, r8d
mov edi, r12d
mov ecx, esi
shl edi, cl
test edi, edi
je case.0x1400018d4.3
mov r15d, dword [rsp + 0x80]
cmp ebx, dword [0x140006070]
jae case.0x1400018d4.3
mov eax, ebp
xor eax, r15d
test edi, eax
je 0x14000194f
mov ecx, esi
mov edx, r15d
shr edx, cl
mov eax, ebp
and edx, r12d
shr eax, cl
mov dword [rsp + 0x28], edx
lea rcx, str.Scanline__u__pixel__u__sample__d:__01x__01x_n
and eax, r12d
mov edx, r13d
mov r9d, r14d
mov dword [rsp + 0x20], eax
mov r8d, ebx
call fcn.140002420
sub dword [section..data], 1
je 0x1400019ba
movzx edx, word [0x140006008]
movzx ecx, dx
inc ebx
sar edi, cl
sub esi, ecx
test edi, edi
jne 0x140001900
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x30]
add rsp, 0x38
pop r14
pop r13
pop rbp
pop rbx
ret
lea rcx, str.Scanline__u__pixel__u__sample__d:__02x__02x_n
jmp 0x140001994
lea rcx, str.Scanline__u__pixel__u__sample__d:__04x__04x_n
jmp 0x140001994
lea rcx, str.Scanline__u__pixel__u__sample__d:__08x__08x_n
mov eax, dword [rsp + 0x80]
mov r9d, r14d
mov dword [rsp + 0x28], eax
mov r8d, ebx
mov edx, r13d
mov dword [rsp + 0x20], ebp
call fcn.140002420
sub dword [section..data], 1
jne case.0x1400018d4.3
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140001a00
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov esi, dword [0x140006070]
xor ebp, ebp
movsxd r14, edx
mov r12d, r8d
mov r15d, ecx
lea rbx, [r9 + r14]
test esi, esi
je 0x140001a9e
mov rdi, qword [rsp + 0x60]
nop dword [rax]
movzx eax, byte [rdi]
dec esi
cmp byte [rbx], al
je 0x140001a8b
mov r9d, r14d
lea rcx, str.Scanline__u__pixel__u__sample__d:
mov r8d, ebp
mov edx, r12d
call fcn.140002420
test r15d, r15d
mov rcx, rdi
mov rax, rbx
cmove rcx, rbx
cmove rax, rdi
movzx edx, byte [rcx]
lea rcx, str._02x__02x_n
movzx r8d, byte [rax]
call fcn.140002420
sub dword [section..data], 1
je 0x140001abf
movzx eax, word [0x14000600c]
inc ebp
add rbx, rax
inc rdi
test esi, esi
jne 0x140001a40
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1400029e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
test ecx, ecx
mov ecx, 1
je 0x1400029fa
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
call sub.tiff.dll_TIFFGetVersion
mov r8, rax
lea rdx, str._s_n_n
mov rcx, rbx
call fcn.1400021d0
lea r8, str.Compare_the_tags_and_data_in_two_TIFF_files_n_nusage:_tiffcmp__options__file1_file2_nwhere_options_are:_n__l_t_tlist_each_byte_of_image_data_that_differs_between_the_files_n__z__t_tlist_specified_number_of_bytes_that_differs_between_the_files_n__t_t_tignore_any_differences_in_directory_tags_n
mov rcx, rbx
lea rdx, [0x1400043c0]
call fcn.1400021d0
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3