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

Disassembly:
jmp 0x1404887e0
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140488610
lea rcx, [rsp + 0x40]
call fcn.140488790
movzx eax, al
test eax, eax
jne 0x140488828
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.140488640
mov rax, qword [rsp + 0x70]
jmp 0x1404889f9
lea rcx, [rsp + 0x40]
call fcn.140488760
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140488700
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.140488760
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.14018f92d
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1404888ce
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.140488640
mov rax, qword [rsp + 0x80]
jmp 0x1404889f9
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.14018d461
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14018d0d8
lea rcx, [rsp + 0x48]
call fcn.14018c728
movzx eax, al
test eax, eax
jne 0x140488935
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.14018a595
lea rcx, [rsp + 0x40]
call fcn.140488640
mov rax, qword [rsp + 0x88]
jmp 0x1404889f9
lea rcx, [rsp + 0x48]
call fcn.14018e3c0
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.140488760
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.14018f92d
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1404889cb
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.14018a595
lea rcx, [rsp + 0x40]
call fcn.140488640
mov rax, qword [rsp + 0xa0]
jmp 0x1404889f9
lea rcx, [rsp + 0x48]
call fcn.14018d06f
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.14018a595
lea rcx, [rsp + 0x40]
call fcn.140488640
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x14018db73
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1403a6b20
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1403a64f0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1403a6b61
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 0x1403a6b67
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x14018dcc7
Capabilities:
Get geographical location

Disassembly:
jmp 0x14045f1d0
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.14045e100
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14045f237
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 0x14045f259
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14018c63d
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 0x14018dcef
Capabilities:
Terminate process

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

Disassembly:
jmp 0x1404932b0
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 0x1404932d6
jmp 0x140493353
mov rcx, qword [rbp + 0x30]
call fcn.14018ce62
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1404932ef
jmp 0x140493353
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14049330c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14018a92d
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.14018b373
test eax, eax
jne 0x140493353
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14018d2db
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x14018e546
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1402fd930
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.140191bce
nop
mov eax, 0x104
mov eax, eax
mov ecx, dword [0x1405b4d9c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1405b3f88], eax
jle 0x1402fd9c7
lea rcx, [0x1405b3f88]
call fcn.140190c2e
cmp dword [0x1405b3f88], 0xffffffff
jne 0x1402fd9c7
lea rdx, str.Click_to_bind
lea rcx, [0x1405b3f60]
call fcn.14018cf34
nop
lea rcx, [0x1404bb420]
call fcn.14018c69c
nop
lea rcx, [0x1405b3f88]
call fcn.140191057
nop
cvtsi2ss xmm0, dword [rbp + 0x1c8]
cvtsi2ss xmm1, dword [rbp + 0x1c0]
movaps xmm2, xmm0
lea rcx, [rbp + 0xe4]
call fcn.14018e7bc
mov qword [rbp + 0x178], rax
lea rcx, [0x1405b3f60]
call fcn.140189c85
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 0x1402fda21
mov byte [0x1405b3f39], 1
movzx eax, byte [0x1405b3f39]
test eax, eax
je 0x1402fdaab
mov dword [rbp + 4], 1
jmp 0x1402fda3d
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x100
jge 0x1402fda92
mov ecx, dword [rbp + 4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1402fda90
cmp dword [rbp + 4], 0xc
je 0x1402fda90
cmp dword [rbp + 4], 0x1b
jne 0x1402fda71
mov dword [rbp + 0x174], 0
jmp 0x1402fda7a
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 0x1402fda35
lea rdx, str.Press_a_key
lea rcx, [0x1405b3f60]
call fcn.140189505
nop
jmp 0x1402fdb7a
movzx eax, byte [0x1405b3f39]
test eax, eax
jne 0x1402fdadb
mov rax, qword [rbp + 0x1b8]
cmp dword [rax], 0
jne 0x1402fdadb
lea rdx, str.Click_to_bind
lea rcx, [0x1405b3f60]
call fcn.140189505
nop
jmp 0x1402fdb7a
movzx eax, byte [0x1405b3f39]
test eax, eax
jne 0x1402fdb7a
mov rax, qword [rbp + 0x1b8]
cmp dword [rax], 0
je 0x1402fdb7a
mov rax, qword [rbp + 0x1b8]
mov r8d, dword [rax]
lea rdx, [rbp + 0x108]
mov rcx, qword [rbp + 0x1b0]
call fcn.14018ee88
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.140191f5c
mov qword [rbp + 0x188], rax
mov rdx, qword [rbp + 0x188]
lea rcx, [0x1405b3f60]
call fcn.14018b553
lea rcx, [rbp + 0x148]
call fcn.14018a9a5
nop
lea rcx, [rbp + 0x108]
call fcn.14018a9a5
nop
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret
Function at 0x14018e89d
Capabilities:
Get geographical location

Disassembly:
jmp 0x140305bb0
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 0x140305bed
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.140191b74
add rsp, 0x58
ret

Function at 0x14018ea41
Capabilities:
Set environment variable

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

Disassembly:
jmp 0x1401f76f0
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.140191bce
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, [0x1404c4340]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1401f7836
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 0x1401f778a
mov dword [rbp + 0x160], 1
jmp 0x1401f7794
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1401f7831
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 0x1401f780b
cmp qword [rbp + 0x198], 2
jb 0x1401f780b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401f780b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401f780b
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 0x1401f7755
jmp 0x1401f78d0
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 0x1401f78d0
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1401f78a7
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401f78a7
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401f78a7
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 0x1401f7836
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14018efd2
Capabilities:
Parse pe header

Disassembly:
jmp 0x140384980
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1403849a0
xor al, al
jmp 0x140384a21
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1403849b3
xor al, al
jmp 0x140384a21
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 0x1403849dd
xor al, al
jmp 0x140384a21
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1403849f1
xor al, al
jmp 0x140384a21
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140384a03
xor al, al
jmp 0x140384a21
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140384a1f
xor al, al
jmp 0x140384a21
mov al, 1
add rsp, 0x38
ret
Function at 0x14018fd8d
Capabilities:
Terminate process

Disassembly:
jmp 0x1403a7be0
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 0x1403a7c0e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.14019117e
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 0x1401906de
Capabilities:
Create directory

Disassembly:
jmp 0x140308fe0
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 0x14030901d
mov byte [rsp + 0x24], 1
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x140309092
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb7
jne 0x140309080
mov edx, 1
mov ecx, 2
call fcn.140189492
mov r9d, 0xffffffff
mov r8d, eax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.14018b792
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140309080
mov edx, 0x10
mov ecx, dword [rsp + 0x48]
call fcn.14018a0ea
movzx eax, al
test eax, eax
jne 0x140309080
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.14018d2db
add rsp, 0x68
ret

Function at 0x1401910fc
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401f75d0
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.140191bce
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, [0x1404c4340]
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 0x1401f7650
mov dword [rbp + 0x120], 1
jmp 0x1401f765a
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x1401f76a3
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 0x1401f761b
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x14019124b
Capabilities:
Print debug messages

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

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

Function at 0x140191629
Capabilities:
Get graphical window text

Disassembly:
jmp 0x1403012c0
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, [0x1405db60a]
call fcn.140191bce
nop
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140301349
mov rcx, qword [rbp + 0x400]
call fcn.14018fbb2
mov eax, dword [rbp + 0x3c4]
or eax, 1
mov dword [rbp + 0x3c4], eax
mov rax, qword [rbp + 0x400]
jmp 0x140301384
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, [0x140534fb0]
call fcn.140190332
mov rax, rdi
mov rcx, qword [rbp + 0x3d8]
xor rcx, rbp
call fcn.14018d2db
lea rsp, [rbp + 0x3e8]
pop rdi
pop rbp
ret
Function at 0x140191ad4
Capabilities:
Create thread

Disassembly:
jmp 0x140435e20
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 0x140435e4c
mov dword [rsp + 0x30], 1
jmp 0x140435e54
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x140435e9d
lea rax, str.procedure___nullptr
mov qword [rsp + 0x28], rax
lea rax, [0x14053a1b0]
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.140189faa
cmp eax, 1
jne 0x140435e9d
int3
cmp dword [rsp + 0x34], 0
jne 0x140435edf
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.14019076f
xor eax, eax
jmp 0x140435fdf
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.140435910
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140435710
lea rcx, [rsp + 0x40]
call fcn.140435780
movzx eax, al
test eax, eax
jne 0x140435f2f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
call fcn.140435760
mov rax, qword [rsp + 0x50]
jmp 0x140435fdf
lea rcx, [rsp + 0x40]
call fcn.140435ac0
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, [0x1404354c0]
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 0x140435fa3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14018b8a5
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x40]
call fcn.140435760
mov rax, qword [rsp + 0x58]
jmp 0x140435fdf
cmp qword [rsp + 0xa8], 0
je 0x140435fbc
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
lea rcx, [rsp + 0x40]
call fcn.140435a80
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
call fcn.140435760
mov rax, qword [rsp + 0x60]
add rsp, 0x78
ret

Function at 0x1401925ce
Capabilities:
Move file

Disassembly:
jmp 0x14030a780
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 0x14030a7ac
xor eax, eax
jmp 0x14030a7b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x28
ret
Function at 0x14046aad0
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.14018a92d
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, [0x1405b67e0]
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 0x14046acc2
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 0x14046ac16
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14046ac16
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 0x14046abfb
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 0x14046ab98
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 0x14046ac82
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 0x14046ace1
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 0x14046acbd
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 0x14046ace1
jmp 0x14046ab6e
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.14018d2db
add rsp, 0x1498
pop rdi
pop rsi
ret