joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140188713
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140397790
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140397110
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1403977cf
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 [0x1405ce020]
jmp 0x1403977d9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140188b46
Capabilities:
Query environment variable

Disassembly:
jmp 0x140479380
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1404791b0
lea rcx, [rsp + 0x40]
call fcn.140479330
movzx eax, al
test eax, eax
jne 0x1404793c8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1404791e0
mov rax, qword [rsp + 0x70]
jmp 0x140479599
lea rcx, [rsp + 0x40]
call fcn.140479300
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1404792a0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.140479300
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.14018a919
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14047946e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1404791e0
mov rax, qword [rsp + 0x80]
jmp 0x140479599
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.140188457
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1401880d8
lea rcx, [rsp + 0x48]
call fcn.140187714
movzx eax, al
test eax, eax
jne 0x1404794d5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.140185590
lea rcx, [rsp + 0x40]
call fcn.1404791e0
mov rax, qword [rsp + 0x88]
jmp 0x140479599
lea rcx, [rsp + 0x48]
call fcn.1401893b1
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.140479300
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.14018a919
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14047956b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.140185590
lea rcx, [rsp + 0x40]
call fcn.1404791e0
mov rax, qword [rsp + 0xa0]
jmp 0x140479599
lea rcx, [rsp + 0x48]
call fcn.14018806f
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.140185590
lea rcx, [rsp + 0x40]
call fcn.1404791e0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x140188b73
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1403976c0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140397090
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140397701
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1405ce020]
jmp 0x140397707
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x140188cc7
Capabilities:
Get geographical location

Disassembly:
jmp 0x14044fd70
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.14044eca0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14044fdd7
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 [0x1405ce030]
jmp 0x14044fdf9
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.140187629
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 0x140188cef
Capabilities:
Terminate process

Disassembly:
jmp 0x140373cb0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x1401892f3
Capabilities:
Print debug messages

Disassembly:
jmp 0x140483e50
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140599cc0]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x140483e76
jmp 0x140483ef3
mov rcx, qword [rbp + 0x30]
call fcn.140187e5d
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x140483e8f
jmp 0x140483ef3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x140483eac
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140185923
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140186369
test eax, eax
jne 0x140483ef3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1401882d6
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x140189537
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1402f8830
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x20]
lea rcx, [0x1405cc5c4]
call fcn.14018cbbf
nop
mov eax, 0x104
mov eax, eax
mov ecx, dword [0x1405a5d9c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1405a4f88], eax
jle 0x1402f88c7
lea rcx, [0x1405a4f88]
call fcn.14018bc1f
cmp dword [0x1405a4f88], 0xffffffff
jne 0x1402f88c7
lea rdx, str.Click_to_bind
lea rcx, [0x1405a4f60]
call fcn.140187f34
nop
lea rcx, [0x1404abf20]
call fcn.140187688
nop
lea rcx, [0x1405a4f88]
call fcn.14018c048
nop
cvtsi2ss xmm0, dword [rbp + 0x1c8]
cvtsi2ss xmm1, dword [rbp + 0x1c0]
movaps xmm2, xmm0
lea rcx, [rbp + 0xe4]
call fcn.1401897ad
mov qword [rbp + 0x178], rax
lea rcx, [0x1405a4f60]
call fcn.140184c85
mov qword [rbp + 0x180], rax
mov rdx, qword [rbp + 0x178]
mov rcx, qword [rbp + 0x180]
call fcn.140186ef4
movzx eax, al
test eax, eax
je 0x1402f8921
mov byte [0x1405a4f39], 1
movzx eax, byte [0x1405a4f39]
test eax, eax
je 0x1402f89ab
mov dword [rbp + 4], 1
jmp 0x1402f893d
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x100
jge 0x1402f8992
mov ecx, dword [rbp + 4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1402f8990
cmp dword [rbp + 4], 0xc
je 0x1402f8990
cmp dword [rbp + 4], 0x1b
jne 0x1402f8971
mov dword [rbp + 0x174], 0
jmp 0x1402f897a
mov eax, dword [rbp + 4]
mov dword [rbp + 0x174], eax
mov rax, qword [rbp + 0x1b8]
mov ecx, dword [rbp + 0x174]
mov dword [rax], ecx
mov byte [0x1405a4f39], 0
jmp 0x1402f8935
lea rdx, str.Press_a_key
lea rcx, [0x1405a4f60]
call fcn.14018450a
nop
jmp 0x1402f8a7a
movzx eax, byte [0x1405a4f39]
test eax, eax
jne 0x1402f89db
mov rax, qword [rbp + 0x1b8]
cmp dword [rax], 0
jne 0x1402f89db
lea rdx, str.Click_to_bind
lea rcx, [0x1405a4f60]
call fcn.14018450a
nop
jmp 0x1402f8a7a
movzx eax, byte [0x1405a4f39]
test eax, eax
jne 0x1402f8a7a
mov rax, qword [rbp + 0x1b8]
cmp dword [rax], 0
je 0x1402f8a7a
mov rax, qword [rbp + 0x1b8]
mov r8d, dword [rax]
lea rdx, [rbp + 0x108]
mov rcx, qword [rbp + 0x1b0]
call fcn.140189e7e
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x178]
mov qword [rbp + 0x180], rax
mov r8, qword [rbp + 0x180]
lea rdx, str.Bound_to
lea rcx, [rbp + 0x148]
call fcn.14018cf48
mov qword [rbp + 0x188], rax
mov rdx, qword [rbp + 0x188]
lea rcx, [0x1405a4f60]
call fcn.14018654e
lea rcx, [rbp + 0x148]
call fcn.14018599b
nop
lea rcx, [rbp + 0x108]
call fcn.14018599b
nop
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret
Function at 0x140189893
Capabilities:
Get geographical location

Disassembly:
jmp 0x140300a80
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x140300abd
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14018cb65
add rsp, 0x58
ret

Function at 0x140189a37
Capabilities:
Set environment variable

Disassembly:
jmp 0x14047b4e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x140189c6c
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401f25f0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x1405cc0d2]
call fcn.14018cbbf
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x1404b5400]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1401f2736
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1401f268a
mov dword [rbp + 0x160], 1
jmp 0x1401f2694
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1401f2731
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x1401f270b
cmp qword [rbp + 0x198], 2
jb 0x1401f270b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401f270b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401f270b
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1401f2655
jmp 0x1401f27d0
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1401f27d0
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1401f27a7
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401f27a7
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401f27a7
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1401f2736
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140189fc8
Capabilities:
Parse pe header

Disassembly:
jmp 0x140375520
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140375540
xor al, al
jmp 0x1403755c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140375553
xor al, al
jmp 0x1403755c1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14037557d
xor al, al
jmp 0x1403755c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140375591
xor al, al
jmp 0x1403755c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1403755a3
xor al, al
jmp 0x1403755c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1403755bf
xor al, al
jmp 0x1403755c1
mov al, 1
add rsp, 0x38
ret
Function at 0x14018ad7e
Capabilities:
Terminate process

Disassembly:
jmp 0x140398780
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1403987ae
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.14018c16f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14018b6d4
Capabilities:
Create directory

Disassembly:
jmp 0x140303eb0
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140599cc0]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140303eed
mov byte [rsp + 0x24], 1
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x140303f62
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb7
jne 0x140303f50
mov edx, 1
mov ecx, 2
call fcn.140184497
mov r9d, 0xffffffff
mov r8d, eax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.140186788
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140303f50
mov edx, 0x10
mov ecx, dword [rsp + 0x48]
call fcn.1401850e5
movzx eax, al
test eax, eax
jne 0x140303f50
mov dword [rsp + 0x20], 0xb7
mov byte [rsp + 0x2c], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401882d6
add rsp, 0x68
ret

Function at 0x14018c0ed
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401f24d0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x1405cc0d2]
call fcn.14018cbbf
nop
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x1404b5400]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x1401f2550
mov dword [rbp + 0x120], 1
jmp 0x1401f255a
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x1401f25a3
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x1401f251b
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x14018c23c
Capabilities:
Print debug messages

Disassembly:
jmp 0x14044d3c0
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 0x14018c499
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140397800
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140397150
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140397849
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1405ce020]
jmp 0x140397858
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x14018c61a
Capabilities:
Get graphical window text

Disassembly:
jmp 0x1402fc1c0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x408
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, ILFree
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x428]
mov rax, qword [0x140599cc0]
xor rax, rbp
mov qword [rbp + 0x3d8], rax
mov dword [rbp + 0x3c4], 0
lea rcx, [0x1405cc5ff]
call fcn.14018cbbf
nop
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1402fc249
mov rcx, qword [rbp + 0x400]
call fcn.14018aba3
mov eax, dword [rbp + 0x3c4]
or eax, 1
mov dword [rbp + 0x3c4], eax
mov rax, qword [rbp + 0x400]
jmp 0x1402fc284
mov r8d, 0x80
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
nop
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x400]
call fcn.140186eef
mov eax, dword [rbp + 0x3c4]
or eax, 1
mov dword [rbp + 0x3c4], eax
mov rax, qword [rbp + 0x400]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140525ea0]
call fcn.14018b31e
mov rax, rdi
mov rcx, qword [rbp + 0x3d8]
xor rcx, rbp
call fcn.1401882d6
lea rsp, [rbp + 0x3e8]
pop rdi
pop rbp
ret
Function at 0x14018cac5
Capabilities:
Create thread

Disassembly:
jmp 0x1404269c0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
cmp qword [rsp + 0x90], 0
je 0x1404269ec
mov dword [rsp + 0x30], 1
jmp 0x1404269f4
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x140426a3d
lea rax, str.procedure___nullptr
mov qword [rsp + 0x28], rax
lea rax, [0x14052b0a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0xc8
lea rdx, str.minkernelcrtsucrt_src_appcrt_startup_thread.cpp
mov ecx, 2
call fcn.140184fa5
cmp eax, 1
jne 0x140426a3d
int3
cmp dword [rsp + 0x34], 0
jne 0x140426a7f
call fcn.1401871f1
mov dword [rax], 0x16
mov qword [rsp + 0x20], 0
mov r9d, 0xc8
lea r8, str.minkernelcrtsucrt_src_appcrt_startup_thread.cpp
lea rdx, str._beginthreadex
lea rcx, str.procedure___nullptr
call fcn.14018b765
xor eax, eax
jmp 0x140426b7f
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.1404264b0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1404262b0
lea rcx, [rsp + 0x40]
call fcn.140426320
movzx eax, al
test eax, eax
jne 0x140426acf
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
call fcn.140426300
mov rax, qword [rsp + 0x50]
jmp 0x140426b7f
lea rcx, [rsp + 0x40]
call fcn.140426660
mov ecx, dword [rsp + 0x88]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
mov edx, dword [rsp + 0xa0]
mov dword [rsp + 0x20], edx
mov r9, rax
lea r8, [0x140426060]
mov edx, ecx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140426b43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140186896
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x40]
call fcn.140426300
mov rax, qword [rsp + 0x58]
jmp 0x140426b7f
cmp qword [rsp + 0xa8], 0
je 0x140426b5c
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
lea rcx, [rsp + 0x40]
call fcn.140426620
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
call fcn.140426300
mov rax, qword [rsp + 0x60]
add rsp, 0x78
ret

Function at 0x14018d5ba
Capabilities:
Move file

Disassembly:
jmp 0x140305650
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, 3
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x14030567c
xor eax, eax
jmp 0x140305682
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x28
ret
Function at 0x14045b670
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.140185923
sub rsp, rax
mov rax, qword [0x140599cc0]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1405a77e0]
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, 0xc
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 0x14045b862
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 0x14045b7b6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14045b7b6
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 0x14045b79b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
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 0x14045b738
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 0x14045b822
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, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14045b881
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 0x14045b85d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14045b881
jmp 0x14045b70e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1401882d6
add rsp, 0x1498
pop rdi
pop rsi
ret