joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400133d4
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
mov rbp, rsp
sub rsp, 0x40
and qword [rcx], 0
lea rbx, [0x140119184]
and qword [rbp - 0x10], 0
lea rdx, [rbp - 0x10]
and qword [rbp + 0x40], 0
mov rsi, rcx
and qword [rbp + 0x48], 0
mov rcx, rbx
call qword [sym.imp.mpclient.dll_MpConfigOpen]
mov edi, eax
test eax, eax
jns 0x14001345e
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x140013447
test byte [rcx + 0x1c], 1
je 0x140013447
mov rcx, qword [rcx + 0x10]
lea r8, [0x140125698]
mov edx, 0xb
mov dword [rsp + 0x20], edi
mov r9, rbx
call fcn.140005648
mov r8d, edi
lea rcx, str.ERROR:_MpConfigOpen__ls__failed___lx__n
mov rdx, rbx
call fcn.1400ae8a0
jmp 0x1400135e4
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x14001346d
call qword [sym.imp.mpclient.dll_MpFreeMemory]
and dword [rbp + 0x30], 0
mov dword [rbp + 0x38], 2
and qword [rsp + 0x28], 0
lea rax, [rbp + 0x40]
mov rcx, qword [rbp - 0x10]
lea r15, str.ProductAppDataPath
mov rdx, r15
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x38]
call qword [sym.imp.mpclient.dll_MpConfigGetValueAlloc]
mov edi, eax
test eax, eax
jns 0x1400134fd
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x1400134e3
test byte [rcx + 0x1c], 1
je 0x1400134e3
mov rcx, qword [rcx + 0x10]
lea r8, [0x140125698]
mov edx, 0xc
mov dword [rsp + 0x28], edi
mov r9, rbx
mov qword [rsp + 0x20], r15
call fcn.1400131d8
mov r9d, edi
lea rcx, str.ERROR:_MpConfigGetValueString__ls_ls__failed___lx__n
mov r8, r15
mov rdx, rbx
call fcn.1400ae8a0
jmp 0x1400135e4
mov r8, qword [rbp + 0x40]
lea r9, str.Support
lea rdx, str._s_s
lea rcx, [rbp + 0x48]
call fcn.1400b4ccc
mov edi, eax
test eax, eax
jns 0x140013563
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x14001354f
test byte [rcx + 0x1c], 1
je 0x14001354f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140125698]
mov edx, 0xd
mov r9d, edi
call fcn.1400059f4
mov edx, edi
lea rcx, str.ERROR:_NewSprintfW___failed___lx__n
call fcn.1400ae8a0
mov rbx, qword [rbp + 0x48]
jmp 0x1400135d7
mov rbx, qword [rbp + 0x48]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400135cf
call fcn.1400b4f5c
mov edi, eax
cmp eax, 0x800700b7
je 0x1400135cd
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x1400135b9
test byte [rcx + 0x1c], 1
je 0x1400135b9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140125698]
mov edx, 0xe
mov dword [rsp + 0x20], edi
mov r9, rbx
call fcn.140005648
mov r8d, edi
lea rcx, str.ERROR:_CreateDirectoryW__ls__failed___lx__n
mov rdx, rbx
call fcn.1400ae8a0
jmp 0x1400135d7
xor edi, edi
mov rax, rbx
xor ebx, ebx
mov qword [rsi], rax
test rbx, rbx
je 0x1400135e4
mov rcx, rbx
call fcn.1400e9470
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x1400135f3
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140013602
call qword [sym.imp.mpclient.dll_MpConfigClose]
mov eax, edi
add rsp, 0x40
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140013610
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 0x10], 0
mov r12, rdx
mov rdx, rcx
mov rdi, rcx
lea rcx, [rbp - 0x10]
mov r13, r9
call fcn.1400bd444
mov ebx, eax
test eax, eax
jns 0x14001367a
mov rcx, qword [0x140158280]
lea rsi, [0x140158280]
cmp rcx, rsi
je 0x1400137ea
test byte [rcx + 0x1c], 1
je 0x1400137ea
mov edx, 0x16
mov dword [rsp + 0x20], eax
jmp 0x1400137d7
mov rcx, qword [rbp - 0x10]
and qword [rbp - 0x20], 0
mov rax, qword [rcx]
movabs r10, 0xc56426dd7e555a70
mov rax, qword [rax + 0x18]
lea rdx, [rbp - 0x20]
call qword [case.0x1400bdf0e.0]
lea rsi, [0x140158280]
jmp 0x1400137b2
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x140013872
add rdx, 0x2c
xor r9d, r9d
mov r8, r12
mov rcx, rdi
call fcn.1400189c8
test eax, eax
jns 0x140013704
mov rcx, qword [0x140158280]
cmp rcx, rsi
je 0x140013793
test byte [rcx + 0x1c], 1
je 0x140013793
mov rcx, qword [rcx + 0x10]
lea r8, [0x140125698]
mov edx, 0x18
mov r9d, eax
call fcn.1400059f4
jmp 0x140013793
mov r9, qword [rbp - 0x20]
lea rdx, [0x14011f890]
and qword [rbp - 0x18], 0
lea rcx, [rbp - 0x18]
add r9, 0x2c
mov r8, r12
call fcn.14000c76c
mov ebx, eax
test eax, eax
js 0x140013826
lea rax, [rbp - 0x18]
mov rcx, r13
lea rdx, [rbp - 8]
mov qword [rbp - 8], rax
call fcn.14001f17c
mov ebx, eax
test eax, eax
js 0x140013826
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x140013793
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001378a
mov rcx, qword [0x140158280]
cmp rcx, rsi
je 0x14001378a
test byte [rcx + 0x1c], 1
je 0x14001378a
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0xa]
mov r9, rbx
lea r8, [0x140125698]
call fcn.140005570
mov rcx, rbx
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
movabs r10, 0xc56426dd7e555a70
mov rax, qword [rax + 0x18]
lea rdx, [rbp - 0x20]
call qword [case.0x1400bdf0e.0]
mov ebx, eax
test eax, eax
jns 0x1400136aa
mov rcx, qword [0x140158280]
cmp rcx, rsi
je 0x1400137ea
test byte [rcx + 0x1c], 1
je 0x1400137ea
mov edx, 0x17
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x140125698]
mov r9, rdi
call fcn.140005648
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14001380a
mov rdx, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rdx + 8]
call qword [case.0x1400bdf0e.0]
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
mov rdi, qword [rbp - 0x18]
test rdi, rdi
je 0x1400137ea
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140013864
mov rcx, qword [0x140158280]
cmp rcx, rsi
je 0x140013864
test byte [rcx + 0x1c], 1
je 0x140013864
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0xa]
mov r9, rdi
lea r8, [0x140125698]
call fcn.140005570
mov rcx, rdi
call qword [sym.imp.mpclient.dll_MpFreeMemory]
jmp 0x1400137ea
xor ebx, ebx
jmp 0x1400137ea
Function at 0x1400189c8
Capabilities:
Copy file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push r13
push r14
push r15
sub rsp, 0x30
and qword [rax - 0x28], 0
mov r14, r9
and qword [rax - 0x20], 0
mov r15, r8
mov rbp, rdx
mov rbx, rcx
mov rcx, qword [0x140158280]
lea r13, [0x140158280]
cmp rcx, r13
je 0x140018a28
test byte [rcx + 0x1c], 4
je 0x140018a28
mov rcx, qword [rcx + 0x10]
lea r8, [0x140125698]
mov edx, 0x92
mov r9, rbp
call fcn.140005570
mov r9, rbp
lea rdx, [0x14011f890]
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.1400b4ccc
mov esi, eax
test eax, eax
jns 0x140018a87
mov rcx, qword [0x140158280]
cmp rcx, r13
je 0x140018a6f
test byte [rcx + 0x1c], 1
je 0x140018a6f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140125698]
mov edx, 0x93
mov r9d, eax
call fcn.1400059f4
mov edx, esi
lea rcx, str.ERROR:_NewSprintfW___failed___lx__n
call fcn.1400ae8a0
mov rbx, qword [rsp + 0x20]
jmp 0x140018bc7
mov rbx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
mov rdx, rbx
call fcn.1400b4ad4
mov esi, eax
test eax, eax
jns 0x140018adc
mov rcx, qword [0x140158280]
cmp rcx, r13
je 0x140018ac9
test byte [rcx + 0x1c], 1
je 0x140018ac9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140125698]
mov edx, 0x94
mov r9d, eax
call fcn.1400059f4
lea rcx, str.ERROR:_UtilExpandEnvironmentStrings___failed___lx__n
mov edx, esi
call fcn.1400ae8a0
jmp 0x140018bb5
test r14, r14
cmovne rbp, r14
test rbx, rbx
je 0x140018af6
mov rcx, rbx
call fcn.1400e9470
and qword [rsp + 0x20], 0
mov r9, rbp
lea rdx, [0x14011f890]
mov r8, r15
lea rcx, [rsp + 0x20]
call fcn.1400b4ccc
mov esi, eax
test eax, eax
jns 0x140018b52
mov rcx, qword [0x140158280]
cmp rcx, r13
je 0x140018b3d
test byte [rcx + 0x1c], 1
je 0x140018b3d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140125698]
mov edx, 0x95
mov r9d, eax
call fcn.1400059f4
mov edx, esi
lea rcx, str.ERROR:_NewSprintfW___failed___lx__n
call fcn.1400ae8a0
mov rbx, qword [rsp + 0x20]
jmp 0x140018bb5
mov rbx, qword [rsp + 0x20]
xor r8d, r8d
mov rcx, qword [rsp + 0x28]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140018bb3
call fcn.1400b4f5c
mov esi, eax
add eax, 0x7ff8fffe
cmp eax, 1
jbe 0x140018bb3
mov rcx, qword [0x140158280]
cmp rcx, r13
je 0x140018ba7
test byte [rcx + 0x1c], 1
je 0x140018ba7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140125698]
mov edx, 0x96
mov r9d, esi
call fcn.1400059f4
lea rcx, str.ERROR:_CopyFileW___failed___lx__n
jmp 0x140018ad0
xor esi, esi
cmp qword [rsp + 0x28], 0
je 0x140018bc7
mov rcx, qword [rsp + 0x28]
call fcn.1400e9470
test rbx, rbx
je 0x140018bd4
mov rcx, rbx
call fcn.1400e9470
mov rbx, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r15
pop r14
pop r13
ret
Function at 0x14001cef0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx]
mov rdi, rcx
cmp rbx, rcx
je 0x14001cf62
mov rsi, qword [rbx + 0x10]
test rsi, rsi
je 0x14001cf5a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001cf51
mov rcx, qword [0x140158280]
lea rax, [0x140158280]
cmp rcx, rax
je 0x14001cf51
test byte [rcx + 0x1c], 1
je 0x14001cf51
mov rcx, qword [rcx + 0x10]
lea r8, [0x140125698]
mov edx, 0xa
mov r9, rsi
call fcn.140005570
mov rcx, rsi
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14001cf0a
mov rbx, qword [rdi]
mov esi, 0x18
jmp 0x14001cf8c
mov rdx, qword [rbx]
mov rcx, rbx
mov rbx, rdx
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov qword [rdx + 8], rax
mov rdx, rsi
call fcn.1400e9768
dec qword [rdi + 0x10]
cmp rbx, rdi
jne 0x14001cf6c
cmp qword [rdi + 0x10], 0
je 0x14001cfc2
mov rbx, qword [rdi]
jmp 0x14001cfbd
mov rdx, qword [rbx]
mov rcx, rbx
mov rbx, rdx
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov qword [rdx + 8], rax
mov rdx, rsi
call fcn.1400e9768
dec qword [rdi + 0x10]
cmp rbx, rdi
jne 0x14001cf9d
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140026ad0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x50
mov r14, rdx
mov rsi, rcx
and qword [rax + 8], 0
and qword [rax + 0x18], 0
test rcx, rcx
jne 0x140026c79
xor ebx, ebx
mov qword [rax + 0x20], rbx
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [0x14012a218]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x140113c50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test eax, eax
sets bpl
lea r12, [0x140158280]
test eax, eax
jns 0x140026b6e
mov rcx, qword [0x140158280]
cmp rcx, r12
je 0x140026b65
test byte [rcx + 0x1c], 1
je 0x140026b65
mov edx, 0x14
mov r9d, eax
lea r8, str.g__4
mov rcx, qword [rcx + 0x10]
call fcn.1400059f4
test bpl, bpl
jne 0x140026ca3
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
movabs r10, 0xc2392f9178de2a70
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x40], rdx
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400bdf0e.0]
mov edi, eax
test eax, eax
sets bpl
test eax, eax
jns 0x140026bfd
mov rcx, qword [0x140158280]
cmp rcx, r12
je 0x140026bf4
test byte [rcx + 0x1c], 1
je 0x140026bf4
mov edx, 0x15
mov dword [rsp + 0x20], eax
mov r9, rsi
lea r8, str.g__4
mov rcx, qword [rcx + 0x10]
call fcn.140005648
test bpl, bpl
jne 0x140026c95
mov rax, qword [rsp + 0x80]
and qword [rsp + 0x80], 0
mov qword [r14], rax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x140026c40
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x1400bdf0e.0]
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140026c65
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x1400bdf0e.0]
nop
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop
mov rbx, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x140026c9d
jmp 0x140026b01
mov ecx, edi
call fcn.1400b3d74
nop
call fcn.1400263a8
nop
mov ecx, edi
call fcn.1400b3d74
int3
Function at 0x140028f70
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14015da88]
xor rax, rsp
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
xor eax, eax
and dword [rsp + 0x30], eax
mov rsi, rcx
lea rcx, str._nState_of__s_service:_n
mov dword [rsp + 0x60], eax
movups xmmword [rsp + 0x40], xmm0
mov rbp, rdx
xor ebx, ebx
movups xmmword [rsp + 0x50], xmm0
xor edi, edi
call fcn.1400aea10
xor edx, edx
lea r8d, [rbx + 1]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
je 0x140029026
lea r8d, [rdi + 4]
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x140029026
lea rcx, [rsp + 0x30]
mov r9d, 0x24
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x40]
mov rcx, rax
xor edx, edx
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140029026
movups xmm0, xmmword [rsp + 0x40]
mov eax, dword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
mov dword [rsi + 0x20], eax
xor esi, esi
jmp 0x140029032
call fcn.1400b4f5c
mov esi, eax
test rdi, rdi
je 0x14002903b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x140029049
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400e9450
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003b8d0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x14015da88]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r15d, r15d
lea rax, [rsp + 0x30]
mov ebx, 0x104
mov qword [r8], r15
mov r9d, ebx
lea rdx, [rsp + 0x30]
sub rcx, rax
mov r14, r8
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x14003b943
movzx eax, word [rcx + rdx]
test ax, ax
je 0x14003b943
mov word [rdx], ax
add rdx, 2
sub r9, 1
jne 0x14003b921
lea rax, [rdx - 2]
test r9, r9
lea r8, [0x140130820]
cmovne rax, rdx
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov word [rax], r15w
call fcn.140022e90
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov rdi, rax
test rax, rax
jne 0x14003b9a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14003b990
mov esi, r15d
jmp 0x14003b9d6
mov rcx, qword [rbp + 0x168]
mov edx, 0xc9
call fcn.14003b634
mov esi, eax
jmp 0x14003b9d6
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], r15d
mov rcx, rdi
mov dword [rsp + 0x24], r15d
call fcn.14003b78c
mov esi, eax
test eax, eax
jns 0x14003ba0d
mov rcx, qword [rbp + 0x168]
mov r9d, eax
mov edx, 0xcf
call fcn.14003b614
test rdi, rdi
jne 0x14003baaa
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400e9450
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [0x14011b88c]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140022e90
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov rbx, rax
test rax, rax
jne 0x14003ba50
mov rcx, qword [rbp + 0x168]
mov edx, 0xd5
call fcn.14003b634
mov esi, eax
jmp 0x14003baaa
lea rdx, [rsp + 0x24]
mov rcx, rbx
call fcn.14003b78c
mov esi, eax
test eax, eax
jns 0x14003ba86
mov rcx, qword [rbp + 0x168]
mov r9d, eax
mov edx, 0xd7
call fcn.14003b614
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14003bace
jmp 0x14003baaa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14003babc
movsxd rcx, dword [rsp + 0x24]
mov esi, r15d
movsxd rax, dword [rsp + 0x20]
shl rcx, 0x1f
or rcx, rax
mov qword [r14], rcx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14003bae0
jmp 0x14003b9df
mov rcx, qword [rbp + 0x168]
mov edx, 0x937
call fcn.14003b66c
int3
mov rcx, qword [rbp + 0x168]
mov edx, 0x937
call fcn.14003b66c
int3
mov rcx, qword [rbp + 0x168]
mov edx, 0x937
call fcn.14003b66c
int3
Function at 0x14005a730
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea r13, [r8 - 1]
mov r12, r9
mov r14, r13
mov rbp, r8
sar r14, 1
mov rdi, rdx
mov rsi, rcx
mov r15, rdx
mov rbx, rdx
cmp rdx, r14
jge 0x14005a7b0
add rbx, rbx
lea rcx, [rbx + 2]
shl rcx, 5
add rcx, rsi
lea rdx, [rcx - 0x20]
call fcn.14004e040
movzx ecx, al
xor rcx, 1
shl rdi, 5
inc rcx
add rbx, rcx
mov rdx, rbx
shl rdx, 5
lea rcx, [rsi + rdi]
add rdx, rsi
call fcn.14001cfd4
mov rdi, rbx
cmp rbx, r14
jl 0x14005a76d
cmp rbx, r14
jne 0x14005a7d6
test bpl, 1
jne 0x14005a7d6
shl rdi, 5
lea rdx, [rsi - 0x20]
shl rbp, 5
add rdx, rbp
lea rcx, [rsi + rdi]
call fcn.14001cfd4
mov rdi, r13
cmp r15, rdi
jge 0x14005a813
lea rbx, [rdi - 1]
mov rdx, r12
sar rbx, 1
mov rbp, rbx
shl rbp, 5
add rbp, rsi
mov rcx, rbp
call fcn.14004e040
test al, al
je 0x14005a813
shl rdi, 5
mov rdx, rbp
lea rcx, [rsi + rdi]
call fcn.14001cfd4
mov rdi, rbx
cmp r15, rbx
jl 0x14005a7db
shl rdi, 5
mov rdx, r12
lea rcx, [rsi + rdi]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp fcn.14001cfd4

Function at 0x14005aab4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea rax, [r8 - 1]
mov r13, r9
mov r15, rax
mov qword [rsp + 0x50], rax
sar r15, 1
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov r12, rdx
mov r14, rdx
cmp rdx, r15
jge 0x14005ab4d
lea rbx, [r14 + r14]
lea rcx, [rbx + 2]
shl rcx, 6
add rcx, rsi
lea rdx, [rcx - 0x40]
call fcn.14004e040
lea r14, [rbx + 1]
movzx ecx, al
xor rcx, 1
shl rdi, 6
add r14, rcx
add rdi, rsi
mov rbx, r14
mov rcx, rdi
shl rbx, 6
add rbx, rsi
mov rdx, rbx
call fcn.14001cfd4
lea rdx, [rbx + 0x20]
lea rcx, [rdi + 0x20]
call fcn.14001cfd4
mov rdi, r14
cmp r14, r15
jl 0x14005aaf6
cmp r14, r15
jne 0x14005ab85
test bpl, 1
jne 0x14005ab85
shl rbp, 6
shl rdi, 6
add rdi, rsi
mov rcx, rdi
lea rbx, [rsi + rbp]
lea rdx, [rbx - 0x40]
call fcn.14001cfd4
lea rdx, [rbx - 0x20]
lea rcx, [rdi + 0x20]
call fcn.14001cfd4
mov rdi, qword [rsp + 0x50]
cmp r12, rdi
jge 0x14005abd1
lea rbx, [rdi - 1]
mov rdx, r13
sar rbx, 1
mov rbp, rbx
shl rbp, 6
add rbp, rsi
mov rcx, rbp
call fcn.14004e040
test al, al
je 0x14005abd1
shl rdi, 6
mov rdx, rbp
add rdi, rsi
mov rcx, rdi
call fcn.14001cfd4
lea rdx, [rbp + 0x20]
lea rcx, [rdi + 0x20]
call fcn.14001cfd4
mov rdi, rbx
cmp r12, rbx
jl 0x14005ab8a
shl rdi, 6
mov rdx, r13
add rdi, rsi
mov rcx, rdi
call fcn.14001cfd4
lea rdx, [r13 + 0x20]
lea rcx, [rdi + 0x20]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp fcn.14001cfd4
Function at 0x140066b00
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 rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140066b2e
xor eax, eax
jmp 0x140066c14
cmp qword [rcx + 0x68], 0
je 0x140066b3f
call fcn.140067390
jmp 0x140066c14
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140066b56
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140066b58
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140066b8a
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400ebaa0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x140066c0e
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140066bc1
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140066bea
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1400d28d0
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140066c0e
cmp rsi, rbx
ja 0x140066bc8
test rsi, rsi
je 0x140066c0e
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400d28d0
sub rsi, rax
sub rbp, rsi
mov rax, rbp
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
Function at 0x140070f34
Capabilities:
Get geographical location

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rbp
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x50
mov r14, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rcx + 8], ebx
lea rax, vtable.std::time_get_char__class_std::istreambuf_iterator_char__struct_std::char_traits_char___.0
mov qword [rcx], rax
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], rbx
mov qword [rcx + 0x20], rbx
mov qword [r11 + 0x18], rcx
lea rcx, [r11 - 0x48]
call fcn.140069a60
movups xmm0, xmmword [rax]
movups xmmword [rdi + 0x2c], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x3c], xmm1
movsd xmm0, qword [rax + 0x20]
movsd qword [rdi + 0x4c], xmm0
mov eax, dword [rax + 0x28]
mov dword [rdi + 0x54], eax
call fcn.1400d4b5c
mov rbp, rax
lea rsi, [r14 + 8]
test rax, rax
je 0x140070fc0
mov rdx, rax
mov rcx, rsi
call fcn.140048e4c
mov rcx, rbp
call fcn.1400be81c
lea rcx, str.:Sun:Sunday:Mon:Monday:Tue:Tuesday:Wed:Wednesday:Thu:Thursday:Fri:Friday:Sat:Saturday
cmp qword [rsi], rbx
cmovne rcx, qword [rsi]
call fcn.140020a14
mov qword [rdi + 0x10], rax
call fcn.1400d4ca8
mov rbp, rax
lea rsi, [r14 + 0x18]
test rax, rax
je 0x140070ffb
mov rdx, rax
mov rcx, rsi
call fcn.140048e4c
mov rcx, rbp
call fcn.1400be81c
lea rcx, [0x140134390]
cmp qword [rsi], rbx
cmovne rcx, qword [rsi]
call fcn.140020a14
mov qword [rdi + 0x18], rax
lea rcx, [0x1401346a0]
call fcn.140020a14
mov qword [rdi + 0x20], rax
mov dword [rsp + 0x80], ebx
call fcn.1400d2f14
mov esi, 2
mov r9d, esi
lea r8, [rsp + 0x80]
lea edx, [rsi + 0x20]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x80]
sub ecx, 0x30
je 0x14007106e
sub ecx, 1
je 0x140071067
cmp ecx, 1
jne 0x140071070
lea ebx, [rsi + 1]
jmp 0x140071070
mov ebx, 1
jmp 0x140071070
mov ebx, esi
mov dword [rdi + 0x28], ebx
mov rax, rdi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret