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

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xe8], rbx
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rcx, r8
call fcn.4114fdf0
mov qword [rsp + 0x68], 7
xor ebp, ebp
mov qword [rsp + 0x60], rbp
mov word [rsp + 0x50], bp
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x70], ebp
xor r8d, r8d
lea rdx, [0x412a02a8]
lea rcx, [rsp + 0x48]
call fcn.41024690
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x74], 2
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x40]
mov r8, rbx
mov rdx, qword [rdi]
mov rcx, rdi
call fcn.411f0810
mov dword [rsp + 0x40], ebp
mov rbx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x88]
cmp rbx, rax
jbe 0x411f4f51
call fcn.41211d60
mov rax, qword [rsp + 0x88]
mov rdi, rax
cmp qword [rsp + 0x80], rax
jbe 0x411f4f6b
call fcn.41211d60
mov rax, qword [rsp + 0x88]
cmp rbx, rdi
je 0x411f4fa7
cmp rbx, rax
jb 0x411f4f82
call fcn.41211d60
mov rax, qword [rsp + 0x88]
cmp dword [rbx], 0
jne 0x411f4f8c
add dword [rsp + 0x40], 1
cmp rbx, rax
jb 0x411f4f9e
call fcn.41211d60
mov rax, qword [rsp + 0x88]
add rbx, 0x98
jmp 0x411f4f51
mov rbx, qword [rsp + 0x80]
cmp rbx, rax
jbe 0x411f4fc1
call fcn.41211d60
mov rax, qword [rsp + 0x88]
mov rdi, rax
cmp qword [rsp + 0x80], rax
jbe 0x411f4fdb
call fcn.41211d60
mov rax, qword [rsp + 0x88]
cmp rbx, rdi
je 0x411f502a
cmp rbx, rax
jb 0x411f4fea
call fcn.41211d60
cmp qword [rbx + 0x28], 8
jb 0x411f4ff7
mov rdx, qword [rbx + 0x10]
jmp 0x411f4ffb
lea rdx, [rbx + 0x10]
lea rcx, [rbx + 0x90]
call fcn.411d0500
mov rax, qword [rsp + 0x88]
cmp rbx, rax
jb 0x411f5021
call fcn.41211d60
mov rax, qword [rsp + 0x88]
add rbx, 0x98
jmp 0x411f4fc1
lea rcx, [rsp + 0x40]
call fcn.411d06a0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.411504a0
nop
lea rcx, [0x412a02a8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x78]
call fcn.4114b610
cmp qword [rsp + 0x68], 8
jb 0x411f5072
mov rcx, qword [rsp + 0x50]
call fcn.41210d60
mov eax, 1
jmp 0x411f5077
mov eax, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.41211b80
mov rbx, qword [rsp + 0xe8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x411f5230
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0xf8], rbx
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r14, r8
mov r15, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rcx
mov rcx, rdx
call fcn.4114fdf0
xor r8d, r8d
mov r13d, r8d
mov rax, qword [r14 + 0x40]
test rax, rax
jne 0x411f5290
mov rsi, r8
jmp 0x411f52b5
mov rcx, qword [r14 + 0x48]
sub rcx, rax
movabs rax, 0x6bca1af286bca1b
imul rcx
mov rsi, rdx
sar rsi, 2
mov rax, rsi
shr rax, 0x3f
add rsi, rax
sub esi, dword [r14]
mov r12d, r8d
mov ebp, r8d
test esi, esi
jle 0x411f5455
cmp r12d, 5
jge 0x411f5450
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x80], r8
mov dword [rsp + 0x60], r8d
mov qword [rsp + 0x50], r8
mov word [rsp + 0x40], 0
mov dword [rsp + 0x30], r8d
mov edx, dword [r14 + 0x34]
mov ecx, edx
sub ecx, 1
je 0x411f5321
cmp ecx, 1
je 0x411f5317
mov dword [rsp + 0x64], edx
jmp 0x411f5329
mov dword [rsp + 0x64], 4
jmp 0x411f5329
mov dword [rsp + 0x64], 3
mov r9d, ebp
mov r8, r14
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.411f4010
test eax, eax
je 0x411f5357
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.411504a0
add r12d, 1
mov r13d, 1
lea rcx, [0x412a02a8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x411f5416
mov rdi, qword [rsp + 0x78]
cmp rcx, rdi
je 0x411f5411
lea rbx, [rcx + 0x80]
cmp qword [rbx], 8
jb 0x411f5396
mov rcx, qword [rbx - 0x18]
call fcn.41210d60
mov qword [rbx], 7
mov qword [rbx - 8], 0
mov word [rbx - 0x18], 0
cmp qword [rbx - 0x30], 8
jb 0x411f53bb
mov rcx, qword [rbx - 0x48]
call fcn.41210d60
mov qword [rbx - 0x30], 7
mov qword [rbx - 0x38], 0
mov word [rbx - 0x48], 0
cmp qword [rbx - 0x58], 8
jb 0x411f53e1
mov rcx, qword [rbx - 0x70]
call fcn.41210d60
mov qword [rbx - 0x58], 7
mov qword [rbx - 0x60], 0
mov word [rbx - 0x70], 0
add rbx, 0x98
lea rax, [rbx - 0x80]
cmp rax, rdi
jne 0x411f5387
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x20]
call fcn.41210d60
xor r8d, r8d
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x80], r8
cmp qword [rsp + 0x58], 8
jb 0x411f5440
mov rcx, qword [rsp + 0x40]
call fcn.41210d60
xor r8d, r8d
add ebp, 1
cmp ebp, esi
jl 0x411f52c6
mov eax, r13d
jmp 0x411f5458
mov eax, r13d
jmp 0x411f5458
mov eax, r13d
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.41211b80
mov rbx, qword [rsp + 0xf8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x411f96f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x260
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor ebp, ebp
lea rax, [rsp + 0x30]
mov rbx, rcx
lea rdx, str.EUDC936
lea r9d, [rbp + 1]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x38], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411f979c
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x40], bp
call fcn.412121c0
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rdx
lea rdx, str.SystemDefaultEUDCFont
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x411f97a3
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x411f98d6
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x278], rsi
mov qword [rsp + 0x280], rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbx + 0x20]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
cmp rdx, 8
not rcx
lea rsi, [rcx - 1]
jb 0x411f97e7
mov rax, qword [rbx + 8]
lea rdi, [rbx + 8]
jmp 0x411f97ee
lea rdi, [rbx + 8]
mov rax, rdi
lea rcx, [rsp + 0x40]
cmp rcx, rax
jb 0x411f983f
cmp rdx, 8
jb 0x411f9803
mov rcx, qword [rdi]
jmp 0x411f9806
mov rcx, rdi
mov rax, qword [rbx + 0x18]
lea rcx, [rcx + rax*2]
lea rax, [rsp + 0x40]
cmp rcx, rax
jbe 0x411f983f
cmp rdx, 8
jb 0x411f9821
mov rdi, qword [rdi]
lea r8, [rsp + 0x40]
mov r9, rsi
mov rdx, rbx
sub r8, rdi
mov rcx, rbx
sar r8, 1
call fcn.41022de0
jmp 0x411f98c1
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
jbe 0x411f9853
call fcn.4120fbc0
mov rax, qword [rbx + 0x20]
cmp rax, rsi
jae 0x411f987f
mov r8, qword [rbx + 0x18]
mov rdx, rsi
mov rcx, rbx
call fcn.41022ab0
test rsi, rsi
je 0x411f98c1
mov rdx, qword [rbx + 0x20]
cmp rdx, 8
jb 0x411f9896
mov rcx, qword [rdi]
jmp 0x411f9899
test rsi, rsi
jne 0x411f986b
cmp rax, 8
mov qword [rbx + 0x18], rbp
jb 0x411f9891
mov rdi, qword [rdi]
mov word [rdi], bp
jmp 0x411f98c1
mov rcx, rdi
lea rbp, [rsi + rsi]
lea r8, [rsp + 0x40]
add rdx, rdx
mov r9, rbp
call fcn.412118b0
cmp qword [rbx + 0x20], 8
mov qword [rbx + 0x18], rsi
jb 0x411f98bb
mov rdi, qword [rdi]
mov word [rdi + rbp], 0
mov rdi, qword [rsp + 0x280]
mov rsi, qword [rsp + 0x278]
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.41211b80
mov rbx, qword [rsp + 0x288]
add rsp, 0x260
pop rbp
ret
Function at 0x411fa330
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push r12
sub rsp, 0x250
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp dword [rcx + 4], 0
mov r12, rcx
je 0x411fa5f2
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x10], rdi
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov qword [r11 - 0x18], r13
mov word [rsp + 0x20], 0
call fcn.412121c0
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
or r13, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x20]
mov rcx, r13
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov r11, rcx
je 0x411fa46a
mov r9, qword [r12 + 0x60]
test r9, r9
je 0x411fa4a5
cmp rcx, r9
ja 0x411fa4a5
mov eax, 1
sub rax, rcx
add r9, rax
cmp qword [r12 + 0x68], 8
jb 0x411fa3eb
mov r10, qword [r12 + 0x50]
lea rbx, [r12 + 0x50]
jmp 0x411fa3f3
lea rbx, [r12 + 0x50]
mov r10, rbx
movzx esi, word [rsp + 0x20]
nop
nop
test r9, r9
mov rax, r9
mov rdx, r10
je 0x411fa4bb
nop
cmp word [rdx], si
je 0x411fa424
add rdx, 2
sub rax, 1
jne 0x411fa410
jmp 0x411fa4bb
test rdx, rdx
je 0x411fa4bb
test r11, r11
mov rcx, r11
lea rdi, [rsp + 0x20]
mov r8, rdx
je 0x411fa457
nop
movzx eax, word [rdi]
cmp word [r8], ax
jne 0x411fa479
add r8, 2
add rdi, 2
sub rcx, 1
jne 0x411fa440
cmp qword [r12 + 0x68], 8
jb 0x411fa462
mov rbx, qword [rbx]
sub rdx, rbx
sar rdx, 1
jne 0x411fa4bb
cmp qword [r12 + 0x68], 8
jb 0x411fa4ac
mov rcx, qword [r12 + 0x50]
jmp 0x411fa4b1
cmp word [r8], ax
mov ecx, 1
cmovb ecx, r13d
test ecx, ecx
je 0x411fa457
mov rcx, rdx
mov rax, r13
sub rcx, r10
lea r10, [rdx + 2]
sar rcx, 1
sub rax, rcx
add r9, rax
jmp 0x411fa400
mov si, word [rsp + 0x20]
jmp 0x411fa4bb
lea rcx, [r12 + 0x50]
call fcn.41035fe0
mov si, word [rsp + 0x20]
xor eax, eax
lea rdi, [rsp + 0x20]
mov rcx, r13
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rbx, rcx
je 0x411fa58d
mov r9, qword [r12 + 0x88]
test r9, r9
je 0x411fa5d2
cmp rcx, r9
ja 0x411fa5d2
mov eax, 1
sub rax, rcx
add r9, rax
cmp qword [r12 + 0x90], 8
jb 0x411fa514
mov r10, qword [r12 + 0x78]
lea r11, [r12 + 0x78]
jmp 0x411fa520
lea r11, [r12 + 0x78]
mov r10, r11
nop
test r9, r9
mov rax, r9
mov rdx, r10
je 0x411fa5d2
nop
cmp word [rdx], si
je 0x411fa544
add rdx, 2
sub rax, 1
jne 0x411fa530
jmp 0x411fa5d2
test rdx, rdx
je 0x411fa5d2
test rbx, rbx
mov rcx, rbx
lea rdi, [rsp + 0x20]
mov r8, rdx
je 0x411fa577
nop
movzx eax, word [rdi]
cmp word [r8], ax
jne 0x411fa59c
add r8, 2
add rdi, 2
sub rcx, 1
jne 0x411fa560
cmp qword [r12 + 0x90], 8
jb 0x411fa585
mov r11, qword [r11]
sub rdx, r11
sar rdx, 1
jne 0x411fa5d2
cmp qword [r12 + 0x68], 8
jb 0x411fa5c8
mov rcx, qword [r12 + 0x50]
jmp 0x411fa5cd
cmp word [r8], ax
mov ecx, 1
cmovb ecx, r13d
test ecx, ecx
je 0x411fa577
mov rcx, rdx
mov rax, r13
sub rcx, r10
lea r10, [rdx + 2]
sar rcx, 1
sub rax, rcx
add r9, rax
jmp 0x411fa520
lea rcx, [r12 + 0x50]
call fcn.41035fe0
mov rdi, qword [rsp + 0x248]
mov rsi, qword [rsp + 0x270]
mov rbx, qword [rsp + 0x268]
mov r13, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.41211b80
add rsp, 0x250
pop r12
ret
Function at 0x411fc140
Capabilities:
Read .ini file

Disassembly:
push rbx
push rdi
push r13
push r14
sub rsp, 0x478
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x450], rax
test rcx, rcx
mov r14, r9
mov rbx, r8
mov r13, rdx
mov rdi, rcx
je 0x411fc39d
test rdx, rdx
je 0x411fc39d
lea rcx, [rsp + 0x242]
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x468], rsi
mov word [rsp + 0x240], 0
call fcn.412121c0
lea r9, str.dict.conf
lea rdx, [0x4129a250]
lea rcx, [rsp + 0x240]
mov r8, rdi
call fcn.412122b0
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], 0
call fcn.412121c0
lea rdx, [rsp + 0x240]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rdx
lea r8, str.default
lea rcx, [0x412bae00]
mov rdx, r13
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rsi, [rsp + 0x30]
lea rdi, str.default
mov ecx, 8
repe cmpsw word [rsi], word [rdi]
jne 0x411fc24b
xor eax, eax
mov rsi, qword [rsp + 0x468]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.41211b80
add rsp, 0x478
pop r14
pop r13
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x20]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x30]
mov qword [rsp + 0x460], r12
repne scasw ax, word [rdi]
cmp rdx, 8
not rcx
lea rsi, [rcx - 1]
jb 0x411fc27c
mov rax, qword [rbx + 8]
lea rdi, [rbx + 8]
jmp 0x411fc283
lea rdi, [rbx + 8]
mov rax, rdi
lea rcx, [rsp + 0x30]
xor r12d, r12d
cmp rcx, rax
jb 0x411fc2d7
cmp rdx, 8
jb 0x411fc29b
mov rcx, qword [rdi]
jmp 0x411fc29e
mov rcx, rdi
mov rax, qword [rbx + 0x18]
lea rcx, [rcx + rax*2]
lea rax, [rsp + 0x30]
cmp rcx, rax
jbe 0x411fc2d7
cmp rdx, 8
jb 0x411fc2b9
mov rdi, qword [rdi]
lea r8, [rsp + 0x30]
mov r9, rsi
mov rdx, rbx
sub r8, rdi
mov rcx, rbx
sar r8, 1
call fcn.41022de0
jmp 0x411fc369
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
jbe 0x411fc2eb
call fcn.4120fbc0
mov rax, qword [rbx + 0x20]
cmp rax, rsi
jae 0x411fc31f
mov r8, qword [rbx + 0x18]
mov rdx, rsi
mov rcx, rbx
call fcn.41022ab0
test rsi, rsi
je 0x411fc369
mov rdx, qword [rbx + 0x20]
mov qword [rsp + 0x470], rbp
cmp rdx, 8
jb 0x411fc337
mov rcx, qword [rdi]
jmp 0x411fc33a
test rsi, rsi
jne 0x411fc303
cmp rax, 8
mov qword [rbx + 0x18], r12
jb 0x411fc331
mov rdi, qword [rdi]
mov word [rdi], r12w
jmp 0x411fc369
mov rcx, rdi
lea rbp, [rsi + rsi]
lea r8, [rsp + 0x30]
add rdx, rdx
mov r9, rbp
call fcn.412118b0
cmp qword [rbx + 0x20], 8
mov qword [rbx + 0x18], rsi
jb 0x411fc35c
mov rdi, qword [rdi]
mov word [rdi + rbp], r12w
mov rbp, qword [rsp + 0x470]
lea r9, [rsp + 0x240]
lea rcx, str.size
xor r8d, r8d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
mov dword [r14], eax
setne r12b
mov eax, r12d
mov r12, qword [rsp + 0x460]
jmp 0x411fc225
mov eax, 1
jmp 0x411fc22d
Function at 0x41200610
Capabilities:
Get file size

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rbx, rdx
mov rbp, rcx
lea rdi, [rcx + 0x18]
xor edx, edx
mov r8d, 0x208
mov rcx, rdi
call fcn.412121c0
xor esi, esi
mov dword [rbp + 0x220], esi
lea rcx, [rsp + 0x50]
call fcn.41029680
nop
mov r8d, 0x10000000
lea rdx, str.Everyone
lea rcx, [rsp + 0x50]
call fcn.410296d0
mov r8d, 0x10000000
lea rdx, str.ALL_APPLICATION_PACKAGES
lea rcx, [rsp + 0x50]
call fcn.410296d0
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rsi + 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x412006fa
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rbp + 0x220], eax
sub rdi, rbx
nop
nop
nop
nop
movzx eax, word [rbx]
mov word [rdi + rbx], ax
add rbx, 2
test ax, ax
jne 0x412006e0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x50]
call fcn.41029650
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x41200790
Capabilities:
Get file size
Read file via mapping

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0xc0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r12, r8
mov rbx, rdx
mov rsi, rcx
call fcn.41200610
mov r8, r12
mov edx, 1
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rsi + 8], rax
xor edi, edi
test rax, rax
je 0x41200812
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x10], rax
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
je 0x41200812
lea eax, [rdi + 1]
jmp 0x412008f6
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x4120084c
xor eax, eax
jmp 0x412008f6
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea rcx, [rsp + 0x50]
call fcn.41029680
nop
mov r8d, 0x10000000
lea rdx, str.Everyone
lea rcx, [rsp + 0x50]
call fcn.410296d0
mov r8d, 0x10000000
lea rdx, str.ALL_APPLICATION_PACKAGES
lea rcx, [rsp + 0x50]
call fcn.410296d0
lea rcx, [rsp + 0x50]
call fcn.41029550
mov rdx, rax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8d, [r9 + 2]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsi + 8], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x10], rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsi + 0x10], 0
setne dil
lea rcx, [rsp + 0x50]
call fcn.41029650
mov eax, edi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.41211b80
add rsp, 0xc0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x412083b0
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x250
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp dword [rcx + 0x298], 0
mov rbx, rcx
je 0x41208557
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x10], rdi
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov qword [r11 - 0x18], r13
mov word [rsp + 0x20], 0
call fcn.412121c0
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
or r13, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x20]
mov rcx, r13
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rbp, rcx
je 0x412084ec
mov r9, qword [rbx + 0x2b8]
test r9, r9
je 0x41208537
cmp rcx, r9
ja 0x41208537
mov eax, 1
sub rax, rcx
add r9, rax
cmp qword [rbx + 0x2c0], 8
jb 0x41208471
lea rsi, [rbx + 0x2a8]
mov r11, qword [rsi]
jmp 0x4120847b
lea rsi, [rbx + 0x2a8]
mov r11, rsi
movzx r10d, word [rsp + 0x20]
test r9, r9
mov rax, r9
mov rdx, r11
je 0x41208537
cmp word [rdx], r10w
je 0x412084a5
add rdx, 2
sub rax, 1
jne 0x41208490
jmp 0x41208537
test rdx, rdx
je 0x41208537
test rbp, rbp
mov rcx, rbp
lea rdi, [rsp + 0x20]
mov r8, rdx
je 0x412084d7
nop
movzx eax, word [rdi]
cmp word [r8], ax
jne 0x412084ff
add r8, 2
add rdi, 2
sub rcx, 1
jne 0x412084c0
cmp qword [rbx + 0x2c0], 8
jb 0x412084e4
mov rsi, qword [rsi]
sub rdx, rsi
sar rdx, 1
jne 0x41208537
cmp qword [rbx + 0x2c0], 8
jb 0x4120852b
mov rcx, qword [rbx + 0x2a8]
jmp 0x41208532
cmp word [r8], ax
mov ecx, 1
cmovb ecx, r13d
test ecx, ecx
je 0x412084d7
mov rcx, rdx
mov rax, r13
sub rcx, r11
lea r11, [rdx + 2]
sar rcx, 1
sub rax, rcx
add r9, rax
jmp 0x41208481
lea rcx, [rbx + 0x2a8]
call fcn.41035fe0
mov rdi, qword [rsp + 0x248]
mov rsi, qword [rsp + 0x270]
mov rbp, qword [rsp + 0x268]
mov r13, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.41211b80
add rsp, 0x250
pop rbx
ret
Function at 0x41209360
Capabilities:
Check if file exists

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x2b0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rdx, r8
lea rcx, str.LoadCopy_DictName___s
call fcn.41050860
test rbx, rbx
je 0x4120957d
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4120957d
mov qword [rsp + 0x88], 7
xor r12d, r12d
mov qword [rsp + 0x80], r12
mov word [rsp + 0x70], r12w
mov dword [rsp + 0x30], r12d
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x68]
mov rdx, rdi
mov rcx, rbx
call fcn.411fc140
test eax, eax
jne 0x41209412
cmp qword [rsp + 0x88], 8
jb 0x4120940b
mov rcx, qword [rsp + 0x70]
call fcn.41210d60
xor eax, eax
jmp 0x4120957f
mov edx, 0x3e8
mov ecx, 0xa
call fcn.41035af0
mov ebp, eax
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r12
mov word [rsp + 0x48], 0
lea r9, [rsp + 0x40]
mov r8d, eax
mov rdx, rdi
mov rcx, rbx
call fcn.411fc800
test eax, eax
jne 0x41209492
cmp qword [rsp + 0x60], 8
jb 0x41209461
mov rcx, qword [rsp + 0x48]
call fcn.41210d60
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r12
mov word [rsp + 0x48], 0
cmp qword [rsp + 0x88], 8
jb 0x4120948b
mov rcx, qword [rsp + 0x70]
call fcn.41210d60
xor eax, eax
jmp 0x4120957f
mov dword [rsp + 0x20], ebp
mov r9, rdi
lea r8, str.SmartCloudInput
lea rdx, str._s_s_Copy_d
lea rcx, [rsp + 0x90]
call fcn.412122b0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 0x2a0]
call fcn.41022de0
cmp qword [rsi + 0x2c0], 8
jb 0x412094df
mov rdx, qword [rsi + 0x2a8]
jmp 0x412094e6
lea rdx, [rsi + 0x2a8]
lea r8, [rsp + 0x90]
mov rcx, rsi
call fcn.412086c0
test eax, eax
jne 0x4120953a
cmp qword [rsp + 0x60], 8
jb 0x4120950c
mov rcx, qword [rsp + 0x48]
call fcn.41210d60
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r12
mov word [rsp + 0x48], 0
cmp qword [rsp + 0x88], 8
jb 0x41209536
mov rcx, qword [rsp + 0x70]
call fcn.41210d60
xor eax, eax
jmp 0x4120957f
cmp qword [rsp + 0x60], 8
jb 0x4120954c
mov rcx, qword [rsp + 0x48]
call fcn.41210d60
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r12
mov word [rsp + 0x48], 0
cmp qword [rsp + 0x88], 8
jb 0x41209576
mov rcx, qword [rsp + 0x70]
call fcn.41210d60
mov eax, 1
jmp 0x4120957f
xor eax, eax
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.41211b80
add rsp, 0x2b0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x41211c50
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x41361850]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.41223a10
test rax, rax
je 0x41211ca4
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x41211d39
mov ecx, 2
call fcn.41224450
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.412121c0
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x41211d25
test ebx, ebx
jne 0x41211d25
lea ecx, [rax + 2]
call fcn.41224450
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x41211d60
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x5b8
mov rcx, qword [0x41361850]
call fcn.41223a10
test rax, rax
je 0x41211d95
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], 0
call rax
add rsp, 0x5b8
ret
mov ecx, 2
mov qword [rsp + 0x5b0], rbx
call fcn.41224450
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.412121c0
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x41211e1e
test ebx, ebx
jne 0x41211e1e
lea ecx, [rax + 2]
call fcn.41224450
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x5b8
ret

Function at 0x412135a0
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x412135c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x412135c7
mov ecx, eax
call fcn.41219da0
or eax, 0xffffffff
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret