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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x860
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call fcn.140010250
nop
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14001db17
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140015340
lea rdx, [0x1401b27ac]
lea rcx, [rsp + 0x30]
call fcn.140022fd0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x870]
call fcn.140015400
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140010220
mov rax, qword [rsp + 0x870]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140138320
add rsp, 0x860
pop rdi
ret

Function at 0x14001ddc0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.14000c8b0
lea rcx, [rsp + 0x38]
call fcn.14001a240
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.1400101f0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000fff0
nop
lea rcx, [rsp + 0x38]
call fcn.140010220
mov edx, 8
lea rcx, [rsp + 0x58]
call fcn.14000c8b0
lea r8, str.ResourcesThemes_theme3.theme
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call fcn.14000fed0
nop
lea rcx, [rsp + 0x58]
call fcn.140010050
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x58]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x60]
call fcn.14000ffc0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140138320
add rsp, 0x78
ret

Function at 0x14001dfe0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp qword [rsp + 0x40], 0
jne 0x14001dff3
jmp 0x14001e033
lea rcx, [0x1401b8bd0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401b8bb8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14001e028
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x20]
jmp 0x14001e033
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
add rsp, 0x38
ret
Function at 0x14001e6a0
Capabilities:
Check if file exists

Disassembly:
sub rsp, 0xc8
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov edx, 8
lea rcx, [rsp + 0x80]
call fcn.14000c8b0
lea rcx, [rsp + 0x80]
call fcn.140022b50
nop
mov byte [rsp + 0x21], 0
mov byte [rsp + 0x20], 0x41
jmp 0x14001e6f9
movzx eax, byte [rsp + 0x20]
inc al
mov byte [rsp + 0x20], al
movsx eax, byte [rsp + 0x20]
cmp eax, 0x5a
jg 0x14001e849
mov edx, 8
lea rcx, [rsp + 0x78]
call fcn.14000c8b0
mov r8d, 1
movzx edx, byte [rsp + 0x20]
lea rcx, [rsp + 0x78]
call fcn.140022a70
nop
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.14000c8b0
lea r8, str.:XiangYaDataSoft360DrvMgrInstaller_net.exe
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.14000fed0
nop
lea rcx, [rsp + 0x70]
call fcn.140010050
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001e79b
mov byte [rsp + 0x21], 1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.140022a40
nop
lea rcx, [rsp + 0x70]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x78]
call fcn.14000ffc0
jmp 0x14001e849
mov edx, 8
lea rcx, [rsp + 0x88]
call fcn.14000c8b0
lea r8, str.:YunJingWorkDataDownLoad360DrvMgrInstaller_net.exe
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x88]
call fcn.14000fed0
nop
lea rcx, [rsp + 0x88]
call fcn.140010050
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001e821
mov byte [rsp + 0x21], 1
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x80]
call fcn.140022a40
nop
lea rcx, [rsp + 0x88]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x70]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x78]
call fcn.14000ffc0
jmp 0x14001e849
lea rcx, [rsp + 0x88]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x70]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x78]
call fcn.14000ffc0
jmp 0x14001e6ee
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x14001e864
lea rcx, [rsp + 0x80]
call fcn.14000ffc0
jmp 0x14001e8e7
lea rcx, [rsp + 0x80]
call fcn.140010050
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140023080
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.14001ab50
nop
lea rcx, [rsp + 0x30]
call fcn.140010220
lea rdx, [0x1401b8e20]
lea rcx, [rsp + 0x50]
call fcn.140009a10
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x90]
call fcn.14001db60
nop
lea rcx, [rsp + 0x50]
call fcn.140009960
nop
lea rcx, [rsp + 0x90]
call fcn.140009960
nop
lea rcx, [rsp + 0x80]
call fcn.14000ffc0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140138320
add rsp, 0xc8
ret
Function at 0x1400201c0
Capabilities:
Check internet connectivity via wininet

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.140010050
xor r8d, r8d
mov edx, 1
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
je 0x1400201ef
mov byte [rsp + 0x20], 1
jmp 0x1400201f4
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x14002020a
xor eax, eax
jmp 0x14002020f
mov eax, 1
add rsp, 0x38
ret

Function at 0x140020220
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x4c8
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov rcx, qword [rsp + 0x4d0]
call fcn.1400097a0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], Ordinal_133
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x14002028f
xor eax, eax
jmp 0x140020440
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
lea rdx, [0x1401a11e1]
mov ecx, 0x200000
call fcn.140138d24
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400202ee
xor eax, eax
jmp 0x140020440
mov dword [rsp + 0x40], 0
call fcn.140018ee0
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.140025590
cmp qword [rsp + 0x58], 0
jle 0x1400203f1
mov dword [rsp + 0x88], 0
cmp qword [rsp + 0x58], 0x200000
jge 0x140020339
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
jmp 0x140020342
mov qword [rsp + 0x68], 0x200000
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140020376
jmp 0x1400203f1
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x40], 0
jne 0x1400203c8
mov eax, dword [rsp + 0x88]
lea r8, [rsp + 0xa0]
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.140025b20
mov dword [rsp + 0x40], eax
jmp 0x1400203ec
mov eax, dword [rsp + 0x88]
mov r9d, dword [rsp + 0x40]
lea r8, [rsp + 0xa0]
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.140025bb0
mov dword [rsp + 0x40], eax
jmp 0x14002030b
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.140138344
cmp qword [rsp + 0x70], 0
jne 0x140020426
mov qword [rsp + 0x80], 0
jmp 0x14002043c
mov qword [rsp + 0x48], 0x8123
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140138320
add rsp, 0x4c8
ret
Function at 0x140020460
Capabilities:
Reference 114dns dns server
Reference alidns dns server

Disassembly:
sub rsp, 0x1b8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
lea rcx, [0x140217a70]
call fcn.140010300
movzx eax, al
test eax, eax
jne 0x14002049d
jmp 0x1400206ff
lea rdx, [0x1401b95f8]
lea rcx, [rsp + 0x28]
call fcn.14000fff0
nop
lea rcx, [rsp + 0x28]
call fcn.1400201c0
test eax, eax
jne 0x1400204c7
mov dword [rsp + 0x24], 1
jmp 0x1400204cf
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x28]
call fcn.14000ffc0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400204f0
jmp 0x1400206ff
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x40], rax
lea rdx, [0x1401b9568]
mov rcx, qword [rsp + 0x30]
call fcn.140009a10
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
lea rdx, str.JRENjCuUI_qFtGUsermCOg
mov rcx, qword [rsp + 0x40]
call fcn.140009a10
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov r9d, 1
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x168]
call fcn.140009070
nop
lea rax, [rsp + 0x108]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x70], rax
lea rdx, str.7nef8n28dfn3v4F7
mov rcx, qword [rsp + 0x60]
call fcn.140009a10
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x80], rax
lea rdx, str.ZR3SLz_IyryNHRcUaztpw
mov rcx, qword [rsp + 0x70]
call fcn.140009a10
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov r9d, 1
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x188]
call fcn.140009070
nop
lea rcx, [rsp + 0x148]
call fcn.140009a60
nop
lea rcx, [rsp + 0x168]
call fcn.1400097a0
lea r8, str.223.5.5.5
mov rdx, rax
lea rcx, [rsp + 0x148]
call fcn.140035590
lea rcx, [rsp + 0x148]
call fcn.140010300
movzx eax, al
test eax, eax
je 0x14002067f
lea rcx, [rsp + 0x168]
call fcn.1400097a0
lea r8, str.114.114.114.114
mov rdx, rax
lea rcx, [rsp + 0x148]
call fcn.140035590
lea rcx, [rsp + 0x148]
call fcn.140010300
movzx eax, al
test eax, eax
je 0x14002067f
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x148]
call fcn.140010550
lea r8, [rsp + 0x148]
lea rdx, [0x1401b96a0]
lea rcx, [rsp + 0xa8]
call fcn.1400136f0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [0x140217a70]
call fcn.1400105d0
nop
lea rcx, [rsp + 0xa8]
call fcn.140009960
nop
lea rcx, [rsp + 0x148]
call fcn.140009960
nop
lea rcx, [rsp + 0x188]
call fcn.140009960
nop
lea rcx, [rsp + 0x168]
call fcn.140009960
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140138320
add rsp, 0x1b8
ret
Function at 0x140021590
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14000c8b0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.14000fff0
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x280]
call fcn.140010d70
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.14000ffc0
mov rax, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140138320
add rsp, 0x270
pop rdi
ret

Function at 0x140021660
Capabilities:
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4a0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x490], rax
lea rax, [rsp + 0x280]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdx, [rsp + 0x280]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14000c8b0
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x40]
call fcn.14000fff0
nop
mov rcx, qword [rsp + 0x4b8]
call fcn.140010050
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, qword [rsp + 0x4b0]
call fcn.140010050
xor edx, edx
mov rcx, rax
call fcn.1400dbfdc
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x50]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x30]
call fcn.1400dbea0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x20], 0
jmp 0x140021738
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jge 0x14002178c
lea r8, [rsp + 0x50]
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
call fcn.1400dbea0
lea r8, [rsp + 0x54]
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
call fcn.1400dc4f0
mov eax, dword [rsp + 0x20]
inc eax
imul eax, eax, 0x64
cdq
idiv dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cdq
sub eax, edx
sar eax, 1
add eax, 0x32
mov dword [rsp + 0x28], eax
jmp 0x14002172e
mov rcx, qword [rsp + 0x30]
call fcn.1400db6cc
lea rcx, [rsp + 0x40]
call fcn.140010050
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
lea rcx, [rsp + 0x40]
call fcn.14000ffc0
nop
mov rcx, qword [rsp + 0x4b0]
call fcn.14000ffc0
nop
mov rcx, qword [rsp + 0x4b8]
call fcn.14000ffc0
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140138320
add rsp, 0x4a0
pop rdi
ret
Function at 0x1400217f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, 8
lea rcx, [rsp + 0x30]
call fcn.14000c8b0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14000fff0
nop
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x270]
call fcn.140010d70
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.14000ffc0
mov rax, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140138320
add rsp, 0x260
pop rdi
ret
Function at 0x140021ab0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x88]
call fcn.140009a60
nop
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0xc8]
call fcn.140010050
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], Ordinal_133
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x140021b53
jmp 0x140021c13
mov dword [rsp + 0x84], 0
lea rdx, [rsp + 0x84]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140021b81
jmp 0x140021c13
mov eax, dword [rsp + 0x40]
mov ecx, eax
call fcn.140138904
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140021ba5
jmp 0x140021c13
mov dword [rsp + 0x80], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x140021bee
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x80], eax
je 0x140021bf0
jmp 0x140021c13
mov eax, dword [rsp + 0x40]
mov r8d, eax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x88]
call fcn.140009810
xor eax, eax
test eax, eax
jne 0x140021b04
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x140021c26
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x48], 0
je 0x140021c68
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140138344
cmp qword [rsp + 0x60], 0
jne 0x140021c55
mov qword [rsp + 0x70], 0
jmp 0x140021c68
mov qword [rsp + 0x48], 0x8123
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0xc0]
call fcn.140009990
mov eax, dword [rsp + 0x58]
or eax, 1
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x88]
call fcn.140009960
nop
mov rcx, qword [rsp + 0xc8]
call fcn.14000ffc0
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140138320
add rsp, 0xb8
ret
Function at 0x14002bcc0
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x28
call fcn.14002bc00
mov edx, 0x40000
mov ecx, 6
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x14002bce1
xor al, al
jmp 0x14002bce3
mov al, 1
add rsp, 0x28
ret

Function at 0x14002bf70
Capabilities:
Get common file path
Set file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x268
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov dword [rsp + 0x20], 0
mov eax, Ordinal_26
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1402184b8], eax
jle 0x14002bff7
lea rcx, [0x1402184b8]
call fcn.140138b24
cmp dword [0x1402184b8], 0xffffffff
jne 0x14002bff7
lea rcx, [0x140218498]
call fcn.140009a60
lea rcx, [0x14017cf90]
call fcn.1401388ec
nop
lea rcx, [0x1402184b8]
call fcn.140138ac4
lea rcx, [0x140218498]
call fcn.140010300
movzx eax, al
test eax, eax
jne 0x14002c036
lea rdx, [0x140218498]
mov rcx, qword [rsp + 0x270]
call fcn.140010660
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x270]
jmp 0x14002c0d6
lea rdx, [rsp + 0x140]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x140]
mov r8d, eax
lea rdx, [0x1401bb800]
lea rcx, [rsp + 0x30]
call fcn.14002c440
lea r9, [rsp + 0x30]
lea r8, [0x1401b291c]
lea rdx, [0x1401b2954]
lea rcx, [0x1401b2964]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, 2
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rdx, [rsp + 0x30]
lea rcx, [0x140218498]
call fcn.14002c410
lea rdx, [0x140218498]
mov rcx, qword [rsp + 0x270]
call fcn.140010660
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140138320
add rsp, 0x268
ret
Function at 0x14002c0f0
Capabilities:
Get common file path
Set file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x460
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov dword [rsp + 0x20], 0
mov eax, Ordinal_26
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1402184bc], eax
jle 0x14002c178
lea rcx, [0x1402184bc]
call fcn.140138b24
cmp dword [0x1402184bc], 0xffffffff
jne 0x14002c178
lea rcx, [0x1402184c0]
call fcn.140010250
lea rcx, [0x14017cfb0]
call fcn.1401388ec
nop
lea rcx, [0x1402184bc]
call fcn.140138ac4
lea rcx, [0x1402184c0]
call fcn.140010300
movzx eax, al
test eax, eax
jne 0x14002c1b7
lea rdx, [0x1402184c0]
mov rcx, qword [rsp + 0x470]
call fcn.1400230d0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x470]
jmp 0x14002c26b
lea rax, [rsp + 0x240]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdx, [rsp + 0x240]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x240]
mov r8d, eax
lea rdx, str._c:Log.ini
lea rcx, [rsp + 0x30]
call fcn.14002c4a0
lea r9, [rsp + 0x30]
lea r8, [0x1401bb828]
lea rdx, [0x1401b2974]
lea rcx, [0x1401bb830]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, 2
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rdx, [rsp + 0x30]
lea rcx, [0x1402184c0]
call fcn.140015340
lea rdx, [0x1402184c0]
mov rcx, qword [rsp + 0x470]
call fcn.1400230d0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x470]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140138320
add rsp, 0x460
pop rdi
ret
Function at 0x14002c6d0
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x360
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x140]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x120]
call fcn.140023080
nop
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x120]
call fcn.140022c10
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x120]
call fcn.140015370
nop
lea rcx, [rsp + 0x78]
call fcn.140010220
mov edx, 8
lea rcx, [rsp + 0xf8]
call fcn.14000c8b0
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x38]
call fcn.14001ab50
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x98]
call fcn.14001c3a0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.1400097a0
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.140022af0
nop
lea rcx, [rsp + 0x98]
call fcn.140009960
lea rcx, [rsp + 0x100]
call fcn.140010250
nop
lea rcx, [rsp + 0xf8]
call fcn.140022b80
movzx eax, al
test eax, eax
je 0x14002c87c
lea r8, str.WindowsSoftware
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0xb8]
call fcn.140025700
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x100]
call fcn.140015370
nop
lea rcx, [rsp + 0xb8]
call fcn.140010220
jmp 0x14002c899
lea rcx, [rsp + 0xf8]
call fcn.140010050
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.140015340
lea rcx, [rsp + 0x100]
call fcn.1400101f0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x370]
call fcn.140015400
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x100]
call fcn.140010220
nop
lea rcx, [rsp + 0xf8]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x120]
call fcn.140010220
mov rax, qword [rsp + 0x370]
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.140138320
add rsp, 0x360
pop rdi
ret