joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14018db5a
Capabilities:
Query environment variable

Disassembly:
jmp 0x140488b10
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140488940
lea rcx, [rsp + 0x40]
call fcn.140488ac0
movzx eax, al
test eax, eax
jne 0x140488b58
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.140488970
mov rax, qword [rsp + 0x70]
jmp 0x140488d29
lea rcx, [rsp + 0x40]
call fcn.140488a90
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140488a30
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.140488a90
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.14018f93c
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140488bfe
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.140488970
mov rax, qword [rsp + 0x80]
jmp 0x140488d29
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.14018d470
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14018d0e2
lea rcx, [rsp + 0x48]
call fcn.14018c72d
movzx eax, al
test eax, eax
jne 0x140488c65
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.14018a595
lea rcx, [rsp + 0x40]
call fcn.140488970
mov rax, qword [rsp + 0x88]
jmp 0x140488d29
lea rcx, [rsp + 0x48]
call fcn.14018e3cf
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.140488a90
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.14018f93c
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140488cfb
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.14018a595
lea rcx, [rsp + 0x40]
call fcn.140488970
mov rax, qword [rsp + 0xa0]
jmp 0x140488d29
lea rcx, [rsp + 0x48]
call fcn.14018d079
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.14018a595
lea rcx, [rsp + 0x40]
call fcn.140488970
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x14018db87
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1403a6e50
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1403a6820
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1403a6e91
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 [0x1405dd020]
jmp 0x1403a6e97
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x14018dcdb
Capabilities:
Get geographical location

Disassembly:
jmp 0x14045f500
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.14045e430
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14045f567
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 [0x1405dd030]
jmp 0x14045f589
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14018c642
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 0x14018dd03
Capabilities:
Terminate process

Disassembly:
jmp 0x140383440
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 0x14018e311
Capabilities:
Print debug messages

Disassembly:
jmp 0x1404935e0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1405a8cc0]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x140493606
jmp 0x140493683
mov rcx, qword [rbp + 0x30]
call fcn.14018ce6c
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14049361f
jmp 0x140493683
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14049363c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14018a932
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.14018b378
test eax, eax
jne 0x140493683
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14018d2e5
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x14018e555
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1402fd920
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, [0x1405db5ce]
call fcn.140191bdd
nop
mov eax, 0x104
mov eax, eax
mov ecx, dword [0x1405b4dcc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1405b3f88], eax
jle 0x1402fd9b7
lea rcx, [0x1405b3f88]
call fcn.140190c3d
cmp dword [0x1405b3f88], 0xffffffff
jne 0x1402fd9b7
lea rdx, str.Click_to_bind
lea rcx, [0x1405b3f60]
call fcn.14018cf3e
nop
lea rcx, [0x1404bb7e0]
call fcn.14018c6a1
nop
lea rcx, [0x1405b3f88]
call fcn.140191066
nop
cvtsi2ss xmm0, dword [rbp + 0x1c8]
cvtsi2ss xmm1, dword [rbp + 0x1c0]
movaps xmm2, xmm0
lea rcx, [rbp + 0xe4]
call fcn.14018e7cb
mov qword [rbp + 0x178], rax
lea rcx, [0x1405b3f60]
call fcn.140189c8a
mov qword [rbp + 0x180], rax
mov rdx, qword [rbp + 0x178]
mov rcx, qword [rbp + 0x180]
call fcn.14018befe
movzx eax, al
test eax, eax
je 0x1402fda11
mov byte [0x1405b3f39], 1
movzx eax, byte [0x1405b3f39]
test eax, eax
je 0x1402fda9b
mov dword [rbp + 4], 1
jmp 0x1402fda2d
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x100
jge 0x1402fda82
mov ecx, dword [rbp + 4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1402fda80
cmp dword [rbp + 4], 0xc
je 0x1402fda80
cmp dword [rbp + 4], 0x1b
jne 0x1402fda61
mov dword [rbp + 0x174], 0
jmp 0x1402fda6a
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 [0x1405b3f39], 0
jmp 0x1402fda25
lea rdx, str.Press_a_key
lea rcx, [0x1405b3f60]
call fcn.14018950a
nop
jmp 0x1402fdb6a
movzx eax, byte [0x1405b3f39]
test eax, eax
jne 0x1402fdacb
mov rax, qword [rbp + 0x1b8]
cmp dword [rax], 0
jne 0x1402fdacb
lea rdx, str.Click_to_bind
lea rcx, [0x1405b3f60]
call fcn.14018950a
nop
jmp 0x1402fdb6a
movzx eax, byte [0x1405b3f39]
test eax, eax
jne 0x1402fdb6a
mov rax, qword [rbp + 0x1b8]
cmp dword [rax], 0
je 0x1402fdb6a
mov rax, qword [rbp + 0x1b8]
mov r8d, dword [rax]
lea rdx, [rbp + 0x108]
mov rcx, qword [rbp + 0x1b0]
call fcn.14018ee97
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.140191f6b
mov qword [rbp + 0x188], rax
mov rdx, qword [rbp + 0x188]
lea rcx, [0x1405b3f60]
call fcn.14018b558
lea rcx, [rbp + 0x148]
call fcn.14018a9aa
nop
lea rcx, [rbp + 0x108]
call fcn.14018a9aa
nop
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret
Function at 0x14018e8ac
Capabilities:
Get geographical location

Disassembly:
jmp 0x140305910
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 0x14030594d
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.140191b7e
add rsp, 0x58
ret

Function at 0x14018ea50
Capabilities:
Set environment variable

Disassembly:
jmp 0x14048ac70
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 0x14018ec8a
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401f7690
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, [0x1405db0d6]
call fcn.140191bdd
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, [0x1404c45c0]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1401f77d6
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 0x1401f772a
mov dword [rbp + 0x160], 1
jmp 0x1401f7734
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1401f77d1
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 0x1401f77ab
cmp qword [rbp + 0x198], 2
jb 0x1401f77ab
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401f77ab
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401f77ab
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 0x1401f76f5
jmp 0x1401f7870
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 0x1401f7870
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1401f7847
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401f7847
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401f7847
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 0x1401f77d6
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14018efe1
Capabilities:
Parse pe header

Disassembly:
jmp 0x140384cb0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140384cd0
xor al, al
jmp 0x140384d51
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140384ce3
xor al, al
jmp 0x140384d51
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 0x140384d0d
xor al, al
jmp 0x140384d51
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140384d21
xor al, al
jmp 0x140384d51
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140384d33
xor al, al
jmp 0x140384d51
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140384d4f
xor al, al
jmp 0x140384d51
mov al, 1
add rsp, 0x38
ret
Function at 0x14018fd9c
Capabilities:
Terminate process

Disassembly:
jmp 0x1403a7f10
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 0x1403a7f3e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140191183
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 0x1401906ed
Capabilities:
Create directory

Disassembly:
jmp 0x140308d40
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1405a8cc0]
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 0x140308d7d
mov byte [rsp + 0x24], 1
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x140308df2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb7
jne 0x140308de0
mov edx, 1
mov ecx, 2
call fcn.140189497
mov r9d, 0xffffffff
mov r8d, eax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.14018b797
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140308de0
mov edx, 0x10
mov ecx, dword [rsp + 0x48]
call fcn.14018a0ea
movzx eax, al
test eax, eax
jne 0x140308de0
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.14018d2e5
add rsp, 0x68
ret

Function at 0x14019110b
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401f7570
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, [0x1405db0d6]
call fcn.140191bdd
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, [0x1404c45c0]
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 0x1401f75f0
mov dword [rbp + 0x120], 1
jmp 0x1401f75fa
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x1401f7643
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 0x1401f75bb
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x140191250
Capabilities:
Print debug messages

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

Disassembly:
jmp 0x1403a6f90
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1403a68e0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1403a6fd9
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 [0x1405dd020]
jmp 0x1403a6fe8
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x140191633
Capabilities:
Get graphical window text

Disassembly:
jmp 0x140301580
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 [0x1405a8cc0]
xor rax, rbp
mov qword [rbp + 0x3d8], rax
mov dword [rbp + 0x3c4], 0
lea rcx, [0x1405db609]
call fcn.140191bdd
nop
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140301609
mov rcx, qword [rbp + 0x400]
call fcn.14018fbc1
mov eax, dword [rbp + 0x3c4]
or eax, 1
mov dword [rbp + 0x3c4], eax
mov rax, qword [rbp + 0x400]
jmp 0x140301644
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.14018bef9
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, [0x140535110]
call fcn.14019033c
mov rax, rdi
mov rcx, qword [rbp + 0x3d8]
xor rcx, rbp
call fcn.14018d2e5
lea rsp, [rbp + 0x3e8]
pop rdi
pop rbp
ret
Function at 0x140191ade
Capabilities:
Create thread

Disassembly:
jmp 0x140436150
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 0x14043617c
mov dword [rsp + 0x30], 1
jmp 0x140436184
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1404361cd
lea rax, str.procedure___nullptr
mov qword [rsp + 0x28], rax
lea rax, [0x14053a470]
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.140189faf
cmp eax, 1
jne 0x1404361cd
int3
cmp dword [rsp + 0x34], 0
jne 0x14043620f
call fcn.14018c20a
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.14019077e
xor eax, eax
jmp 0x14043630f
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.140435c40
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140435a40
lea rcx, [rsp + 0x40]
call fcn.140435ab0
movzx eax, al
test eax, eax
jne 0x14043625f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
call fcn.140435a90
mov rax, qword [rsp + 0x50]
jmp 0x14043630f
lea rcx, [rsp + 0x40]
call fcn.140435df0
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, [0x1404357f0]
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 0x1404362d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14018b8aa
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x40]
call fcn.140435a90
mov rax, qword [rsp + 0x58]
jmp 0x14043630f
cmp qword [rsp + 0xa8], 0
je 0x1404362ec
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
lea rcx, [rsp + 0x40]
call fcn.140435db0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
call fcn.140435a90
mov rax, qword [rsp + 0x60]
add rsp, 0x78
ret

Function at 0x1401925d8
Capabilities:
Move file

Disassembly:
jmp 0x14030a4e0
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 0x14030a50c
xor eax, eax
jmp 0x14030a512
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x28
ret
Function at 0x14046ae00
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.14018a932
sub rsp, rax
mov rax, qword [0x1405a8cc0]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1405b6810]
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 0x14046aff2
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 0x14046af46
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14046af46
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 0x14046af2b
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 0x14046aec8
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 0x14046afb2
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 0x14046b011
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 0x14046afed
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 0x14046b011
jmp 0x14046ae9e
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.14018d2e5
add rsp, 0x1498
pop rdi
pop rsi
ret