joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e6c50
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rsi, rcx
mov rcx, qword [rcx + 0x68]
mov qword [rax - 0x10], r12
mov r12, rdx
mov qword [rax - 0x18], r13
xor r13d, r13d
mov qword [rax - 0x20], r14
mov ebx, r13d
mov qword [rax - 0x28], r15
mov r14d, r9d
mov qword [rax - 0x30], rbx
mov r15, r8
mov dword [rax + 8], r13d
mov dword [rax - 0x38], r13d
test rcx, rcx
je 0x1400e6ca2
mov edx, 0x1b58
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
mov edi, 0x57
call qword [rsi + 0x98]
test al, al
je 0x1400e6da2
mov qword [rsp + 0x90], rbp
mov rbp, qword [rsp + 0xa8]
test rbp, rbp
je 0x1400e6d9a
cmp r13w, word [rbp]
je 0x1400e6d9a
mov rcx, rsi
call fcn.1400e54b0
mov edi, eax
test eax, eax
je 0x1400e6cf5
cmp eax, 0xb7
jne 0x1400e6d9a
lea rax, [rsp + 0x48]
mov r9d, r14d
mov qword [rsp + 0x38], rax
mov r8, r15
lea rax, [rsp + 0x80]
mov rdx, r12
mov qword [rsp + 0x30], rax
mov rcx, rsi
mov eax, dword [rsp + 0xa0]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
call fcn.1400e3b80
mov rbx, qword [rsp + 0x48]
mov edi, eax
test eax, eax
jne 0x1400e6d9a
test rbx, rbx
jne 0x1400e6d42
lea edi, [rax + 0xe]
jmp 0x1400e6d9a
mov rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rbx + rax*2 + 2], r13w
lea rax, [rax + 1]
jne 0x1400e6d50
mov rcx, qword [rsi + 0x50]
lea r8d, [rax + rax]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r13
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test byte [rsi + 0x7c], 1
mov ebp, eax
je 0x1400e6d8e
cmp r13w, word [rbx]
je 0x1400e6d8e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test ebp, ebp
jne 0x1400e6d9a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbp, qword [rsp + 0x90]
mov rcx, qword [rsi + 0x50]
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x68]
lea rax, [rcx - 1]
mov qword [rsi + 0x50], r13
mov r13, qword [rsp + 0x60]
cmp rax, 0xfffffffffffffffd
ja 0x1400e6dce
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x1400e6ddb
mov rcx, rbx
call fcn.14013d394
mov rcx, qword [rsi + 0x68]
mov rsi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400e6dfa
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, edi
add rsp, 0x70
pop rdi
ret
Function at 0x1400ea280
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rdx
xor r15d, r15d
mov qword [rsp + 0x60], r15
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x140315ed8]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x1400ea2cd
lea eax, [r15 + 0x57]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x68], rdi
mov rcx, 0xffffffffffffffff
test rdi, rdi
je 0x1400ea3ca
mov rbx, rcx
nop word [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400ea2f0
test ebx, ebx
je 0x1400ea3ca
mov r9, qword [rsi]
mov r14d, dword [r9 - 0x10]
mov rbp, rdi
sub rbp, r9
sar rbp, 1
test ebx, ebx
js 0x1400ea44c
mov ecx, 1
sub ecx, dword [r9 - 8]
mov eax, dword [r9 - 0xc]
sub eax, ebx
or eax, ecx
jge 0x1400ea33a
mov edx, ebx
mov rcx, rsi
call fcn.140039050
mov r9, qword [rsi]
movsxd r8, ebx
add r8, r8
cmp rbp, r14
ja 0x1400ea376
lea rdx, [r9 + rbp*2]
test r8, r8
je 0x1400ea3ae
test rdx, rdx
jne 0x1400ea360
call fcn.140141530
mov dword [rax], 0x16
jmp 0x1400ea3a9
movsxd rax, dword [r9 - 0xc]
add rax, rax
cmp rax, r8
jb 0x1400ea39e
mov rcx, r9
call fcn.1401389a0
jmp 0x1400ea3ae
movsxd rax, dword [r9 - 0xc]
add rax, rax
test r8, r8
je 0x1400ea3ae
mov rcx, r9
cmp rax, r8
jb 0x1400ea394
mov rdx, rdi
call fcn.1401389a0
jmp 0x1400ea3ae
mov r8, rax
xor edx, edx
call fcn.140138ee0
call fcn.140141530
mov dword [rax], 0x22
call fcn.14013d2fc
mov rax, qword [rsi]
cmp ebx, dword [rax - 0xc]
jg 0x1400ea44c
mov dword [rax - 0x10], ebx
movsxd rcx, ebx
mov rax, qword [rsi]
mov word [rax + rcx*2], r15w
jmp 0x1400ea420
mov r8, qword [rsi]
lea rdx, [r8 - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x1400ea420
mov eax, dword [rdx + 0x10]
shr eax, 0x1f
test al, al
je 0x1400ea3f8
cmp dword [r8 - 0xc], 0
jl 0x1400ea441
mov dword [r8 - 0x10], r15d
mov rax, qword [rsi]
mov word [rax], r15w
jmp 0x1400ea420
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400ea40b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x1400ea42e
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.140039608
nop
mov ecx, 0x80070057
call fcn.140039608
int3
Function at 0x1400ecc50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, rcx
mov rbp, r9
lea rcx, [rsp + 0x50]
mov rdi, r8
call fcn.1400c4a80
mov rax, qword [rdi]
mov r9, rbp
mov rsi, qword [rsp + 0x70]
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
cmp eax, 0xea
jne 0x1400ecce6
mov rcx, qword [rdi]
call fcn.14011a254
mov qword [rdi], 0
lea rdx, [0x140317ca8]
mov ecx, dword [rsi]
call fcn.14011aa1c
mov rdx, qword [rsp + 0x50]
mov r9, rbp
mov qword [rdi], rax
xor r8d, r8d
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
mov eax, 0xffffffff
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ecd07
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x1400ecd20
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rsi, r9
mov ebp, r8d
mov r12, rdx
mov r14, rcx
test r9, r9
je 0x1400ece7a
mov edi, dword [rsp + 0x90]
cmp edi, 1
jb 0x1400ece7a
xor eax, eax
mov dword [r11 + 0x20], eax
mov qword [r11 - 0x38], rax
cmp r8d, 1
jne 0x1400ecd85
lea rax, [r11 + 0x20]
mov qword [r11 - 0x48], rax
lea r9, [r11 - 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.1400ec5c0
jmp 0x1400ecda7
cmp ebp, 7
jne 0x1400ecdbf
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, edi
mov rdx, rsi
call fcn.1400ec3b0
mov edi, eax
test eax, eax
jne 0x1400ece6c
mov rsi, qword [rsp + 0x30]
mov edi, dword [rsp + 0x88]
jmp 0x1400ecdc6
mov dword [rsp + 0x88], edi
lea r15d, [rdi + 0x20]
mov ecx, r15d
call fcn.14011aa14
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400ecde4
lea edi, [rax + 8]
jmp 0x1400ece63
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbx
mov r9d, ebp
mov r8d, edi
mov rdx, rsi
mov rcx, r14
call fcn.1400ec850
mov edi, eax
test eax, eax
jne 0x1400ece63
mov rdx, r12
lea rcx, [rsp + 0x88]
call fcn.1400c4a80
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbx
lea r9d, [rdi + 3]
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [r14 + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ece5e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.14011a254
nop
mov rcx, qword [rsp + 0x30]
call fcn.14011a254
mov eax, edi
jmp 0x1400ece7f
mov eax, 0x57
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400f0d10
Capabilities:
Delete registry key

Disassembly:
lea rax, vtable.CoreTech::internal::CRegKeyImpl.0
mov qword [rcx], rax
jmp fcn.1400f0d40

Function at 0x1400f0d40
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400f0d88
cmp byte [rbx + 0x14], 0
je 0x1400f0d6d
lea rdx, [0x140355f14]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rcx, qword [rbx + 8]
mov byte [rbx + 0x14], 0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbx + 8], 0
mov dword [rbx + 0x10], 0
add rsp, 0x20
pop rbx
ret
xor eax, eax
mov dword [rbx + 0x10], eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400f1040
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 8], 0
mov rdi, rdx
mov rbx, rcx
je 0x1400f10e7
test rdx, rdx
je 0x1400f10e7
cmp byte [0x1403e90b8], 0
jne 0x1400f10af
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400f109f
lea rdx, [0x1403171f8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403e90c0], rax
mov byte [0x1403e90b8], 1
jmp 0x1400f10b6
mov rax, qword [0x1403e90c0]
mov byte [0x1403e90b8], 1
jmp 0x1400f10b6
mov rax, qword [0x1403e90c0]
mov rcx, qword [rbx + 8]
mov rdx, rdi
test rax, rax
je 0x1400f10d6
mov r8d, dword [rbx + 0x10]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
mov eax, 0x57
add rsp, 0x20
pop rdi
ret

Function at 0x1400f1140
Capabilities:
Query or enumerate registry key

Disassembly:
sub rsp, 0x48
mov rcx, qword [rcx + 8]
mov r10d, edx
test rcx, rcx
jne 0x1400f1158
lea eax, [rcx + 0x57]
add rsp, 0x48
ret
mov rax, qword [rsp + 0x70]
lea rdx, [rsp + 0x50]
test rax, rax
cmovne rdx, rax
xor eax, eax
mov qword [rsp + 0x38], rdx
mov edx, r10d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add rsp, 0x48
ret

Function at 0x1400f1980
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rax, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x38
ret
Function at 0x1400f19b0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1403cd210]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx + 8]
test rbx, rbx
jne 0x1400f19e8
lea eax, [rbx + 0x57]
jmp 0x1400f1ad8
lea rcx, [rsp + 0x48]
call fcn.1400f0cc0
nop
mov r9d, dword [rdi + 0x10]
or r9d, 0x2001f
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1400f1430
mov ebx, eax
test eax, eax
jne 0x1400f1acc
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400f1ab1
nop word [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400f19b0
mov ebx, eax
test eax, eax
jne 0x1400f1acc
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400f1a60
lea rcx, [rsp + 0x48]
call fcn.1400f0d40
mov rax, qword [rdi]
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0xd0]
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.1400f0d10
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140119fe0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f1cc0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push r12
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x1403cd210]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov ebp, r8d
mov rsi, rdx
mov r12, rcx
mov edx, ebp
mov rcx, rsi
mov r8, r9
mov r14, r9
call qword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
mov r15d, dword [rsp + 0x2d0]
test r15d, r15d
je 0x1400f1dfc
test eax, eax
jne 0x1400f1dfc
mov qword [rsp + 0x278], rbx
mov qword [rsp + 0x270], rdi
mov qword [rsp + 0x268], r13
xor r13d, r13d
mov edi, r13d
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x200
call fcn.140138ee0
mov qword [rsp + 0x38], r13
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r13
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], r13
mov edx, edi
mov rcx, rsi
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400f1dcd
lea rax, [rsp + 0x48]
mov qword [rsp + 0x48], r13
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400f1dd4
mov rdx, qword [rsp + 0x48]
mov r9, r14
mov r8d, ebp
mov dword [rsp + 0x20], r15d
mov rcx, r12
call fcn.1400f1cc0
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400f1dd4
cmp eax, 0x103
je 0x1400f1de2
inc edi
test ebx, ebx
je 0x1400f1d33
mov eax, ebx
jmp 0x1400f1de4
xor eax, eax
mov rdi, qword [rsp + 0x270]
mov rbx, qword [rsp + 0x278]
mov r13, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140119fe0
add rsp, 0x280
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret

Function at 0x1400f1ea0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
test r9, r9
je 0x1400f1ed0
mov eax, dword [rsp + 0x60]
cmp eax, 1
jb 0x1400f1ed0
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r9
mov r9d, r8d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
mov eax, 0x57
add rsp, 0x38
ret
Function at 0x1400f3520
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rsi, r9
mov rbp, r8
mov ebx, edx
mov ecx, dword [0x1403e9b70]
mov rax, qword gs:[0x58]
mov edx, 4
mov rdi, qword [rax + rcx*8]
add rdi, rdx
mov eax, dword [rdi]
cmp dword [0x1403ece00], eax
jg 0x1400f3695
lea r14, [0x1403ece08]
mov eax, dword [rdi]
cmp dword [0x1403ece04], eax
jg 0x1400f3623
mov rcx, r14
mov rax, qword [0x1403ece08]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
test ebx, ebx
je 0x1400f35ec
sub ebx, 1
je 0x1400f35b6
cmp ebx, 1
je 0x1400f35ad
lea rdx, str._s__d_:__UNKNOWN_:___s_:__s_n
jmp 0x1400f35bd
lea rdx, str._s__d_:__ERROR_:___s_:__s_n
jmp 0x1400f35bd
lea rdx, str._s__d_:__INFO_:___s_:__s_n
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9d, dword [rsp + 0x70]
mov r8, rbp
lea rcx, [rsp + 0x30]
call fcn.1400e8070
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [rsp + 0x30]
lea rdx, [rax - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400f3608
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
lea rcx, [0x1403ece04]
call fcn.14011a460
cmp dword [0x1403ece04], 0xffffffff
jne 0x1400f3580
lea rax, vtable.ATL::CAtlStringMgr.0
mov qword [0x1403ece08], rax
lea rax, [0x1403ece38]
mov qword [0x1403ece10], rax
mov dword [0x1403ece28], 2
xor eax, eax
mov qword [0x1403ece20], rax
mov dword [0x1403ece30], eax
mov qword [0x1403ece18], r14
lea rcx, [0x140307e24]
call fcn.14011a23c
lea rcx, [0x1403ece04]
call fcn.14011a400
jmp 0x1400f3580
lea rcx, [0x1403ece00]
call fcn.14011a460
cmp dword [0x1403ece00], 0xffffffff
jne 0x1400f356b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea rdx, vtable.ATL::CWin32Heap.0
mov qword [0x1403ece38], rdx
mov qword [0x1403ece40], rax
mov byte [0x1403ece48], 0
lea rcx, [0x140307df0]
call fcn.14011a23c
lea rcx, [0x1403ece00]
call fcn.14011a400
jmp 0x1400f356b
Function at 0x1400f7038
Capabilities:
Delete directory
Delete file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
lea rdi, [0x1400f68d8]
mov r9, rdi
lea r8, str.SetFileInformationByHandle
lea rdx, str.kernel32.dll
lea rcx, [0x1403e96a0]
call fcn.1400f6878
mov rsi, rax
cmp rax, rdi
jne 0x1400f70e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor edi, edi
test eax, eax
je 0x1400f708e
mov byte [rsp + 0x68], 1
mov dword [rsp + 0x6c], edi
mov rax, qword [rsp + 0x68]
jmp 0x1400f70d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x10b
jne 0x1400f70ae
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400f707e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsp + 0x78], dil
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x1400f70cf
cmp eax, 0x35
je 0x1400f70cf
cmp eax, 0x7b
mov dword [rsp + 0x7c], eax
jne 0x1400f70d3
mov dword [rsp + 0x7c], edi
mov rax, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov r9d, 0x2200000
mov r8d, 0x10000
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400f6fe0
xor edi, edi
test eax, eax
je 0x1400f7139
mov byte [rsp + 0x78], dil
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x1400f711a
cmp eax, 0x35
je 0x1400f711a
cmp eax, 0x7b
mov dword [rsp + 0x7c], eax
jne 0x1400f711e
mov dword [rsp + 0x7c], edi
mov rcx, qword [rsp + 0x30]
cmp rcx, 0xffffffffffffffff
je 0x1400f70d3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400f71d3
jmp 0x1400f70d3
mov dword [rsp + 0x70], 3
mov r9d, 4
lea r8, [rsp + 0x70]
lea edx, [r9 + 0x11]
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
mov rax, rsi
call qword [case.0x1401247f2.0]
test eax, eax
je 0x1400f7170
mov byte [rsp + 0x78], 1
mov dword [rsp + 0x7c], edi
jmp 0x1400f71c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
sub ecx, 1
je 0x1400f718e
sub ecx, 0x31
je 0x1400f718e
cmp ecx, 0x25
je 0x1400f718e
mov byte [rsp + 0x78], dil
jmp 0x1400f71bd
mov byte [rsp + 0x68], 1
mov r9d, 1
lea r8, [rsp + 0x68]
lea edx, [r9 + 3]
mov rcx, rbx
mov rax, rsi
call qword [case.0x1401247f2.0]
test eax, eax
jne 0x1400f7165
mov byte [rsp + 0x78], dil
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x7c], eax
cmp rbx, 0xffffffffffffffff
je 0x1400f70d3
mov rcx, rbx
jmp 0x1400f7129
call fcn.14014288c
int3

Function at 0x1400fee2c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1403e9930]
mov ebx, r9d
mov rdi, r8
mov esi, edx
test rax, rax
je 0x1400fee57
call qword [case.0x1401247f2.0]
jmp 0x1400fee6c
call fcn.1400fedf8
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14011db70
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14011db83
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14011e1c8
lea rdx, [0x1403c70a8]
lea rcx, [rsp + 0x20]
call fcn.1401388cc
int3

Function at 0x140128354
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1403ea1d8]
xor edx, edx
jmp fcn.14011db70

Function at 0x140128cd8
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1403ea1d8]
jmp fcn.14011db70

Function at 0x14013446c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140134528]
mov r9, qword [r9 + 8]
jmp fcn.140125d6c

Function at 0x140134500
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140134538]
mov r9, qword [r9 + 8]
jmp fcn.140125d6c
Function at 0x140167a64
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14016778a
call fcn.140141530
mov dword [rax], 0x16
call fcn.14013d2fc
jmp 0x1401678d5
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1401678d5
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1401678d5
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1401677b9
lock or dword [rcx + 0x14], 0x10
jmp 0x1401678d5
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1401677cd
call fcn.140167a6c
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x1401677dd
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x1401677e0
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.14015c3bc
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.14014d474
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1401678c3
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x140167871
mov rcx, rbx
call fcn.14015c3bc
cmp eax, 0xffffffff
je 0x14016785c
mov rcx, rbx
call fcn.14015c3bc
cmp eax, 0xfffffffe
je 0x14016785c
mov rcx, rbx
call fcn.14015c3bc
movsxd rdi, eax
lea r14, [0x1403eab20]
mov rcx, rbx
sar rdi, 6
call fcn.14015c3bc
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x140167863
lea rdx, [0x1403cd5f0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140167871
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x140167895
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x140167895
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x140167895
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x1401678b3
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x1401678be
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x1401678da
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x140167754