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.Panama_tpatches_tats_tmasthead_terror_tfileslog_thotjobs_tadfile_tforo_tcabins_tadminnorthface_tvflashslideshowvflashslideshowvbackupvvvweb_temailtemplate_tbreadcrumbs_toverlays_tkatalogi_tnwshp_tesl_tgaby_temarket_tmanu_trfid_tofftopic_trpx_tcalifornia_tiowa_tmalta_tflags_tmce_tpackage_thindi_tprofilo_tasset_tacceso_tcmsdemo_tkorean_tfuckme_tstratford_tsystemweb_treviewrank_tmyphpnuke_tfsearch_tjoomla_timages_trefer_tcompare_tlearners_tetc_treportabuse_ttrips_tphpshop_tteddy_tposition_tsuzanne_tphpcart_tdrinks
mov r10, rax
sub rbx, rax
movabs rdi, 0x8dda520237694809
lea r9, [rax + 2]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rcx, r8
shr rdx, 8
imul rax, rdx, 0x1ce
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, 8
imul rax, rdx, 0x1ce
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, 8
imul rax, rdx, 0x1ce
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, 8
imul rax, rdx, 0x1ce
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, 8
imul rax, rdx, 0x1ce
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, 8
imul rax, rdx, 0x1ce
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, 8
imul rax, rdx, 0x1ce
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, 8
imul rax, rdx, 0x1ce
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, 8
imul rax, rdx, 0x1ce
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, 8
imul rax, rdx, 0x1ce
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, 8
imul rax, rdx, 0x1ce
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 0x14000a560
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 rbx, qword [0x1400171c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x90003
mov dword [rbp - 0x1c], 0xd000b
mov dword [rbp - 0x18], 0x520001
mov dword [rbp - 0x14], 0x5e003b
mov dword [rbp - 0x10], 0x180005
mov dword [rbp - 0xc], 0x68000f
call fcn.1400029c0
mov rcx, rax
call rbx
mov rbx, qword [0x1400171c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400171a0], rax
mov dword [rbp - 0x20], 0x80007
mov dword [rbp - 0x1c], 0x80000
mov dword [rbp - 0x18], 0x40003
mov dword [rbp - 0x14], 0x5e007d
mov dword [rbp - 0x10], 0x180005
mov dword [rbp - 0xc], 0x68000f
call fcn.1400029c0
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x140016130]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400171b0], rax
mov word [rbp - 0x10], 0x2402
mov byte [rbp - 0xe], 9
call fcn.140004620
mov rcx, qword [0x1400171a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140017130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0xd0b0903
mov dword [rbp - 0x1c], 0x15712401
mov dword [rbp - 0x18], 0xd170102
mov word [rbp - 0x14], 0x7332
call fcn.140001180
mov rcx, qword [0x1400171a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140017130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x41a0f19
mov dword [rbp - 0x1c], 0x46c0f1f
mov dword [rbp - 0x18], 0x606042e
mov word [rbp - 0x14], 0x7324
call fcn.140001180
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140016200]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170e8], rax
mov byte [rbp - 0x10], 0x74
call fcn.140004330
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400161a0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170f0], rax
mov dword [rbp - 0x10], 0x6d6c1f10
call fcn.140002660
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140016110]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170e0], rax
mov byte [rbp - 0x10], 0x74
call fcn.140004330
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400161d0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170d8], rax
mov dword [rbp - 0x10], 0x2c671c1d
mov byte [rbp - 0xc], 0x61
call fcn.140003130
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140016180]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x321a
mov byte [rbp - 0xe], 9
call fcn.140004620
mov rcx, qword [0x1400171b0]
mov rdx, rax
mov rax, rbx
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 rax
Function at 0x14000cf20
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 0x14000d14e
mov word [rbp + 0x50], 0x6150
mov word [rbp + 0x58], 0x6150
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 0x14000cfd4
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000cfc0
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000d005
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000cff0
cmp rdi, rbx
jne 0x14000d122
mov r13, rsi
mov word [rbp - 0x50], 0x6150
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 0x14000d046
lea rcx, [rbp - 0x50]
inc rbx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000d032
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000d148
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x610031
call fcn.140002490
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000d0b8
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x61002a
call fcn.140002490
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000d0b8
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x610031
mov dword [rbp - 0x42], 0x610011
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], 0x610031
call fcn.140002490
movzx eax, word [rax]
cmp edi, eax
jl 0x14000d115
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x61002a
call fcn.140002490
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000d115
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x610031
mov dword [rbp - 0x32], 0x610011
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 0x14000d122
inc r14
jmp 0x14000d020
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000d14e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000cf90
mov rax, qword [rbp - 8]
jmp 0x14000d150
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 0x14000d230
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 0x14000d292
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.14000b350
test al, al
jne 0x14000d2a4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000d260
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, 0x63
mov dword [rbp - 0x20], 0x24001b
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x2f003c
mov dword [rbp - 0x18], 0x2d0028
mov dword [rbp - 0x14], 0x31004b
mov dword [rbp - 0x10], 0x310032
call fcn.140004fd0
mov rcx, rax
call 0x14000d230
mov ebx, 0x61
mov qword [0x1400171b8], rax
lea rcx, [rbp - 0x20]
mov word [rbp - 0x10], bx
mov dword [rbp - 0x20], 0x24001b
mov dword [rbp - 0x1c], 0x2f003c
mov dword [rbp - 0x18], 0x2d0028
mov dword [rbp - 0x14], 0x42003a
call fcn.1400022a0
mov rcx, rax
call 0x14000d230
lea rcx, [rbp - 0x20]
mov qword [0x1400171a8], rax
mov dword [rbp - 0x20], 0x15003e
mov dword [rbp - 0x1c], 0xd000a
mov dword [rbp - 0x18], 0x610001
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 0x14000d230
Function at 0x14000ead0
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 0x14000d292
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.14000b350
test al, al
jne 0x14000d2a4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000d260
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, 0x63
mov dword [rbp - 0x20], 0x24001b
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x2f003c
mov dword [rbp - 0x18], 0x2d0028
mov dword [rbp - 0x14], 0x31004b
mov dword [rbp - 0x10], 0x310032
call fcn.140004fd0
mov rcx, rax
call 0x14000d230
mov ebx, 0x61
mov qword [0x1400171b8], rax
lea rcx, [rbp - 0x20]
mov word [rbp - 0x10], bx
mov dword [rbp - 0x20], 0x24001b
mov dword [rbp - 0x1c], 0x2f003c
mov dword [rbp - 0x18], 0x2d0028
mov dword [rbp - 0x14], 0x42003a
call fcn.1400022a0
mov rcx, rax
call 0x14000d230
lea rcx, [rbp - 0x20]
mov qword [0x1400171a8], rax
mov dword [rbp - 0x20], 0x15003e
mov dword [rbp - 0x1c], 0xd000a
mov dword [rbp - 0x18], 0x610001
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 0x14000d230
Function at 0x140019a10
Capabilities:
Create pipe
Create process on windows
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1310
call fcn.1401aa0b0
sub rsp, rax
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x1300], rax
mov dword [rsp + 0x40], 1
lea rax, [rsp + 0x10f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], 0x14
mov dword [rsp + 0x20], 0x14
mov r9d, 0xff
mov r8d, 6
mov edx, 3
lea rcx, [0x14027b880]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [0x1402d3bc8], rax
lea rax, [rsp + 0x10f0]
mov qword [rsp + 0x60], rax
mov r8d, 0x104
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
lea rax, [rsp + 0x1070]
mov rdi, rax
xor eax, eax
mov ecx, MsiRecordIsNull
rep stosb byte [rdi], al
mov dword [rsp + 0x1070], 0x70
lea rax, [rsp + 0x10f0]
mov qword [rsp + 0x1088], rax
mov rcx, qword [rsp + 0x1320]
call fcn.140017de0
mov qword [rsp + 0x1090], rax
lea rax, str.runas
mov qword [rsp + 0x1080], rax
mov dword [rsp + 0x1074], 0x40
mov dword [rsp + 0x10a0], 0
lea rcx, [rsp + 0x1070]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140019b6c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x1320]
call fcn.140023a10
mov eax, dword [rsp + 0x44]
jmp 0x140019c49
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x10e4], 0
mov dword [rsp + 0x10e0], 0xffffffff
lea rax, [rsp + 0x10e4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140019970]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x50], rax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x10d8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp qword [rsp + 0x10d8], 0xffffffffffffffff
je 0x140019c1a
lea rdx, [rsp + 0x10e0]
mov rcx, qword [rsp + 0x10d8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x10d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x10e0], 0
je 0x140019c1a
cmp qword [0x1402d3bd0], 0
je 0x140019c1a
mov rcx, qword [0x1402d3bd0]
call fcn.14001d070
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x140019c2d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x10e0]
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x1320]
call fcn.140023a10
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x1300]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0x1310
pop rdi
ret
Function at 0x14001b620
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp qword [rsp + 0x280], 0
jne 0x14001b650
xor al, al
jmp 0x14001b786
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x14001b669
mov al, 1
jmp 0x14001b786
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], 0xffffffffffffffff
inc qword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
cmp word [rax + rcx*2], 0
jne 0x14001b67f
mov rax, qword [rsp + 0x28]
cmp rax, 0x104
jb 0x14001b6a9
xor al, al
jmp 0x14001b786
mov rdx, qword [rsp + 0x280]
lea rcx, [rsp + 0x50]
call fcn.14002cbd0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp word [rax + rcx*2], 0
jne 0x14001b6ce
mov rax, qword [rsp + 0x30]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
dec eax
cdqe
mov rcx, qword [rsp + 0x280]
movzx eax, word [rcx + rax*2]
cmp eax, 0x2f
je 0x14001b71f
mov eax, dword [rsp + 0x24]
dec eax
cdqe
mov rcx, qword [rsp + 0x280]
movzx eax, word [rcx + rax*2]
cmp eax, 0x5c
jne 0x14001b72e
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [rsp + 0x3c], eax
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x14001b748
xor al, al
jmp 0x14001b786
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14001b761
lea rcx, [rsp + 0x50]
call fcn.14001b620
xor edx, edx
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14001b77c
mov byte [rsp + 0x20], 1
jmp 0x14001b781
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0x278
ret
Function at 0x14001bb70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
cmp qword [0x1402d3bd0], 0
je 0x14001bd18
lea rdx, [rsp + 0x70]
mov rcx, qword [0x1402d3bd0]
call fcn.14001c1a0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140017de0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov r8d, 2
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x70]
call fcn.140023a10
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x14001bc71
lea rdx, [rsp + 0x90]
mov rcx, qword [0x1402d3bd0]
call fcn.14001c1a0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140017de0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 2
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x90]
call fcn.140023a10
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x14001bd18
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0xb8]
call fcn.140017fc0
lea rcx, [rsp + 0xb8]
call fcn.140023520
shl rax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0xb8]
call fcn.140017de0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb0]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x40], 1
lea rcx, [rsp + 0xb8]
call fcn.140023a10
movzx eax, byte [rsp + 0x40]
jmp 0x14001bd1a
xor al, al
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0xe8
ret
Function at 0x14001c600
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, 0x26
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.140017fc0
nop
lea rdx, [0x14027bd08]
lea rcx, [rsp + 0x28]
call fcn.140023920
lea rdx, str.Setup.log
lea rcx, [rsp + 0x48]
call fcn.140017fc0
nop
mov rax, qword [rsp + 0x2a0]
add rax, 0x50
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.14001b060
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001c6cc
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x48]
call fcn.140023a10
nop
lea rcx, [rsp + 0x28]
call fcn.140023a10
movzx eax, byte [rsp + 0x21]
jmp 0x14001c766
lea rcx, [rsp + 0x28]
call fcn.140017de0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14001c710
lea rcx, [rsp + 0x28]
call fcn.140017de0
mov rcx, rax
call fcn.14001b620
movzx eax, al
test eax, eax
jne 0x14001c710
mov rax, qword [rsp + 0x2a0]
mov byte [rax + 0xd1], 0
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x2a0]
add rax, 0x50
mov rcx, rax
call fcn.140017de0
mov rcx, rax
call fcn.14001b7a0
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x2a0]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 0xd1], cl
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x22], al
lea rcx, [rsp + 0x48]
call fcn.140023a10
nop
lea rcx, [rsp + 0x28]
call fcn.140023a10
movzx eax, byte [rsp + 0x22]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0x290
pop rdi
ret

Function at 0x14001c780
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rdx, [0x140279b1c]
lea rcx, [rsp + 0x48]
call fcn.140017fc0
nop
lea rdx, [0x140279b34]
lea rcx, [rsp + 0x28]
call fcn.140017fc0
nop
mov rax, qword [rsp + 0x80]
add rax, 0x30
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.14001b060
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
cmp eax, 1
jne 0x14001c84a
lea rcx, [rsp + 0x28]
call fcn.1400234e0
movzx eax, al
test eax, eax
je 0x14001c814
mov rax, qword [rsp + 0x80]
add rax, 0x30
lea rdx, str.ConfigInstallManager.cfg
mov rcx, rax
call fcn.140023920
mov rax, qword [rsp + 0x80]
add rax, 0x30
mov rcx, rax
call fcn.140017de0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001c83c
mov byte [rsp + 0x21], 1
jmp 0x14001c841
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x22], al
lea rcx, [rsp + 0x28]
call fcn.140023a10
nop
lea rcx, [rsp + 0x48]
call fcn.140023a10
movzx eax, byte [rsp + 0x22]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0x78
ret