joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400034db
Capabilities:
Get common file path
Get disk information

Disassembly:
jmp 0x140038e60
push rbp
push rdi
sub rsp, 0x538
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xe2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14017ce00]
xor rax, rbp
mov qword [rbp + 0x4f0], rax
lea rcx, [0x140195306]
call fcn.140004e5d
nop
lea rax, [rbp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
nop
lea r8, [rbp + 0x140]
lea rdx, str._s0850066689
lea rcx, [rbp + 0x10]
call fcn.14000498a
nop
lea rdx, [0x14013df70]
lea rcx, [rbp + 0x10]
call fcn.1400017c6
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0
je 0x140038f75
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x288]
mov r9, qword [rbp + 0x268]
mov r8d, 0x24
mov edx, 1
mov rcx, rax
call fcn.14000228e
nop
mov eax, 1
imul rax, rax, 0x24
mov qword [rbp + 0x4b8], rax
cmp qword [rbp + 0x4b8], 0x25
jae 0x140038f3f
jmp 0x140038f45
call fcn.140003c88
nop
mov rax, qword [rbp + 0x4b8]
mov byte [rbp + rax + 0x288], 0
lea rcx, [rbp + 0x288]
call fcn.1400027a7
nop
mov byte [0x14017bb97], 0
mov rcx, qword [rbp + 0x268]
call fcn.140002900
nop
mov eax, 0x61
mov word [rbp + 0x2c4], ax
mov rax, qword [0x14013e140]
mov qword [rbp + 0x2e8], rax
lea rax, [rbp + 0x2f0]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
movzx eax, word [rbp + 0x2c4]
cmp eax, 0x7a
jg 0x1400390bc
mov eax, 2
imul rax, rax, 0
movzx ecx, word [rbp + 0x2c4]
mov word [rbp + rax + 0x2e8], cx
lea rcx, [rbp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [rbp + 0x4e4], eax
cmp dword [rbp + 0x4e4], 2
je 0x140038ffd
cmp dword [rbp + 0x4e4], 3
je 0x140038ffd
cmp dword [rbp + 0x4e4], 4
je 0x140038ffd
jmp 0x1400390a6
mov ecx, 4
call fcn.140002b9e
mov qword [rbp + 0x4d8], rax
mov rax, qword [rbp + 0x4d8]
mov qword [rbp + 0x318], rax
movzx eax, word [rbp + 0x2c4]
mov r9d, 0x65
mov r8d, eax
lea rdx, str._c_c
mov rcx, qword [rbp + 0x318]
call qword [sym.imp.USER32.dll_wsprintfW]
nop
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0x318]
lea r8, [0x140001145]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x4e8], rax
movsxd rax, dword [0x1401828f0]
lea rcx, [0x140182800]
mov rdx, qword [rbp + 0x4e8]
mov qword [rcx + rax*8], rdx
mov eax, dword [0x1401828f0]
inc eax
mov dword [0x1401828f0], eax
mov eax, dword [0x1401828f4]
inc eax
mov dword [0x1401828f4], eax
movzx eax, word [rbp + 0x2c4]
inc ax
mov word [rbp + 0x2c4], ax
jmp 0x140038fa2
mov r9d, 0xffffffff
mov r8d, 1
lea rdx, [0x140182800]
mov ecx, dword [0x1401828f0]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14013bf40]
call fcn.1400042ff
mov rcx, qword [rbp + 0x4f0]
xor rcx, rbp
call fcn.140002e69
lea rsp, [rbp + 0x508]
pop rdi
pop rbp
ret
Function at 0x140003503
Capabilities:
Print debug messages

Disassembly:
jmp 0x14011c0f0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x14017ce00]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14011c116
jmp 0x14011c193
mov rcx, qword [rbp + 0x30]
call fcn.140002c4d
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14011c12f
jmp 0x14011c193
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14011c14c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140001b86
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.14000206d
test eax, eax
jne 0x14011c193
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.140002e69
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x14000367a
Capabilities:
Parse pe header

Disassembly:
jmp 0x14012a470
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14012a494
xor eax, eax
jmp 0x14012a4e2
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x14012a4bc
xor eax, eax
jmp 0x14012a4e2
mov rax, qword [rsp + 8]
add rax, 0x18
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax]
cmp eax, 0x20b
je 0x14012a4dd
xor eax, eax
jmp 0x14012a4e2
mov eax, 1
add rsp, 0x28
ret

Function at 0x1400037a1
Capabilities:
Get geographical location

Disassembly:
jmp 0x14003e5e0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14003e61d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140004e17
add rsp, 0x58
ret

Function at 0x14000385a
Capabilities:
Set environment variable

Disassembly:
jmp 0x140110690
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x140003a85
Capabilities:
Parse pe header

Disassembly:
jmp 0x140044b40
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140044b60
xor al, al
jmp 0x140044be1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140044b73
xor al, al
jmp 0x140044be1
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 0x140044b9d
xor al, al
jmp 0x140044be1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140044bb1
xor al, al
jmp 0x140044be1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140044bc3
xor al, al
jmp 0x140044be1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140044bdf
xor al, al
jmp 0x140044be1
mov al, 1
add rsp, 0x38
ret
Function at 0x140003dcd
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x14012a2e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov dword [rsp], 0
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 8], rax
jmp 0x14012a33e
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 0x28
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jae 0x14012a37d
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
cmp qword [rsp + 0x38], rax
jb 0x14012a37b
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 8]
add eax, dword [rcx + 8]
mov eax, eax
cmp qword [rsp + 0x38], rax
jae 0x14012a37b
mov rax, qword [rsp + 8]
jmp 0x14012a37f
jmp 0x14012a328
xor eax, eax
add rsp, 0x28
ret

Function at 0x14000407f
Capabilities:
Terminate process

Disassembly:
jmp 0x1400cffe0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400d000e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400049a8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140004372
Capabilities:
Get common file path

Disassembly:
jmp 0x14003c010
push rbp
push rdi
sub rsp, 0x6f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x122
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14017ce00]
xor rax, rbp
mov qword [rbp + 0x6b8], rax
lea rcx, [0x140195306]
call fcn.140004e5d
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [rsp + 0x28], 0x2000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x68
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14003c11c
lea rdx, [rbp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop
lea r8, [rbp + 0x30]
lea rdx, str._s_tmp.bmp
lea rcx, [rbp + 0x260]
call qword [sym.imp.USER32.dll_wsprintfW]
nop
lea rdx, [rbp + 0x260]
mov rcx, qword [rbp + 8]
call fcn.1400023ce
test eax, eax
je 0x14003c102
mov r9d, 3
lea r8, [rbp + 0x260]
xor edx, edx
mov ecx, 0x14
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x14003c0f3
lea rcx, str.Wallpaper_set_successfully._n
call fcn.140001285
nop
jmp 0x14003c100
lea rcx, str.Failed_to_set_wallpaper._n
call fcn.140001285
nop
jmp 0x14003c10f
lea rcx, str.Failed_to_save_bitmap_to_file._n
call fcn.140001285
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.GDI32.dll_DeleteObject]
nop
jmp 0x14003c129
lea rcx, str.Failed_to_load_bitmap_from_resource._n
call fcn.140001285
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14013c150]
call fcn.1400042ff
mov rcx, qword [rbp + 0x6b8]
xor rcx, rbp
call fcn.140002e69
lea rsp, [rbp + 0x6c8]
pop rdi
pop rbp
ret

Function at 0x1400044d0
Capabilities:
Create directory

Disassembly:
jmp 0x14003fca0
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14017ce00]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14003fcdd
mov byte [rsp + 0x24], 1
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x14003fd52
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb7
jne 0x14003fd40
mov edx, 1
mov ecx, 2
call fcn.140001230
mov r9d, 0xffffffff
mov r8d, eax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.140002257
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14003fd40
mov edx, 0x10
mov ecx, dword [rsp + 0x48]
call fcn.1400017a3
movzx eax, al
test eax, eax
jne 0x14003fd40
mov dword [rsp + 0x20], 0xb7
mov byte [rsp + 0x2c], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002e69
add rsp, 0x68
ret
Function at 0x140004a16
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400fd110
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x140004af2
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140066890
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400661e0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400668d9
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140196020]
jmp 0x1400668e8
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x140004bc4
Capabilities:
Set environment variable

Disassembly:
jmp 0x1401223b0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.14000277a
lea rcx, [rsp + 0x48]
call fcn.14000277a
call fcn.140003189
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.14000254f
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14012241f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.140002b3a
lea rcx, [rsp + 0x78]
call fcn.140002b3a
mov eax, dword [rsp + 0x24]
jmp 0x1401224b0
call fcn.140003189
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.14000254f
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x140122466
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.140002b3a
lea rcx, [rsp + 0x78]
call fcn.140002b3a
mov eax, dword [rsp + 0x2c]
jmp 0x1401224b0
lea rcx, [rsp + 0x48]
call fcn.1400026f8
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.1400026f8
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.140002b3a
lea rcx, [rsp + 0x78]
call fcn.140002b3a
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x1400315b0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
jmp 0x1400315b0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x238
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x258]
mov rax, qword [0x14017ce00]
xor rax, rbp
mov qword [rbp + 0x1e8], rax
lea rcx, [0x140195306]
call fcn.140004e5d
nop
mov r8d, 2
mov edx, 0x68
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rbp + 8], rax
mov rdx, qword [rbp + 8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp + 0x48], rax
mov rdx, qword [rbp + 8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rbp + 0x64], eax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x88], rax
mov eax, 0x4d42
mov word [rbp + 0xc8], ax
mov eax, dword [rbp + 0x64]
add rax, 0xe
mov dword [rbp + 0xca], eax
mov dword [rbp + 0xd2], 0x36
xor eax, eax
mov word [rbp + 0xd0], ax
movzx eax, word [rbp + 0xd0]
mov word [rbp + 0xce], ax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xa4]
mov r8d, 0xe
lea rdx, [rbp + 0xc8]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xa4]
mov r8d, dword [rbp + 0x64]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_FreeResource]
nop
jmp 0x140031729
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14013c070]
call fcn.1400042ff
mov rax, rdi
mov rcx, qword [rbp + 0x1e8]
xor rcx, rbp
call fcn.140002e69
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret
Function at 0x140038e60
Capabilities:
Create thread
Get common file path
Get disk information

Disassembly:
jmp 0x140038e60
push rbp
push rdi
sub rsp, 0x538
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xe2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14017ce00]
xor rax, rbp
mov qword [rbp + 0x4f0], rax
lea rcx, [0x140195306]
call fcn.140004e5d
nop
lea rax, [rbp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
nop
lea r8, [rbp + 0x140]
lea rdx, str._s0850066689
lea rcx, [rbp + 0x10]
call fcn.14000498a
nop
lea rdx, [0x14013df70]
lea rcx, [rbp + 0x10]
call fcn.1400017c6
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0
je 0x140038f75
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x288]
mov r9, qword [rbp + 0x268]
mov r8d, 0x24
mov edx, 1
mov rcx, rax
call fcn.14000228e
nop
mov eax, 1
imul rax, rax, 0x24
mov qword [rbp + 0x4b8], rax
cmp qword [rbp + 0x4b8], 0x25
jae 0x140038f3f
jmp 0x140038f45
call fcn.140003c88
nop
mov rax, qword [rbp + 0x4b8]
mov byte [rbp + rax + 0x288], 0
lea rcx, [rbp + 0x288]
call fcn.1400027a7
nop
mov byte [0x14017bb97], 0
mov rcx, qword [rbp + 0x268]
call fcn.140002900
nop
mov eax, 0x61
mov word [rbp + 0x2c4], ax
mov rax, qword [0x14013e140]
mov qword [rbp + 0x2e8], rax
lea rax, [rbp + 0x2f0]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
movzx eax, word [rbp + 0x2c4]
cmp eax, 0x7a
jg 0x1400390bc
mov eax, 2
imul rax, rax, 0
movzx ecx, word [rbp + 0x2c4]
mov word [rbp + rax + 0x2e8], cx
lea rcx, [rbp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [rbp + 0x4e4], eax
cmp dword [rbp + 0x4e4], 2
je 0x140038ffd
cmp dword [rbp + 0x4e4], 3
je 0x140038ffd
cmp dword [rbp + 0x4e4], 4
je 0x140038ffd
jmp 0x1400390a6
mov ecx, 4
call fcn.140002b9e
mov qword [rbp + 0x4d8], rax
mov rax, qword [rbp + 0x4d8]
mov qword [rbp + 0x318], rax
movzx eax, word [rbp + 0x2c4]
mov r9d, 0x65
mov r8d, eax
lea rdx, str._c_c
mov rcx, qword [rbp + 0x318]
call qword [sym.imp.USER32.dll_wsprintfW]
nop
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0x318]
lea r8, [0x140001145]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x4e8], rax
movsxd rax, dword [0x1401828f0]
lea rcx, [0x140182800]
mov rdx, qword [rbp + 0x4e8]
mov qword [rcx + rax*8], rdx
mov eax, dword [0x1401828f0]
inc eax
mov dword [0x1401828f0], eax
mov eax, dword [0x1401828f4]
inc eax
mov dword [0x1401828f4], eax
movzx eax, word [rbp + 0x2c4]
inc ax
mov word [rbp + 0x2c4], ax
jmp 0x140038fa2
mov r9d, 0xffffffff
mov r8d, 1
lea rdx, [0x140182800]
mov ecx, dword [0x1401828f0]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14013bf40]
call fcn.1400042ff
mov rcx, qword [rbp + 0x4f0]
xor rcx, rbp
call fcn.140002e69
lea rsp, [rbp + 0x508]
pop rdi
pop rbp
ret
Function at 0x14003c010
Capabilities:
Change the wallpaper
Get common file path

Disassembly:
jmp 0x14003c010
push rbp
push rdi
sub rsp, 0x6f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x122
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14017ce00]
xor rax, rbp
mov qword [rbp + 0x6b8], rax
lea rcx, [0x140195306]
call fcn.140004e5d
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [rsp + 0x28], 0x2000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x68
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14003c11c
lea rdx, [rbp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop
lea r8, [rbp + 0x30]
lea rdx, str._s_tmp.bmp
lea rcx, [rbp + 0x260]
call qword [sym.imp.USER32.dll_wsprintfW]
nop
lea rdx, [rbp + 0x260]
mov rcx, qword [rbp + 8]
call fcn.1400023ce
test eax, eax
je 0x14003c102
mov r9d, 3
lea r8, [rbp + 0x260]
xor edx, edx
mov ecx, 0x14
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x14003c0f3
lea rcx, str.Wallpaper_set_successfully._n
call fcn.140001285
nop
jmp 0x14003c100
lea rcx, str.Failed_to_set_wallpaper._n
call fcn.140001285
nop
jmp 0x14003c10f
lea rcx, str.Failed_to_save_bitmap_to_file._n
call fcn.140001285
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.GDI32.dll_DeleteObject]
nop
jmp 0x14003c129
lea rcx, str.Failed_to_load_bitmap_from_resource._n
call fcn.140001285
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14013c150]
call fcn.1400042ff
mov rcx, qword [rbp + 0x6b8]
xor rcx, rbp
call fcn.140002e69
lea rsp, [rbp + 0x6c8]
pop rdi
pop rbp
ret
Function at 0x14003e5e0
Capabilities:
Get geographical location

Disassembly:
jmp 0x14003e5e0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14003e61d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140004e17
add rsp, 0x58
ret
Function at 0x140066820
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140066820
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400661a0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14006685f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140196020]
jmp 0x140066869
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x140067bb0
Capabilities:
Delete file

Disassembly:
jmp 0x140067bb0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140067bdc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400022e3
mov eax, 0xffffffff
jmp 0x140067bde
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400bfdb0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140001b86
sub rsp, rax
mov rax, qword [0x14017ce00]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140184840]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1400bffa2
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x1400bfef6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1400bfef6
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x1400bfedb
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1400bfe78
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400bff62
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400bffc1
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x1400bff9d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400bffc1
jmp 0x1400bfe4e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.140002e69
add rsp, 0x1498
pop rdi
pop rsi
ret