joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002f540
Capabilities:
Copy file

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
call fcn.14000f390
test rax, rax
jne 0x14002f586
mov rcx, qword [rsp + 0x48]
call fcn.14000f390
test rax, rax
je 0x14002f58d
xor eax, eax
jmp 0x14002f684
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 1
je 0x14002f5ac
cmp dword [rsp + 0x24], 2
je 0x14002f5cf
cmp dword [rsp + 0x24], 3
je 0x14002f5c5
jmp 0x14002f5ed
mov rcx, qword [rsp + 0x48]
call fcn.14002ee60
test rax, rax
je 0x14002f5c5
mov eax, 1
jmp 0x14002f684
mov dword [rsp + 0x20], 1
jmp 0x14002f635
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.14002f440
test rax, rax
je 0x14002f5ed
mov eax, 1
jmp 0x14002f684
cmp dword [rsp + 0x50], 0
je 0x14002f606
cmp dword [rsp + 0x50], 2
je 0x14002f606
mov qword [rsp + 0x28], 0
jmp 0x14002f60f
mov qword [rsp + 0x28], 1
mov r9d, 0x6d1
lea r8, [0x140150e70]
lea rdx, str.enOverrideMode__FCOM_OVERRIDE__enOverrideMode__FCOM_FAST
mov rcx, qword [rsp + 0x28]
call fcn.14000f120
mov dword [rsp + 0x20], 0
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.14007e900
test eax, eax
jne 0x14002f66d
mov rcx, qword [rsp + 0x40]
call fcn.14002ee60
test rax, rax
jne 0x14002f666
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14002f684
mov eax, 1
jmp 0x14002f684
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cdqe
add rsp, 0x30
pop rdi
ret
Function at 0x140030730
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov rdi, rsp
mov ecx, 0x5c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x180]
mov qword [rsp + 0x168], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x180]
call fcn.14000ed40
mov r9d, 0x872
lea r8, [0x140151ed0]
lea rdx, str.IsValidString__szCommandLine_
mov rcx, rax
call fcn.14000f120
mov rcx, qword [rsp + 0x180]
call fcn.14000f390
test rax, rax
je 0x1400307ac
xor eax, eax
jmp 0x140030903
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140060770
mov dword [rsp + 0x60], 0x68
cmp qword [rsp + 0x190], 0
jl 0x1400307f2
mov eax, dword [rsp + 0x9c]
or eax, 1
mov dword [rsp + 0x9c], eax
movzx eax, word [rsp + 0x190]
mov word [rsp + 0xa0], ax
lea rcx, [rsp + 0x118]
call fcn.14003b920
nop
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x118]
call fcn.14003d380
lea rcx, [rsp + 0x118]
call fcn.140002680
lea rcx, [rsp + 0xe8]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140030893
mov qword [rsp + 0x158], 0
lea rcx, [rsp + 0x118]
call fcn.140001df0
mov rax, qword [rsp + 0x158]
jmp 0x140030903
cmp qword [rsp + 0x188], 0
je 0x1400308b3
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1400308c6
mov edx, 0x1f4
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x160], 1
lea rcx, [rsp + 0x118]
call fcn.140001df0
mov rax, qword [rsp + 0x160]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140157d80]
call fcn.14005d920
mov rax, rdi
add rsp, 0x170
pop rdi
ret
Function at 0x140030c00
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov rdi, rsp
mov ecx, 0x5c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x180]
mov qword [rsp + 0x138], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x180]
call fcn.14000ed40
mov r9d, 0x8a6
lea r8, [0x140152070]
lea rdx, [0x1401520c8]
mov rcx, rax
call fcn.14000f120
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.14000dbe0
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov r8, qword [rsp + 0x148]
lea rdx, str.__select___
lea rcx, [rsp + 0x88]
call fcn.140051020
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
lea r8, [0x14014fb68]
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0xe0]
call fcn.140050ed0
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x168]
call fcn.14004a960
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, str.explorer.exe
lea rdx, [0x140152108]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rsp + 0xe0]
call fcn.140001eb0
nop
lea rcx, [rsp + 0x88]
call fcn.140001eb0
nop
lea rcx, [rsp + 0x30]
call fcn.140001eb0
add rsp, 0x170
pop rdi
ret

Function at 0x140031180
Capabilities:
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x48]
mov edi, eax
mov rcx, rsp
lea rdx, [0x140158070]
call fcn.14005d920
mov eax, edi
add rsp, 0x70
pop rdi
ret
Function at 0x140032820
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov rdi, rsp
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa0]
call fcn.14000ed40
mov r9d, 0xa16
lea r8, [0x140152bd0]
lea rdx, [0x140152c28]
mov rcx, rax
call fcn.14000f120
mov rcx, qword [rsp + 0xa8]
call fcn.14000ed40
mov r9d, 0xa17
lea r8, [0x140152c90]
lea rdx, [0x1401503b8]
mov rcx, rax
call fcn.14000f120
mov edx, 1
mov rcx, qword [rsp + 0xb0]
call fcn.140038c30
mov r9d, 0xa18
lea r8, [0x140152d60]
lea rdx, [0x140150498]
mov rcx, rax
call fcn.14000f120
mov rcx, qword [rsp + 0xa0]
call fcn.14000f390
test rax, rax
jne 0x1400328fd
mov rcx, qword [rsp + 0xa8]
call fcn.14000f390
test rax, rax
jne 0x1400328fd
mov qword [rsp + 0x78], 1
jmp 0x140032906
mov qword [rsp + 0x78], 0
mov r9d, 0xa19
lea r8, [0x140152dc0]
lea rdx, [0x140152e70]
mov rcx, qword [rsp + 0x78]
call fcn.14000f120
mov rcx, qword [rsp + 0xb0]
call fcn.140012df0
mov rcx, qword [rsp + 0xa0]
call fcn.140037e30
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140032952
xor eax, eax
jmp 0x140032a46
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x140032a12
cmp dword [rsp + 0x44], 3
jne 0x1400329a4
mov qword [rsp + 0x80], 1
jmp 0x1400329b0
mov qword [rsp + 0x80], 0
mov r9d, 0xa25
lea r8, [0x140152f50]
lea rdx, str.dwType__REG_BINARY
mov rcx, qword [rsp + 0x80]
call fcn.14000f120
mov eax, dword [rsp + 0x64]
mov edx, eax
mov rcx, qword [rsp + 0xb0]
call fcn.14003c010
lea rcx, [rsp + 0x64]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x74], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x74], 0
jne 0x140032a32
mov qword [rsp + 0x88], 1
jmp 0x140032a3e
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0x88]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.14005d920
mov rax, rdi
add rsp, 0x90
pop rdi
ret
Function at 0x140034150
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x1b0
mov rdi, rsp
mov ecx, 0x6c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov qword [rsp + 0x170], 0xfffffffffffffffe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x400
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
lea rcx, [rsp + 0x68]
call fcn.140001d70
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov r9, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x40]
lea rdx, str.LastError__u_:__s
mov rcx, qword [rsp + 0x180]
call fcn.14004eeb0
mov r8, rax
lea rdx, [0x1401508d8]
lea rcx, [rsp + 0xc0]
call fcn.140051020
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
lea r8, [0x1401507f8]
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x118]
call fcn.140050ed0
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
mov rcx, qword [rsp + 0x1a0]
call fcn.14004a960
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rsp + 0x118]
call fcn.140001eb0
nop
lea rcx, [rsp + 0xc0]
call fcn.140001eb0
nop
lea rcx, [rsp + 0x68]
call fcn.140001eb0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsp
lea rdx, [0x140158c60]
call fcn.14005d920
add rsp, 0x1b0
pop rdi
ret

Function at 0x140034980
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x140
mov rdi, rsp
mov ecx, 0x50
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x150]
mov qword [rsp + 0x120], 0xfffffffffffffffe
lea rax, [rsp + 0x170]
mov qword [rsp + 0x38], rax
lea rdx, [0x140151c58]
lea rcx, [rsp + 0x60]
call fcn.14000dbe0
nop
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x168]
mov r8, qword [rsp + 0x160]
mov edx, dword [rsp + 0x158]
mov rcx, qword [rsp + 0x150]
call fcn.140034ca0
lea rcx, [rsp + 0x60]
call fcn.14004a9f0
cmp rax, 0x3fff
jle 0x140034a7d
mov r8d, 0x3fff
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x60]
call fcn.14004d910
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x130]
call fcn.14004a960
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rsp + 0xc8]
call fcn.140001eb0
jmp 0x140034a90
lea rcx, [rsp + 0x60]
call fcn.14004a960
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x60]
call fcn.140001eb0
mov rcx, rsp
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.14005d920
add rsp, 0x140
pop rdi
ret
Function at 0x140037a00
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x160
mov rdi, rsp
mov ecx, 0x58
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x170]
mov qword [rsp + 0x128], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x170]
call fcn.14000ed40
mov r9d, 0x77c
lea r8, [0x1401515e0]
lea rdx, str.IsValidString__szKeyName_
mov rcx, rax
call fcn.14000f120
mov rcx, qword [rsp + 0x178]
call fcn.14000ed40
mov r9d, 0x77d
lea r8, [0x1401516e0]
lea rdx, str.IsValidString__szKeyValue_
mov rcx, rax
call fcn.14000f120
mov rcx, qword [rsp + 0x170]
call fcn.14000f390
test rax, rax
jne 0x140037ab9
mov rcx, qword [rsp + 0x178]
call fcn.14000f390
test rax, rax
jne 0x140037ab9
mov qword [rsp + 0x130], 1
jmp 0x140037ac5
mov qword [rsp + 0x130], 0
mov r9d, 0x77f
lea r8, [0x140151750]
lea rdx, str.IsEmptyStr__szKeyName___FALSE__IsEmptyStr__szKeyValue___FALSE
mov rcx, qword [rsp + 0x130]
call fcn.14000f120
mov rcx, qword [rsp + 0x178]
call fcn.14007e520
lea rax, [rax + rax + 2]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x170]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140037b83
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14014f534]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x78]
call fcn.14000dbe0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov r8, qword [rsp + 0x170]
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0xd0]
call fcn.140050ed0
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
mov rcx, qword [rsp + 0x150]
call fcn.14004a960
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140037c41
mov dword [rsp + 0x158], 1
jmp 0x140037c4c
mov dword [rsp + 0x158], 0
movzx eax, byte [rsp + 0x158]
mov byte [rsp + 0x74], al
lea rcx, [rsp + 0xd0]
call fcn.140001eb0
nop
lea rcx, [rsp + 0x78]
call fcn.140001eb0
movzx eax, byte [rsp + 0x74]
test eax, eax
je 0x140037cb4
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14014fa88]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rsp
lea rdx, [0x140159738]
call fcn.14005d920
add rsp, 0x160
pop rdi
ret
Function at 0x14003e820
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, 0x40
mov rdi, rsp
mov ecx, SafeArrayGetLBound
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
cmp qword [rsp + 0x60], 0xffffffffffffffff
jl 0x14003e85b
mov qword [rsp + 0x38], 1
jmp 0x14003e864
mov qword [rsp + 0x38], 0
mov r9d, 0x1fe
lea r8, [0x14015ff40]
lea rdx, str.npReadDataSize____1
mov rcx, qword [rsp + 0x38]
call fcn.14000f120
mov rcx, qword [rsp + 0x58]
call fcn.14000ed40
mov r9d, 0x1ff
lea r8, [0x14015ff90]
lea rdx, [0x14015ffe0]
mov rcx, rax
call fcn.14000f120
mov rcx, qword [rsp + 0x58]
call fcn.14000f390
test rax, rax
je 0x14003e8c3
mov rax, 0xffffffffffffffff
jmp 0x14003e9ad
mov qword [rsp + 0x20], 0xffffffffffffffff
lea rdx, [0x14015f404]
mov rcx, qword [rsp + 0x58]
call fcn.14008b9e0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14003e99e
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x14003e928
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1400cc880
mov rcx, qword [rsp + 0x28]
call fcn.1400d0bb0
cdqe
mov qword [rsp + 0x60], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1400cc880
cmp qword [rsp + 0x60], 0
jle 0x14003e98b
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call fcn.14003c010
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x60]
mov edx, 1
mov rcx, rax
call fcn.1400cbc60
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x28]
call fcn.1400cfa80
test eax, eax
jne 0x14003e989
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.14003c190
mov rcx, qword [rsp + 0x28]
call fcn.1400cb160
mov rax, qword [rsp + 0x30]
jmp 0x14003e9ad
jmp 0x14003e994
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x28]
call fcn.1400cb160
mov rcx, qword [rsp + 0x50]
call fcn.14003c390
mov rax, qword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret

Function at 0x14003fe00
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.14003fe80
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003fe64
mov r9d, 0xc8
lea r8, [0x140163630]
lea rdx, [0x140163084]
xor ecx, ecx
call fcn.14000f120
mov ecx, 0xffffffff
call fcn.14007c750
mov rax, qword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x1400400b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.140040130
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14004011e
mov r9d, 0xd4
lea r8, [0x1401636a0]
lea rdx, [0x140163304]
xor ecx, ecx
call fcn.14000f120
mov ecx, 0xffffffff
call fcn.14007c750
mov rax, qword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x140040ef0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
cmp qword [rsp + 0x40], 0
jle 0x140040f21
mov qword [rsp + 0x28], 1
jmp 0x140040f2a
mov qword [rsp + 0x28], 0
mov r9d, 0x38
lea r8, [0x140162f20]
lea rdx, [0x140162f78]
mov rcx, qword [rsp + 0x28]
call fcn.14000f120
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 0x140040f90
mov r9d, 0x41
lea r8, [0x140162f90]
lea rdx, [0x140162f84]
xor ecx, ecx
call fcn.14000f120
mov ecx, 0xffffffff
call fcn.14007c750
lea rax, [0x1401bd460]
lock inc qword [rax]
mov rax, qword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x1400f0890
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 0x1400f73d0
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.1400f6680
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400f7437
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 [0x1401319a8]
jmp 0x1400f7459
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400f7960
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
Function at 0x140104020
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.14005de10
sub rsp, rax
mov rax, qword [0x1401bb8b8]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1401bebd0]
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 0x140104212
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 0x140104166
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140104166
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 0x14010414b
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 0x1401040e8
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 0x1401041d2
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 0x140104231
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 0x14010420d
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 0x140104231
jmp 0x1401040be
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.14005db80
add rsp, 0x1498
pop rdi
pop rsi
ret