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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x470
lea rdi, [rsp + 0x40]
mov ecx, 0x10c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x480]
mov rax, qword [0x1402558e8]
xor rax, rsp
mov qword [rsp + 0x468], rax
mov rax, qword [rsp + 0x480]
cmp qword [rax + 0x40], 0
jne 0x140048b45
xorps xmm0, xmm0
movss dword [rsp + 0x460], xmm0
jmp 0x140048b76
mov rax, qword [rsp + 0x480]
cvtsi2ss xmm0, qword [rax + 0x48]
mulss xmm0, dword [0x1401d8df8]
mov rax, qword [rsp + 0x480]
cvtsi2ss xmm1, qword [rax + 0x40]
divss xmm0, xmm1
movss dword [rsp + 0x460], xmm0
cvtss2sd xmm0, dword [rsp + 0x460]
movsd qword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x480]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x480]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x480]
mov r9, qword [rax + 0x28]
mov rax, qword [rsp + 0x480]
mov r8, qword [rax + 0x38]
lea rdx, [0x1401d68b0]
lea rcx, [rsp + 0x50]
call fcn.140042e50
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rsp
lea rdx, [0x1401d8db0]
call fcn.1400bf880
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.1400bfb70
add rsp, 0x470
pop rdi
ret

Function at 0x1400494a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
cmp qword [rsp + 0x40], 0
jle 0x1400494bd
mov qword [rsp + 0x28], 1
jmp 0x1400494c6
mov qword [rsp + 0x28], 0
mov r9d, 0x38
lea r8, [0x1401d5c00]
lea rdx, [0x1401d5c58]
mov rcx, qword [rsp + 0x28]
call fcn.14001a3b0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14004952c
mov r9d, 0x41
lea r8, [0x1401d5c70]
lea rdx, [0x1401d5c64]
xor ecx, ecx
call fcn.14001a3b0
mov ecx, 0xffffffff
call fcn.1401258f0
lea rax, [0x14025a210]
lock inc qword [rax]
mov rax, qword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x140049c50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
cmp qword [rsp + 0x68], 0
jl 0x140049c7c
mov qword [rsp + 0x30], 1
jmp 0x140049c85
mov qword [rsp + 0x30], 0
mov r9d, 0xd6
lea r8, [0x1401d9340]
lea rdx, str.npStackSize___0
mov rcx, qword [rsp + 0x30]
call fcn.14001a3b0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x28]
test rax, rax
je 0x140049cbb
mov eax, 1
jmp 0x140049db5
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x28], 1
mov rax, qword [rsp + 0x50]
cmp qword [rax + 8], 0
je 0x140049d01
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cdqe
mov r9d, 0xde
lea r8, [0x1401d93f0]
lea rdx, str.::CloseHandle__m_handle_
mov rcx, rax
call fcn.14001a3b0
mov rax, qword [rsp + 0x50]
add rax, 0x18
mov rcx, rax
call fcn.14004c6e0
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x38], rcx
cmp qword [rsp + 0x58], 0
jne 0x140049d51
lea rax, [0x14004a040]
mov qword [rsp + 0x38], rax
jmp 0x140049d5d
lea rax, [0x140049f90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
add rax, 0x10
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 8], 0
jne 0x140049db0
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x28], 0
xor eax, eax
jmp 0x140049db5
mov eax, 1
add rsp, 0x40
pop rdi
ret
Function at 0x14004d540
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov r8d, 1
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call fcn.140031b10
mov r9d, 0x130
lea r8, [0x1401dc960]
lea rdx, [0x1401dc938]
mov rcx, rax
call fcn.14001a3b0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x10], 0
jne 0x14004d595
xor eax, eax
jmp 0x14004d5b2
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + 0x10]
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.140133270
add rsp, 0x20
pop rdi
ret
Function at 0x1400655f0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
jne 0x140065644
lea rax, str.m_hKey___0
mov qword [rsp + 0x28], rax
lea rax, [0x1401a4838]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x167c
lea rdx, [0x1401a4aa0]
mov ecx, 2
call fcn.1400dfd40
cmp eax, 1
jne 0x140065644
int3
xor eax, eax
test eax, eax
jne 0x1400655ff
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
je 0x140065676
mov r8, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x10]
call fcn.140067280
jmp 0x1400656f9
movzx eax, byte [0x14025a280]
test eax, eax
jne 0x1400656bb
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400656b4
lea rdx, str.RegDeleteKeyExW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14025a278], rax
mov byte [0x14025a280], 1
cmp qword [0x14025a278], 0
je 0x1400656e6
xor r9d, r9d
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + 8]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [0x14025a278]
jmp 0x1400656f9
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x40
pop rdi
ret

Function at 0x140065700
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x140065754
lea rax, str.m_hKey___0
mov qword [rsp + 0x28], rax
lea rax, [0x1401a4838]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x16a5
lea rdx, [0x1401a4aa0]
mov ecx, 2
call fcn.1400dfd40
cmp eax, 1
jne 0x140065754
int3
xor eax, eax
test eax, eax
jne 0x14006570f
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add rsp, 0x30
pop rdi
ret
Function at 0x140066eb0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x300
lea rdi, [rsp + 0x40]
mov ecx, reloc.OLEAUT32.dll_VarDecAdd
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x310]
mov rax, qword [0x1402558e8]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1400632b0
nop
mov rax, qword [rsp + 0x310]
mov eax, dword [rax + 8]
or eax, 0x2001f
mov r9d, eax
mov r8, qword [rsp + 0x318]
mov rax, qword [rsp + 0x310]
mov rdx, qword [rax]
lea rcx, [rsp + 0x48]
call fcn.1400665e0
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x140066fc5
cmp dword [rsp + 0x64], 2
je 0x140066fa4
cmp dword [rsp + 0x64], 3
je 0x140066fa4
lea rcx, [0x14025768c]
call fcn.140002850
mov dword [rsp + 0x2ec], eax
mov r8d, 0x18c9
lea rdx, [0x1401a4b80]
lea rcx, [rsp + 0x2d0]
call fcn.140002420
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x318]
mov qword [rsp + 0x20], rcx
lea r9, str.CRegKey::RecurseDeleteKey_:_Failed_to_Open_Key__Ts_Error___d__n
xor r8d, r8d
mov ecx, dword [rsp + 0x2ec]
mov edx, ecx
mov rcx, rax
call fcn.140002870
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x2e0], eax
lea rcx, [rsp + 0x48]
call fcn.140063680
mov eax, dword [rsp + 0x2e0]
jmp 0x140067098
mov dword [rsp + 0x94], 0x100
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x94]
lea r8, [rsp + 0xc0]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140067061
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x48]
call fcn.140066eb0
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x140067051
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x2e4], eax
lea rcx, [rsp + 0x48]
call fcn.140063680
mov eax, dword [rsp + 0x2e4]
jmp 0x140067098
mov dword [rsp + 0x94], 0x100
jmp 0x140066fd0
lea rcx, [rsp + 0x48]
call fcn.140065370
mov rdx, qword [rsp + 0x318]
mov rcx, qword [rsp + 0x310]
call fcn.1400655f0
mov dword [rsp + 0x2e8], eax
lea rcx, [rsp + 0x48]
call fcn.140063680
mov eax, dword [rsp + 0x2e8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f4810]
call fcn.1400bf880
mov rax, rdi
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400bfb70
add rsp, 0x300
pop rdi
ret
Function at 0x140067280
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x140067353
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400672f7
lea rax, str.hAdvAPI32___0
mov qword [rsp + 0x28], rax
lea rax, [0x1401a4838]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x29c
lea rdx, str.D:HSwin_androidplugins_vprj_win_sdkcompiler_normalVCToolsMSVC14.29.30133ATLMFCinclude_atltransactionmanager.h
mov ecx, 2
call fcn.1400dfd40
cmp eax, 1
jne 0x1400672f7
int3
cmp qword [rsp + 0x30], 0
jne 0x140067306
mov eax, 1
jmp 0x140067375
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140067351
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x38]
jmp 0x140067375
jmp 0x140067370
mov rax, qword [rsp + 0x50]
cmp dword [rax + 8], 0
je 0x140067370
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140067375
mov eax, 1
add rsp, 0x40
pop rdi
ret
Function at 0x140069000
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x140069059
lea rax, str.m_hKey___0
mov qword [rsp + 0x28], rax
lea rax, [0x1401a4838]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1866
lea rdx, [0x1401a4aa0]
mov ecx, 2
call fcn.1400dfd40
cmp eax, 1
jne 0x140069059
int3
xor eax, eax
test eax, eax
jne 0x140069014
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x30
pop rdi
ret

Function at 0x1400690a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
jne 0x1400690f9
lea rax, str.m_hKey___0
mov qword [rsp + 0x28], rax
lea rax, [0x1401a4838]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1886
lea rdx, [0x1401a4aa0]
mov ecx, 2
call fcn.1400dfd40
cmp eax, 1
jne 0x1400690f9
int3
xor eax, eax
test eax, eax
jne 0x1400690b4
cmp qword [rsp + 0x70], 0
je 0x140069111
mov dword [rsp + 0x44], 1
jmp 0x140069119
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140069162
lea rax, [0x1401a4a78]
mov qword [rsp + 0x28], rax
lea rax, [0x1401a4838]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1887
lea rdx, [0x1401a4aa0]
mov ecx, 2
call fcn.1400dfd40
cmp eax, 1
jne 0x140069162
int3
cmp dword [rsp + 0x40], 0
jne 0x140069170
mov eax, SafeArrayDestroy
jmp 0x1400691ef
xor eax, eax
test eax, eax
jne 0x1400690ff
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1400e1a90
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
lea rax, [rcx + rax*2]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x3c], 1
jne 0x140069188
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x50
pop rdi
ret
Function at 0x140069200
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
jne 0x14006925e
lea rax, str.m_hKey___0
mov qword [rsp + 0x28], rax
lea rax, [0x1401a4838]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1877
lea rdx, [0x1401a4aa0]
mov ecx, 2
call fcn.1400dfd40
cmp eax, 1
jne 0x14006925e
int3
xor eax, eax
test eax, eax
jne 0x140069219
cmp qword [rsp + 0x60], 0
je 0x140069276
mov dword [rsp + 0x34], 1
jmp 0x14006927e
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1400692c7
lea rax, [0x1401a4a78]
mov qword [rsp + 0x28], rax
lea rax, [0x1401a4838]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1878
lea rdx, [0x1401a4aa0]
mov ecx, 2
call fcn.1400dfd40
cmp eax, 1
jne 0x1400692c7
int3
cmp dword [rsp + 0x30], 0
jne 0x1400692d8
mov eax, SafeArrayDestroy
jmp 0x140069360
xor eax, eax
test eax, eax
jne 0x140069264
cmp dword [rsp + 0x68], 1
je 0x140069326
cmp dword [rsp + 0x68], 2
je 0x140069326
lea rax, str._dwType____1ul______dwType____2ul___
mov qword [rsp + 0x28], rax
lea rax, [0x1401a4838]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1879
lea rdx, [0x1401a4aa0]
mov ecx, 2
call fcn.1400dfd40
cmp eax, 1
jne 0x140069326
int3
mov rcx, qword [rsp + 0x60]
call fcn.1400e1a90
inc eax
mov eax, eax
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x40
pop rdi
ret
Function at 0x1400ddbe0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400dd6c0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400ddc1f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14019ba10]
jmp 0x1400ddc29
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140157e90
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1401695f0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400bfc20
sub rsp, rax
mov rax, qword [0x1402558e8]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x14025bc80]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1401697e2
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x140169736
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140169736
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14016971b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], SafeArrayDestroy
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1401696b8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1401697a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140169801
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x1401697dd
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140169801
jmp 0x14016968e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400bfb70
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140169820
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400bfc20
sub rsp, rax
mov rax, qword [0x1402558e8]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x14025bc80]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x140169a2d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x140169979
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x140169979
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x140169959
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, SafeArrayDestroy
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x1401698e8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1401699ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140169a4c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x140169a28
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140169a4c
jmp 0x1401698be
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400bfb70
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14016cd00
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.14016bfe0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14016cd67
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x14019ba18]
jmp 0x14016cd89
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14016d220
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret