joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002060
Capabilities:
Encode data using xor

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
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x14000215b
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x140002163
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x14000219a
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x140002170
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400021c5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x1400021eb
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x1400021d0
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a310
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
lea rbx, [rsp + 0x30]
mov rbp, rdx
mov word [rsp + 0x30], ax
movzx edx, byte [rcx]
mov rsi, rcx
lea edi, [rax + 0x28]
test dl, dl
je 0x14000a3b5
nop dword [rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14000a36d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14000a360
cmp rcx, 1
jb 0x14000a3e6
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14000a383
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.1400101e0
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x14000a350
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000b870
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
call fcn.14000fea4
int3
Function at 0x14000a470
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a4b5
xor al, al
jmp 0x14000a502
cmp word [rbx], 0
je 0x14000a4cd
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a4c0
cmp word [rsp + 0x30], 0
je 0x14000a4fb
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a523
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a4e0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b870
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000fea4
int3
Function at 0x14000ae00
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.140020050
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x140030dd4]
lea rsi, [0x140035e10]
mov rdi, rcx
test r11d, r11d
jne 0x14000ae79
mov r8d, 0x1000
lea rdx, str.HOME
lea rcx, [rsp + 0x20]
call fcn.14000a530
test al, al
je 0x14000af59
lea rcx, [rsp + 0x20]
call fcn.1400145a0
movsxd r11, dword [0x140030dd4]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x140030dd4], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000aeb4
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000aea4
add rax, 2
test ecx, ecx
jne 0x14000ae90
test edx, edx
je 0x14000aed7
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ae84
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000aec0
cmp rax, 2
jne 0x14000aedb
cmp word [rdi + 2], 0x3a
jne 0x14000aedb
mov al, 1
jmp 0x14000af38
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000af06
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000af2d
mov bl, 1
cmp dword [0x140030dd4], 0x400
jge 0x14000af2d
mov rcx, rdi
call fcn.1400145a0
movsxd rdx, dword [0x140030dd4]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x140030dd4], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000b870
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str.HOME
call fcn.14000aca0
int3
Function at 0x14000b080
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x140030dd8]
test rcx, rcx
je 0x14000b0bb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b0ae
mov rcx, qword [0x140030dd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x140030dd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140030de8], 0
je 0x14000b1ae
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x14002a930]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140033610]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b18f
test al, 0x10
je 0x14000b18f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b135
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000c130
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c17a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c17a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c17a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c17a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c17a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000c17c
xor al, al
add rsp, 0x28
ret

Function at 0x14000fe98
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000fd03
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fd03
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fd03
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fd03
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fd03
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fd03
cmp dword [rcx + 0xf8], 0
je 0x14000fd03
mov ecx, ebx
call fcn.14000fdb4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000fb90
nop
cmp dword [rbp + 0x20], 0
je 0x14000fd51
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fd5c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fc94
Function at 0x140019484
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14001950b
mov rsi, rbx
cmp word [rax], bp
je 0x1400194ca
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400194b4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400194b0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016cb4
mov rdi, rax
test rax, rax
je 0x1400194f8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140020760
mov rbp, rdi
xor ecx, ecx
call fcn.140015cd8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001bad4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001baea
mov al, 1
jmp 0x14001bb4a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001bafb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001bb48
mov ecx, dword [rcx + 0x18]
nop
call fcn.140019c28
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001bb48
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001bb48
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001bb48
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001bb4a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001ff60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001ff88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001ff88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800010b0
Capabilities:
Encode data using base64

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
xor r10d, r10d
movsxd rbp, edx
mov r14, r9
mov r15, r8
mov rsi, rcx
mov edi, r10d
mov ebx, r10d
mov r11d, r10d
test edx, edx
jle 0x180001105
mov edx, r10d
lea r12, [0x18002d570]
movzx eax, byte [rdx + rsi]
cmp al, 0x3d
jne 0x180001126
inc ebx
cmp ebx, 2
jle 0x18000112a
mov r10d, 0xffffffee
mov rbx, qword [rsp + 0x20]
test r10d, r10d
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
sete al
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
cmp al, 0x7f
ja 0x1800010ff
movzx eax, al
movzx ecx, byte [rax + r12]
cmp cl, 0x7f
je 0x1800010ff
cmp cl, 0x40
jae 0x180001140
test ebx, ebx
jne 0x1800010ff
inc edi
inc r11d
inc rdx
cmp rdx, rbp
jl 0x1800010f0
test edi, edi
je 0x180001105
lea eax, [rdi + rdi*2]
lea eax, [rax*2 + 7]
sar eax, 3
cmp dword [r9], eax
jge 0x18000116e
mov dword [r9], eax
mov r10d, 0xfffffff0
jmp 0x180001105
mov r9d, 3
mov r8d, r10d
mov ebx, r10d
mov rax, r15
test r11d, r11d
jle 0x1800011e7
movzx ecx, byte [rsi]
movzx edx, byte [rcx + r12]
mov ecx, r10d
cmp dl, 0x40
sete cl
and edx, 0x3f
sub r9d, ecx
inc ebx
mov ecx, r8d
mov r8d, edx
shl ecx, 6
or r8d, ecx
cmp ebx, 4
jne 0x1800011dc
mov ebx, r10d
test r9d, r9d
jle 0x1800011bf
mov ecx, r8d
shr ecx, 0x10
mov byte [rax], cl
inc rax
cmp r9d, 1
jle 0x1800011d0
mov ecx, r8d
shr ecx, 8
mov byte [rax], cl
inc rax
cmp r9d, 2
jle 0x1800011dc
mov byte [rax], r8b
inc rax
dec r11d
inc rsi
test r11d, r11d
jg 0x180001182
sub eax, r15d
mov dword [r14], eax
jmp 0x180001105

Function at 0x180001500
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
mov byte [rcx + 0x68], 0
xor eax, eax
mov qword [rcx + 0x10], rax
mov rbx, rcx
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
cmp qword [rdx + 0x18], 0x10
mov r8, qword [rdx + 0x10]
jb 0x18000153c
mov rdx, qword [rdx]
call fcn.180002540
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x180003260
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x790]
sub rsp, 0x890
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x180044078]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov edi, r9d
mov r15, r8
mov r14, rdx
mov rsi, rcx
lea r9, [rcx + 0xc0]
cmp qword [r9 + 0x18], 8
jb 0x1800032b1
mov r9, qword [r9]
mov r8d, edi
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
cmp eax, edi
jne 0x18000345d
movdqa xmm0, xmmword [0x18002d730]
movdqu xmmword [rsp + 0x48], xmm0
xor r12d, r12d
mov word [rsp + 0x38], r12w
xor r8d, r8d
lea rdx, [0x18002d8e0]
lea rcx, [rsp + 0x38]
call fcn.180002980
nop
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x80]
call fcn.180013680
mov r8d, edi
lea rdx, [0x18002d71c]
lea rcx, [rbp - 0x80]
call fcn.180002ac0
lea rax, [rbp - 0x80]
mov r9, r15
mov r8, r14
mov qword [rsp + 0x20], rax
cmp byte [rsi + 9], r12b
je 0x1800033cd
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.180003150
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x180003378
lea rcx, [rsp + 0x38]
call fcn.180002720
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1800033ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800033b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003486
call fcn.180011494
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
jmp 0x180003418
lea rdx, str.HaoKanWallPaper
lea rcx, [rsp + 0x58]
call fcn.18000d4a0
lea rcx, [rsp + 0x38]
call fcn.180002720
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rsp + 0x48], xmm1
lea rcx, [rsp + 0x38]
movq rdx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 8
cmovae rcx, rdx
call fcn.180019aa0
mov ebx, eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x18000345d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003458
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003480
call fcn.180011494
mov eax, ebx
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.1800115b0
add rsp, 0x890
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180015e04
nop
call fcn.180015e04
nop
int3
Function at 0x180003490
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x888
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x180044078]
xor rax, rsp
mov qword [rsp + 0x870], rax
mov rbp, r9
mov rsi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rdi, qword [rsp + 0x8e0]
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x70]
call fcn.180013680
lea rax, [r14 + 0xc0]
cmp qword [rax + 0x18], 8
jb 0x1800034ff
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x70]
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], r15w
jne 0x180003540
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.180002980
mov dword [rsp + 0x30], 1
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x18000356c
mov rax, qword [rbx]
mov r11, rdi
sub r11, rax
movzx r10d, word [rax]
movzx edx, word [rax + r11]
sub r10d, edx
jne 0x180003588
add rax, 2
test edx, edx
jne 0x180003572
test r10d, r10d
jne 0x18000369c
mov qword [rsp + 0x20], rdi
mov r9, rbp
mov r8, rsi
cmp byte [r14 + 9], r10b
je 0x180003628
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.180003150
mov rdi, rax
cmp rbx, rax
je 0x1800035e1
mov rcx, rbx
call fcn.180002720
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18000369c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003697
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800036c5
jmp 0x180003697
lea rdx, str.HaoKanWallPaper
lea rcx, [rsp + 0x48]
call fcn.18000d4a0
lea rax, [rsp + 0x48]
cmp rbx, rax
je 0x18000365e
mov rcx, rbx
call fcn.180002720
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x10], xmm1
jmp 0x18000369c
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18000369c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003697
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800036bf
call fcn.180011494
mov rax, rbx
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.1800115b0
add rsp, 0x888
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.180015e04
int3
call fcn.180015e04
int3
Function at 0x180004a60
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x9a0]
sub rsp, 0xaa0
mov rax, qword [0x180044078]
xor rax, rsp
mov qword [rbp + 0x990], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.180013680
cmp qword [rdi + 0x58], 8
lea r8, [rdi + 0x40]
jb 0x180004aae
mov r8, qword [r8]
lea r9, str.Config
lea rdx, [0x18002d9d8]
lea rcx, [rsp + 0x40]
call fcn.180002ac0
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180004adf
lea rcx, [rsp + 0x40]
call fcn.18000b8b0
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.180013680
lea r9, str.userconfig.ini
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rbp + 0x360]
call fcn.180002ac0
mov rbx, 0xffffffffffffffff
lea rax, [rbp + 0x360]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x180004b23
lea rcx, [rdi + 0xc0]
lea rdx, [rbp + 0x360]
call fcn.180002980
xor edx, edx
lea rcx, [rbp + 0x570]
mov r8d, 0x208
call fcn.180013680
lea r9, str.Config.ini
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rbp + 0x570]
call fcn.180002ac0
lea rax, [rbp + 0x570]
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180004b80
lea rcx, [rdi + 0xe0]
lea rdx, [rbp + 0x570]
call fcn.180002980
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.180013680
lea rdx, str.XsfyPath
lea rcx, [rsp + 0x20]
call fcn.18000bb80
cmp qword [rax + 0x18], 8
jb 0x180004bcd
mov rax, qword [rax]
mov r8, rax
lea rdx, [0x18002da34]
lea rcx, [rbp + 0x150]
call fcn.180002ac0
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x180004c25
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004c20
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004cc4
call fcn.180011494
lea rcx, [rbp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180004c42
lea rcx, [rbp + 0x150]
call fcn.18000b8b0
xor edx, edx
lea rcx, [rbp + 0x780]
mov r8d, 0x208
call fcn.180013680
lea r9, str.Config.ini
lea r8, [rbp + 0x150]
lea rdx, str._s_s
lea rcx, [rbp + 0x780]
call fcn.180002ac0
lea rax, [rbp + 0x780]
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180004c80
mov r8, rbx
lea rcx, [rdi + 0x100]
lea rdx, [rbp + 0x780]
call fcn.180002980
mov rcx, qword [rbp + 0x990]
xor rcx, rsp
call fcn.1800115b0
lea r11, [rsp + 0xaa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.180015e04
int3
Function at 0x180008b40
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov rbx, r8
mov rcx, r8
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsi]
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret