joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140047f68
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14053eb00]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14053ad30]
test eax, eax
je 0x140047fb3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14053ad30]
test eax, eax
jne 0x140047fbc
call fcn.140009f8c
test eax, eax
je 0x140047fd8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1405334d8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140047fe0
xor eax, eax
jmp 0x140048045
test rbx, rbx
jne 0x140048000
lea rcx, str.GetOpenFileNameA
call fcn.14002bca4
mov rbx, rax
test rax, rax
je 0x140048013
mov qword [0x14053eb00], rax
mov rcx, rbx
call fcn.1401bb5ac
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140048028
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14004802a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140048043
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14004805c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14053eb08]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14053ad30]
test eax, eax
je 0x1400480a7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14053ad30]
test eax, eax
jne 0x1400480b0
call fcn.140009f8c
test eax, eax
je 0x1400480cc
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1405334d8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400480d4
xor eax, eax
jmp 0x140048139
test rbx, rbx
jne 0x1400480f4
lea rcx, str.GetSaveFileNameA
call fcn.14002bca4
mov rbx, rax
test rax, rax
je 0x140048107
mov qword [0x14053eb08], rax
mov rcx, rbx
call fcn.1401bb5ac
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14004811c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14004811e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140048137
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140076890
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
jne 0x1400768c1
call fcn.14001250c
mov rdi, qword [rax + 0x18]
lea r8, [0x1401ffae8]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbp, rax
test rax, rax
jne 0x1400768e0
xor eax, eax
jmp 0x14007692c
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400768dc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140076921
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.140076948
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140079610
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14053f498]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14053ad30]
test eax, eax
je 0x14007965b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14053ad30]
test eax, eax
jne 0x140079664
call fcn.140009f8c
test eax, eax
je 0x140079680
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1405334d8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140079688
xor eax, eax
jmp 0x1400796ed
test rbx, rbx
jne 0x1400796a8
lea rcx, [0x1401ff998]
call fcn.14001ef48
mov rbx, rax
test rax, rax
je 0x1400796bb
mov qword [0x14053f498], rax
mov rcx, rbx
call fcn.1401bb5ac
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400796d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400796d2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400796eb
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140105388
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x140105558
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edx, edx
test eax, eax
jne 0x14010559a
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret

Function at 0x140105a04
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140105ad6
test rbx, rbx
je 0x140105adc
test r9, r9
je 0x140105ae2
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140105abf
cmp dword [rsp + 0x48], 3
jne 0x140105abf
test eax, eax
jne 0x140105abf
cmp dword [rdi], eax
je 0x140105abf
mov ecx, dword [rdi]
call fcn.140008208
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140105ab3
cmp dword [rsp + 0x48], 3
jne 0x140105ab3
test eax, eax
jne 0x140105ab3
mov eax, 1
jmp 0x140105ac1
mov rcx, qword [rbx]
call fcn.140008210
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.1400105d0
int3
call fcn.1400105d0
int3
call fcn.1400105d0
int3

Function at 0x140105e08
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140105e19
xor eax, eax
jmp 0x140105e47
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x140105e50
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140105e61
xor eax, eax
jmp 0x140105e85
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140166870
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140543228]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14053ad30]
test eax, eax
je 0x1401668bb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14053ad30]
test eax, eax
jne 0x1401668c4
call fcn.140009f8c
test eax, eax
je 0x1401668e0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1405334d8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401668e8
xor eax, eax
jmp 0x14016694d
test rbx, rbx
jne 0x140166908
lea rcx, str.ChooseColorA
call fcn.14002bca4
mov rbx, rax
test rax, rax
je 0x14016691b
mov qword [0x140543228], rax
mov rcx, rbx
call fcn.1401bb5ac
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140166930
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140166932
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14016694b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14016b4b0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140543378]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14053ad30]
test eax, eax
je 0x14016b4fb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14053ad30]
test eax, eax
jne 0x14016b504
call fcn.140009f8c
test eax, eax
je 0x14016b520
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1405334d8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14016b528
xor eax, eax
jmp 0x14016b58d
test rbx, rbx
jne 0x14016b548
lea rcx, str.PrintDlgA
call fcn.14002bca4
mov rbx, rax
test rax, rax
je 0x14016b55b
mov qword [0x140543378], rax
mov rcx, rbx
call fcn.1401bb5ac
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14016b570
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14016b572
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14016b58b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1401cdb74
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 0x1401cd948
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401cd948
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401cd948
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401cd948
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401cd948
cmp dword [rcx + 0x84], 0xe
jbe 0x1401cd948
cmp dword [rcx + 0xf8], esi
je 0x1401cd948
mov ecx, r14d
call fcn.1401cda90
mov ecx, 2
call fcn.1401d3df8
nop
cmp byte [0x1405451e8], 0
jne 0x1401cda12
mov r15d, 1
mov eax, r15d
xchg dword [0x1405451d8], eax
test ebx, ebx
jne 0x1401cd9bb
mov rdi, qword [0x140534c30]
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 [0x1405451e0]
cmp rcx, rax
je 0x1401cd9b2
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400ea914]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140545318]
jmp 0x1401cd9c7
cmp ebx, r15d
jne 0x1401cd9cd
lea rcx, [0x140545330]
call fcn.1401ce628
nop
test ebx, ebx
jne 0x1401cd9e4
lea rdx, [0x1401e7a20]
lea rcx, [0x1401e7a00]
call fcn.1401ce964
lea rdx, [0x1401e7a30]
lea rcx, [0x1401e7a28]
call fcn.1401ce964
movzx eax, byte [0x1405451e8]
test esi, esi
cmove eax, r15d
mov byte [0x1405451e8], al
jmp 0x1401cda12
mov ecx, 2
call fcn.1401d3e4c
test esi, esi
jne 0x1401cda29
mov ecx, r14d
call fcn.1401cda44
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 0x1401cd8d8
Function at 0x1400598e0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400598ed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400598fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400598e5
lea eax, [rcx + 1]
jmp 0x14005990b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14005991e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140059904
sub eax, 3
jb 0x14005993e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14005998d
sar eax, 1
movsxd rbp, eax
jb 0x140059974
jmp 0x14005994c
add ebx, ebx
jne 0x14005994a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140059974
inc ecx
add ebx, ebx
jne 0x14005995a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140059974
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14005996d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14005995c
add ecx, 2
jmp 0x140059979
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400598a2
jmp 0x1400598ed
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2b000
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400599d9
cmp rsi, rcx
jae 0x1400599e1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400599c0
cmp al, 0x8f
ja 0x1400599c0
cmp byte [rsi - 2], 0xf
je 0x1400599c6
sub al, 0xe8
cmp al, 1
ja 0x1400599aa
cmp rsi, rcx
jae 0x1400599e1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400599b0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400599e1
lodsb al, byte [rsi]
jmp 0x1400599c0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x57000]
mov eax, dword [rdi]
or eax, eax
je 0x140059a4a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x68440]
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 0x1400599ee
jns 0x140059a23
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140059a2d
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 0x140059a44
mov qword [rbx], rax
add rbx, 8
jmp 0x140059a0e
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 0x140059a84
cmp al, 0xef
ja 0x140059a76
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140059a56
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140059a65
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 + 0x23f]
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 0x140059ad8
sub rsp, 0xffffffffffffff80
jmp 0x14000c540
Function at 0x140d61108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140d6128f
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 0x140d61139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d6111f
add dl, dl
jne 0x140d61146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d611a6
xor eax, eax
add dl, dl
jne 0x140d61155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d6125d
add dl, dl
jne 0x140d61166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d61173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d61180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d6118d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140d6119a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140d6112e
mov eax, 1
add dl, dl
jne 0x140d611b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d611c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d611ab
sub eax, ebx
mov ebx, 1
jne 0x140d611fc
mov ecx, 1
add dl, dl
jne 0x140d611de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d611eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d611d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d6112e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140d61218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d61225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d6120d
cmp eax, 0x7d00
jae 0x140d6124b
cmp eax, 0x500
jb 0x140d61246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d6112e
cmp eax, 0x7f
ja 0x140d6124e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d6112e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140d61282
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 0x140d6112e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140008b6c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140008ba6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140008bab
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140008bf4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14000b4d0]
cmp byte [rcx + rax], 0
je 0x140008bf4
dec r8
sub rdx, 1
jne 0x140008bda
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140009b88
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140009bd2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140009bd2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140009bd2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140009bd2
cmp dword [rcx + 0x84], 0xe
jbe 0x140009bd2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140009bd4
xor al, al
add rsp, 0x28
ret
Function at 0x14000129c
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
mov rax, qword [0x14000f068]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov rsi, rcx
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov r14d, 0x104
lea rcx, [rsp + 0x60]
mov edx, r14d
call fcn.14000200c
lea rcx, [rsp + 0x60]
call fcn.140001f68
lea r11, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], r11
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140001441
lea rax, [rsp + 0x40]
xor edi, edi
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x170]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rdi
xor edx, edx
jmp 0x1400013fe
cmp dword [rsp + 0x48], 1
jne 0x1400013d4
mov edx, 0x320
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x1400013d4
lea r8, [rbp + 0x380]
mov edx, 0x80
mov rcx, rax
call fcn.14000200c
lea rcx, [rbx + 0x110]
mov rdx, r14
lea r8, [rbp + 0x170]
call fcn.14000200c
mov r9, rbx
xor r8d, r8d
mov edx, ShellMessageBoxW
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
add rax, 2
cmp rax, 1
ja 0x1400013d4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
lea rax, [rsp + 0x40]
inc edi
mov qword [rsp + 0x38], rax
mov edx, edi
lea rax, [rbp + 0x170]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x44]
lea r8, [rbp + 0x380]
mov dword [rsp + 0x44], r14d
mov dword [rsp + 0x40], 0x208
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop dword [rax + rax]
test eax, eax
je 0x140001352
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.140009590
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret