joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004fd0
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 + 0xe]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.Riotutils_tness_tor_tprj_thotufi_twebbeans_tinca_tbackadmin_thledat_timagelib_tspo_tyiyuan_tkonzerte_tengineparts_tImages_talf_tmapdata_tbis_tviewallphotos_ttrash_tphpsysinfo_ttestbed_trsvp_timagem_tnorway_tletters_tchecking_taddtocart_tproxy_tintracorp_ttorrent_tboiler_tmortgage_tnfs_tceshi_tflippingbook_ttula_tcruise_tveranstalter_twebadmin_tmontana_tref_tflickrnz_tinnovation_tuseradmin_tfreelance_tweb_tuserpoints_tths_tmyfiles_tbiblio_tfotomax_tgo_twhitelabel_tchess_tisaac_tjf
mov r10, rax
sub rbx, rax
movabs rdi, 0x4c61dd63a7aed805
lea r9, [rax + 2]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rcx, r8
shr rdx, 7
imul rax, rdx, 0x1ad
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
shr rdx, 7
imul rax, rdx, 0x1ad
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [rbx + r9]
movsx eax, al
mov word [r9], ax
mov rax, rdi
mul rcx
shr rdx, 7
imul rax, rdx, 0x1ad
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
shr rdx, 7
imul rax, rdx, 0x1ad
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
shr rdx, 7
imul rax, rdx, 0x1ad
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
shr rdx, 7
imul rax, rdx, 0x1ad
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 6]
xor al, byte [rbx + r9 + 8]
movsx eax, al
mov word [r9 + 8], ax
mov rax, rdi
mul rcx
shr rdx, 7
imul rax, rdx, 0x1ad
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 7]
xor al, byte [rbx + r9 + 0xa]
movsx eax, al
mov word [r9 + 0xa], ax
mov rax, rdi
mul rcx
shr rdx, 7
imul rax, rdx, 0x1ad
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 + 0xc]
movsx eax, al
mov word [r9 + 0xc], ax
lea rcx, [r8 + 8]
mov rax, rdi
mul rcx
add r11d, 0xb
lea r9, [r9 + 0x16]
shr rdx, 7
imul rax, rdx, 0x1ad
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 9]
xor al, byte [rbx + r9 - 8]
movsx eax, al
mov word [r9 - 8], ax
mov rax, rdi
mul rcx
shr rdx, 7
imul rax, rdx, 0x1ad
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xa]
xor al, byte [rbx + r9 - 6]
movsx eax, al
mov word [r9 - 6], ax
mov rax, rdi
mul rcx
shr rdx, 7
imul rax, rdx, 0x1ad
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 4]
movsx eax, al
mov word [r9 - 4], ax
cmp r11d, 0xb
jb 0x140005020
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000b8a0
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], 0x10001
mov dword [rbp - 0x1c], 0x18000a
mov dword [rbp - 0x18], 0x470019
mov dword [rbp - 0x14], 0x42005b
mov dword [rbp - 0x10], 0x650017
mov dword [rbp - 0xc], 0x650002
call fcn.1400029c0
mov rcx, rax
call rbx
mov rbx, qword [0x1400191c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400191a0], rax
mov dword [rbp - 0x20], 5
mov dword [rbp - 0x1c], 0x1d0001
mov dword [rbp - 0x18], 0x11001b
mov dword [rbp - 0x14], 0x42001d
mov dword [rbp - 0x10], 0x650017
mov dword [rbp - 0xc], 0x650002
call fcn.1400029c0
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x1400183f0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400191b0], rax
mov word [rbp - 0x10], 0x5e04
mov byte [rbp - 0xe], 0x70
call fcn.140004620
mov rcx, qword [0x1400191a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140019130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x180a0101
mov dword [rbp - 0x1c], 0x9113119
mov dword [rbp - 0x18], 0x1a7c10
mov word [rbp - 0x14], 0x7324
call fcn.140001180
mov rcx, qword [0x1400191a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140019130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x111b071b
mov dword [rbp - 0x1c], 0x180c1a07
mov dword [rbp - 0x18], 0xb0b793c
mov word [rbp - 0x14], 0x7332
call fcn.140001180
mov rcx, qword [0x1400191b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400184a0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400190e8], rax
mov byte [rbp - 0x10], 0x72
call fcn.140004330
mov rcx, qword [0x1400191b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400183a0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400190f0], rax
mov dword [rbp - 0x10], 0x72156516
call fcn.140002660
mov rcx, qword [0x1400191b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140018410]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400190e0], rax
mov byte [rbp - 0x10], 0x72
call fcn.140004330
mov rcx, qword [0x1400191b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140018470]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400190d8], rax
mov dword [rbp - 0x10], 0x331e661b
mov byte [rbp - 0xc], 0x6a
call fcn.140003130
mov rcx, qword [0x1400191b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140018370]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140019130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x481c
mov byte [rbp - 0xe], 0x70
call fcn.140004620
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 0x14000ce50
Capabilities:
Access peb ldr_data

Disassembly:
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 0x14000ceb2
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.14000c7e0
test al, al
jne 0x14000cec4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000ce80
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
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 eax, 0x6e
mov dword [rbp - 0x20], 0x2c0019
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x3a003d
mov dword [rbp - 0x18], 0x380030
mov dword [rbp - 0x14], 0x2d002b
mov dword [rbp - 0x10], 0x4c0020
call fcn.140004fd0
mov rcx, rax
call 0x14000ce50
mov qword [0x1400191b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x73
mov dword [rbp - 0x20], 0x2c0019
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x3a003d
mov dword [rbp - 0x18], 0x380030
mov dword [rbp - 0x14], 0x5e005a
call fcn.1400022a0
mov rcx, rax
call 0x14000ce50
lea rcx, [rbp - 0x20]
mov qword [0x1400191a8], rax
mov dword [rbp - 0x20], 0x1d003c
mov dword [rbp - 0x1c], 0x18000b
mov dword [rbp - 0x18], 0x740019
call fcn.140004e60
mov rcx, rax
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 0x14000ce50
Function at 0x14000d430
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 0x14000d65e
mov word [rbp + 0x50], 0x6952
mov word [rbp + 0x58], 0x6952
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.140001770
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000d4e4
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000d4d0
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000d515
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000d500
cmp rdi, rbx
jne 0x14000d632
mov r13, rsi
mov word [rbp - 0x50], 0x6952
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000d556
lea rcx, [rbp - 0x50]
inc rbx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000d542
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000d658
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x690033
call fcn.140002490
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000d5c8
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x690028
call fcn.140002490
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000d5c8
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x690033
mov dword [rbp - 0x42], 0x690013
call fcn.140002490
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.140002490
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x690033
call fcn.140002490
movzx eax, word [rax]
cmp edi, eax
jl 0x14000d625
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x690028
call fcn.140002490
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000d625
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x690033
mov dword [rbp - 0x32], 0x690013
call fcn.140002490
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.140002490
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000d632
inc r14
jmp 0x14000d530
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000d65e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000d4a0
mov rax, qword [rbp - 8]
jmp 0x14000d660
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 0x14000e680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
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 0x14000ceb2
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.14000c7e0
test al, al
jne 0x14000cec4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000ce80
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
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 eax, 0x6e
mov dword [rbp - 0x20], 0x2c0019
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x3a003d
mov dword [rbp - 0x18], 0x380030
mov dword [rbp - 0x14], 0x2d002b
mov dword [rbp - 0x10], 0x4c0020
call fcn.140004fd0
mov rcx, rax
call 0x14000ce50
mov qword [0x1400191b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x73
mov dword [rbp - 0x20], 0x2c0019
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x3a003d
mov dword [rbp - 0x18], 0x380030
mov dword [rbp - 0x14], 0x5e005a
call fcn.1400022a0
mov rcx, rax
call 0x14000ce50
lea rcx, [rbp - 0x20]
mov qword [0x1400191a8], rax
mov dword [rbp - 0x20], 0x1d003c
mov dword [rbp - 0x1c], 0x18000b
mov dword [rbp - 0x18], 0x740019
call fcn.140004e60
mov rcx, rax
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 0x14000ce50
Function at 0x180014720
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2230]
mov eax, 0x2330
call fcn.180050880
sub rsp, rax
mov rax, qword [0x1800b3dc8]
xor rax, rsp
mov qword [rbp + 0x2220], rax
mov r12, r9
mov r13, r8
mov ebx, edx
mov dword [rsp + 0x50], edx
mov rdx, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], r14b
lea edi, [rbx - 0x10]
mov dword [rsp + 0x40], edi
cmp ebx, edi
jbe 0x180014c58
lea esi, [rbx - 0x8d]
mov dword [rsp + 0x54], esi
lea r9, [0x180000000]
lea r8d, [r14 + 0x6c]
mov r15d, dword [rsp + 0x68]
mov rdi, qword [rsp + 0x58]
mov eax, dword [rsp + 0x40]
nop
cmp esi, 0x33
ja 0x180014d4d
movzx eax, byte [r9 + rsi + 0x14e88]
mov ecx, dword [r9 + rax*4 + 0x14e48]
add rcx, r9
jmp rcx
mov eax, r14d
sub eax, 0xb5
je 0x180014c9d
cmp eax, 0x41
jne 0x180014cfe
mov byte [rsp + 0x60], 1
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x180014e17
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180014e12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180014e12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [r12 + 0x10]
mov rdx, qword [r12 + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x180014ce4
lea rax, [rcx + rsi]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp rdx, 0x10
jb 0x180014cc8
mov rax, qword [r12]
lea rbx, [rax + rcx]
mov r8, rsi
lea rdx, [rbp + 0x220]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x180014cfe
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x220]
xor r8d, r8d
mov rdx, rsi
mov rcx, r12
call fcn.180001f10
add r14d, 0x41
cmp r14d, 0x137
jb 0x180014c40
mov ebx, dword [rsp + 0x50]
mov esi, dword [rsp + 0x54]
xor r14d, r14d
mov word [rbp - 0x18], 0x72
mov r8d, 3
lea rdx, [0x1800573f1]
lea rcx, [rbp - 0x17]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov rdx, qword [rsp + 0x48]
mov r8d, 0x6c
lea r9, [0x180000000]
mov eax, dword [rsp + 0x40]
dec ebx
mov dword [rsp + 0x50], ebx
dec esi
mov dword [rsp + 0x54], esi
cmp ebx, eax
jbe 0x180014c58
jmp 0x1800147b0
call fcn.180050140
mov rax, qword [rsp + 0x60]
mov rcx, qword [rbp + 0x2220]
xor rcx, rsp
call fcn.1800508f0
mov rbx, qword [rsp + 0x2378]
add rsp, 0x2330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18002c420
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
lea ebp, [r8 + 4]
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
cmp r8d, ebp
jae 0x18002c497
xor r14d, r14d
mov eax, ebx
sub eax, 9
je 0x18002c4af
sub eax, 4
je 0x18002c48c
sub eax, 1
je 0x18002c483
cmp eax, 3
jne 0x18002c491
mov qword [rsp + 0x28], r14
lea r8, [0x180037920]
mov r9, rsi
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x18002c491
int3
movzx eax, byte [rsi + 1]
mov byte [rdi + 1], al
jmp 0x18002c491
movzx eax, byte [rsi]
mov byte [rdi], al
inc ebx
cmp ebx, ebp
jb 0x18002c447
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov ecx, dword [rdi]
test ecx, ecx
je 0x18002c4cc
cmp ecx, 1
je 0x18002c4c3
lea rax, [0x180053396]
jmp 0x18002c49c
lea rax, str.desc
jmp 0x18002c49c
lea rax, [0x180054b0c]
jmp 0x18002c49c
Function at 0x180031f40
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x360
mov rax, qword [0x1800b3dc8]
xor rax, rsp
mov qword [rsp + 0x350], rax
lea ebx, [r8 + 0x30]
mov r15d, r8d
mov dword [rsp + 0x30], ebx
mov r13, rdx
mov r12, rcx
cmp r8d, ebx
jae 0x180032131
mov ebx, dword [rsp + 0x30]
mov rsi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x30]
mov eax, dword [rsp + 0x30]
cmp r15d, 0x1a
je 0x1800320e7
cmp r15d, 0x26
je 0x180032160
cmp r15d, 0x32
je 0x1800320a2
cmp r15d, 0x66
jne 0x180032124
test r13, r13
je 0x180032124
test r12, r12
je 0x180032124
cmp dword [0x182955060], 1
jne 0x180032124
xor r9d, r9d
lea ecx, [r15 + 0x25]
xor r8d, r8d
mov rdx, r13
call fcn.18003fb80
mov rbp, rax
test rax, rax
je 0x180032120
mov edi, 0xf0
nop
cmp edi, 0xf0
je 0x18003207e
cmp edi, 0x1b6
je 0x180032066
cmp edi, 0x27c
je 0x180032032
cmp edi, 0x342
jne 0x18003208e
mov r8d, 0xa6
mov rdx, rbp
xor ecx, ecx
call fcn.180017af0
jmp 0x18003208e
test r14, r14
jne 0x18003205d
cmp byte [rsi + rbp - 1], 0x2a
jne 0x18003208e
mov r9d, 0xc4
lea rdx, str.void
xor r8d, r8d
xor ecx, ecx
call fcn.18002e200
mov r14, rax
test rax, rax
je 0x18003208e
mov rcx, r12
call qword [r14 + 0x18]
jmp 0x18003208e
mov r9d, 0xc4
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
call fcn.18002e200
mov r14, rax
jmp 0x18003208e
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rsi + rbp], 0
jne 0x180032085
add edi, 0xc6
cmp edi, 0x408
jb 0x180032000
jmp 0x180032120
mov edi, 0xb5
cmp edi, 0xb5
je 0x1800320c1
cmp edi, 0x3c19
jne 0x1800320d9
shr ebx, 5
and ebx, 1
mov eax, ebx
jmp 0x180032135
cmp ebx, 0xffffffff
jne 0x1800320d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 1
jbe 0x18003219f
int3
add edi, 0x3b64
cmp edi, 0x76c8
jbe 0x1800320a7
mov r9d, 0x79
mov qword [rsp + 0x20], 0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180003f50
mov r9, rax
mov qword [rsp + 0x20], r13
lea r8, str.ReadMATImage
mov edx, 0x100
lea rcx, [rsp + 0x40]
call fcn.1800354a0
mov eax, dword [rsp + 0x30]
add r15d, 0xc
cmp r15d, eax
jb 0x180031f95
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.1800508f0
mov rbx, qword [rsp + 0x3b0]
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rax, [rsp + 0x140]
mov dword [rsp + 0x28], 0x104
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
jmp 0x180032120
xor eax, eax
jmp 0x180032135
Function at 0x180038590
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea r12d, [rcx + 7]
mov r13, r8
mov rdi, rdx
mov r14d, ecx
cmp ecx, r12d
jae 0x18003870c
mov ebp, dword [rsp + 0x60]
lea r15d, [rcx - 0xf3]
mov esi, dword [rsp + 0x60]
lea rdx, [0x180000000]
nop dword [rax + rax]
cmp r15d, 0xb
ja case.0x1800385f5.2
mov ecx, dword [rdx + r15*4 + 0x3874c]
add rcx, rdx
jmp rcx
mov eax, dword [r13]
shr eax, 8
mov byte [rdi + 2], al
movzx eax, byte [r13]
mov byte [rdi + 3], al
jmp case.0x1800385f5.2
mov rcx, qword [rdi + 0x28]
call qword [rdi + 0x20]
test al, al
je 0x18003866f
mov ebx, 0x1b
nop
mov eax, ebx
sub eax, 0x1b
je 0x18003864e
sub eax, 1
je 0x180038636
cmp eax, 1
jne 0x180038668
call qword [rdi + 0x50]
jmp 0x180038668
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, ebp
mul ecx
mov esi, edx
shr esi, 6
jmp 0x180038668
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor r9d, r9d
mov r8, rdi
mov edx, 0xb0
xor ecx, ecx
mov ebp, eax
call fcn.180014720
inc ebx
cmp ebx, 0x1e
jb 0x180038620
mov rdx, qword [0x1800b3ea8]
xor r8d, r8d
mov ecx, 0xad
call fcn.18000a870
lea rdx, [0x180000000]
jmp case.0x1800385f5.2
mov rax, qword [0x1800b3ea8]
lea rdx, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, 0xa8
mov byte [rsp + 0x60], 1
xor ecx, ecx
call fcn.180042150
mov rdx, rdi
mov ecx, 0x2d
call fcn.180029b20
test al, al
je 0x180038730
lea rdx, [0x180000000]
jmp case.0x1800385f5.2
xor esi, esi
jmp case.0x1800385f5.2
mov rdx, qword [0x1800b3ea8]
mov ecx, 0xad
call fcn.180015d80
test al, al
je 0x180038744
lea rdx, [0x180000000]
jmp case.0x1800385f5.2
movzx eax, byte [r13 + 3]
mov byte [rdi], al
movzx eax, byte [r13 + 2]
mov byte [rdi + 1], al
inc r14d
inc r15d
cmp r14d, r12d
jb 0x1800385e0
mov eax, dword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rdx, qword [0x1800b3ea8]
xor r8d, r8d
mov ecx, 0xad
call fcn.18000a870
xor eax, eax
jmp 0x180038710
mov eax, esi
jmp 0x180038710