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.Switzerland_tvalentin_tchi_tshoppingbasket_trodent_tlider_tcno_twsm_tadmin_tgestao_tmodequote_tfullsearch_tappli_timagedb_tashicodeofethics_thsconfig_tmailinglists_tcriminal_treferences_tvideosearch_tconcours_trechtliches_twebeditor_tglobesadmin_tcenters_tservices_tcannon_twrite_ttesty_tctools_tbmw_tfg_ttickle_tnorthdakota_tpublicacion_tprova_tkanto_thccthumbs_tgatherer_tmanutencao_tlinki_tpoi_tstream_tfinite_tobs_trecommendad_toops
mov r10, rax
sub rbx, rax
movabs rdi, 0x4f38f62dd4c9a845
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, 0x187
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, 0x187
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, 0x187
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, 0x187
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, 0x187
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, 0x187
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 0x140009ef0
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 eax, 0x64
mov dword [rbp - 0x20], 0x320018
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x3a003b
mov dword [rbp - 0x18], 0x29003f
mov dword [rbp - 0x14], 0x2d0030
mov dword [rbp - 0x10], 0x2b0032
call fcn.140005e60
mov rcx, rax
call 0x14000bb50
mov qword [0x1400171b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x61
mov dword [rbp - 0x20], 0x320018
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x3a003b
mov dword [rbp - 0x18], 0x29003f
mov dword [rbp - 0x14], 0x5e0041
call fcn.140002590
mov rcx, rax
call 0x14000bb50
lea rcx, [rbp - 0x20]
mov qword [0x1400171a8], rax
mov dword [rbp - 0x20], 0x3003d
mov dword [rbp - 0x1c], 0x18000d
mov dword [rbp - 0x18], 0x650016
call fcn.140005ca0
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 0x14000bb50
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 0x14000bbb2
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.14000e200
test al, al
jne 0x14000bbc4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000bb80
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 0x14000bb50
Capabilities:
Access peb ldr_data

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 eax, 0x64
mov dword [rbp - 0x20], 0x320018
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x3a003b
mov dword [rbp - 0x18], 0x29003f
mov dword [rbp - 0x14], 0x2d0030
mov dword [rbp - 0x10], 0x2b0032
call fcn.140005e60
mov rcx, rax
call 0x14000bb50
mov qword [0x1400171b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x61
mov dword [rbp - 0x20], 0x320018
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x3a003b
mov dword [rbp - 0x18], 0x29003f
mov dword [rbp - 0x14], 0x5e0041
call fcn.140002590
mov rcx, rax
call 0x14000bb50
lea rcx, [rbp - 0x20]
mov qword [0x1400171a8], rax
mov dword [rbp - 0x20], 0x3003d
mov dword [rbp - 0x1c], 0x18000d
mov dword [rbp - 0x18], 0x650016
call fcn.140005ca0
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 0x14000bb50
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 0x14000bbb2
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.14000e200
test al, al
jne 0x14000bbc4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000bb80
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 0x14000df10
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], 0x1f0000
mov dword [rbp - 0x1c], 0x18000c
mov dword [rbp - 0x18], 0x560016
mov dword [rbp - 0x14], 0x420040
mov dword [rbp - 0x10], 0x20005
mov dword [rbp - 0xc], 0x90008
call fcn.140002e40
mov rcx, rax
call rbx
mov rbx, qword [0x1400171c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400171a0], rax
mov dword [rbp - 0x20], 0x1e0004
mov dword [rbp - 0x1c], 0x1d0007
mov dword [rbp - 0x18], 0x14
mov dword [rbp - 0x14], 0x420006
mov dword [rbp - 0x10], 0x20005
mov dword [rbp - 0xc], 0x90008
call fcn.140002e40
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x1400161a0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400171b0], rax
mov word [rbp - 0x10], 0x2318
mov byte [rbp - 0xe], 0x69
call fcn.140005220
mov rcx, qword [0x1400171a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140017130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x180c1f00
mov dword [rbp - 0x1c], 0x90a2016
mov dword [rbp - 0x18], 0x6c101b02
mov word [rbp - 0x14], 0x6121
call fcn.140001180
mov rcx, qword [0x1400171a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140017130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x111d191a
mov dword [rbp - 0x1c], 0x18170b08
mov dword [rbp - 0x18], 0x67011e2e
mov word [rbp - 0x14], 0x6137
call fcn.140001180
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140016280]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170e8], rax
mov byte [rbp - 0x10], 0x6e
call fcn.140004e60
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140016220]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170f0], rax
mov dword [rbp - 0x10], 0x6e0c180a
call fcn.1400029f0
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140016150]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170e0], rax
mov byte [rbp - 0x10], 0x6e
call fcn.140004e60
mov rcx, qword [0x1400171b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140016250]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140017130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400170d8], rax
mov dword [rbp - 0x10], 0x2f071b07
mov byte [rbp - 0xc], 9
call fcn.140003790
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 word [rbp - 0x10], 0x3500
mov byte [rbp - 0xe], 0x69
call fcn.140005220
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 0x14000e530
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 0x14000e75e
mov word [rbp + 0x50], 0x7753
mov word [rbp + 0x58], 0x7753
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 0x14000e5e4
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000e5d0
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000e615
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000e600
cmp rdi, rbx
jne 0x14000e732
mov r13, rsi
mov word [rbp - 0x50], 0x7753
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 0x14000e656
lea rcx, [rbp - 0x50]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000e642
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000e758
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x770032
call fcn.1400027f0
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000e6c8
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x770029
call fcn.1400027f0
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000e6c8
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x770032
mov dword [rbp - 0x42], 0x770012
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], 0x770032
call fcn.1400027f0
movzx eax, word [rax]
cmp edi, eax
jl 0x14000e725
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x770029
call fcn.1400027f0
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000e725
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x770032
mov dword [rbp - 0x32], 0x770012
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 0x14000e732
inc r14
jmp 0x14000e630
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000e75e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000e5a0
mov rax, qword [rbp - 8]
jmp 0x14000e760
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 0x1400a5e50
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400a5e5d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400a5e6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400a5e55
lea eax, [rcx + 1]
jmp 0x1400a5e7b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400a5e8e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400a5e74
sub eax, 3
jb 0x1400a5eae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400a5efd
sar eax, 1
movsxd rbp, eax
jb 0x1400a5ee4
jmp 0x1400a5ebc
add ebx, ebx
jne 0x1400a5eba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400a5ee4
inc ecx
add ebx, ebx
jne 0x1400a5eca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400a5ee4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400a5edd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400a5ecc
add ecx, 2
jmp 0x1400a5ee9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400a5e12
jmp 0x1400a5e5d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x7d000
mov dl, 0x14
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400a5f49
cmp rsi, rcx
jae 0x1400a5f51
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400a5f30
cmp al, 0x8f
ja 0x1400a5f30
cmp byte [rsi - 2], 0xf
je 0x1400a5f36
sub al, 0xe8
cmp al, 1
ja 0x1400a5f1a
cmp rsi, rcx
jae 0x1400a5f51
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400a5f20
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400a5f51
lodsb al, byte [rsi]
jmp 0x1400a5f30
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xa3000]
mov eax, dword [rdi]
or eax, eax
je 0x1400a5fae
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xa61dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400a5f5e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400a5fa8
mov qword [rbx], rax
add rbx, 8
jmp 0x1400a5f7e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400a5fe8
cmp al, 0xef
ja 0x1400a5fda
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400a5fba
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400a5fc9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400a603c
sub rsp, 0xffffffffffffff80
jmp 0x140002e0f
Function at 0x140011258
Capabilities:
Terminate process

Disassembly:
jmp 0x140014180
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112f3
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400154d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400154f0
xor al, al
jmp 0x140015571
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015503
xor al, al
jmp 0x140015571
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001552d
xor al, al
jmp 0x140015571
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015541
xor al, al
jmp 0x140015571
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015553
xor al, al
jmp 0x140015571
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001556f
xor al, al
jmp 0x140015571
mov al, 1
add rsp, 0x38
ret
Function at 0x141044058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1410441df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141044089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14104406f
add dl, dl
jne 0x141044096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410440f6
xor eax, eax
add dl, dl
jne 0x1410440a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410441ad
add dl, dl
jne 0x1410440b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410440c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410440d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410440dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1410440ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14104407e
mov eax, 1
add dl, dl
jne 0x141044106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141044113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410440fb
sub eax, ebx
mov ebx, 1
jne 0x14104414c
mov ecx, 1
add dl, dl
jne 0x14104412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14104413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141044123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14104407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141044168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141044175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14104415d
cmp eax, 0x7d00
jae 0x14104419b
cmp eax, 0x500
jb 0x141044196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14104407e
cmp eax, 0x7f
ja 0x14104419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14104407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1410441d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14104407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140005760
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, r9
mov rsi, r8
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ebp, ebp
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
call fcn.140013df0
cmp eax, ebp
mov ebx, eax
jl 0x140005848
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
call fcn.140013df0
mov ebx, eax
cmp eax, ebp
jne 0x140005843
mov rcx, qword [rsp + 0x28]
mov eax, 0x2f
cmp ax, word [rcx]
je 0x1400057e9
mov eax, 0x2d
cmp ax, word [rcx]
jne 0x140005825
lea rbx, [rcx + 2]
lea rcx, str.standalone
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, ebp
jne 0x140005809
mov dword [rsi], 1
jmp 0x1400057b1
lea rcx, str.standalone:temp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, ebp
jne 0x14000582c
mov dword [rdi], 1
jmp 0x1400057b1
mov ebx, 0x80070057
jmp 0x14000584d
lea rcx, str.standalone:delete
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
mov ebx, 0x80070057
jmp 0x140005848
cmp ebx, ebp
cmovge ebx, ebp
mov rcx, qword [rsp + 0x28]
cmp rcx, rbp
je 0x140005857
call fcn.140010460
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140006a80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x1400280c8]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor ebx, ebx
cmp qword [0x140029558], rbx
jne 0x140006c4c
mov ebx, 0x104
lea rcx, [rsp + 0x60]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, 0x80070000
test eax, eax
je 0x140006af2
lea r8, str.CABINET.DLL
lea rcx, [rsp + 0x60]
or r9, 0xffffffffffffffff
mov rdx, rbx
call fcn.14001475c
cmp eax, 0x50
jne 0x140006aee
lea ebx, [rdi + 0x7a]
jmp 0x140006c32
xor ebx, ebx
jmp 0x140006b0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140006c32
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140029558], rax
test rax, rax
jne 0x140006b43
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140006c32
mov ebx, 0x80004005
jmp 0x140006c32
lea rdx, str.FDICreate
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140029580], rax
test rax, rax
je 0x140006b21
mov rcx, qword [0x140029558]
lea rdx, str.FDICopy
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140029568], rax
test rax, rax
je 0x140006b21
mov rcx, qword [0x140029558]
lea rdx, str.FDIIsCabinet
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140029570], rax
test rax, rax
je 0x140006b21
mov rcx, qword [0x140029558]
lea rdx, str.FDIDestroy
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140029578], rax
test rax, rax
je 0x140006b21
lea rax, [rsp + 0x50]
lea r9, [0x1400065dc]
lea r8, [0x140006578]
mov qword [rsp + 0x40], rax
or dword [rsp + 0x38], 0xffffffff
lea rax, [0x14000669c]
mov qword [rsp + 0x30], rax
lea rax, [0x14000665c]
lea rdx, [0x140006570]
mov qword [rsp + 0x28], rax
lea rax, [0x140006624]
lea rcx, [0x140006564]
mov qword [rsp + 0x20], rax
call qword [0x140029580]
mov ecx, ebx
mov ebx, 0x80004005
test rax, rax
cmove ecx, ebx
mov qword [0x140029560], rax
mov ebx, ecx
test ecx, ecx
jns 0x140006c4c
mov rcx, qword [0x140029558]
test rcx, rcx
je 0x140006c4c
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [0x140029558], 0
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400146fc
mov rbx, qword [rsp + 0x290]
add rsp, 0x280
pop rdi
ret