joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140061bd6
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov qword [rbp - 8], 0
call fcn.1400c7d90
mov qword [rbp - 0x58], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], 0
lea rax, [0x1418f9a50]
mov rcx, rax
call sub.KERNEL32.dll_GetModuleHandleW
mov qword [rbp - 0x20], rax
lea rdx, [0x1418fcc00]
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x18], rax
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rdx
mov r8d, 0
mov edx, 0
mov rcx, rax
call sub.KERNEL32.dll_CreateRemoteThread
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x140061c92
mov qword [rbp - 8], 0
jmp 0x140061cdf
nop
mov rax, qword [rbp - 0x10]
mov rdx, 0xffffffffffffffff
mov rcx, rax
call sub.KERNEL32.dll_WaitForSingleObject
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x40], rax
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.KERNEL32.dll_GetExitCodeThread
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.KERNEL32.dll_CloseHandle
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x58]
mov qword [rbp - 8], rax
nop
mov rax, qword [rbp - 8]
add rsp, 0xa0
pop rbp
ret

Function at 0x140061e65
Capabilities:
Query service status

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp - 8], 0
call fcn.1400c7d90
mov rax, qword [rbp + 0x10]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400c8150
mov qword [rbp - 0x70], 0
mov qword [rbp - 0x68], 0
mov qword [rbp - 0x60], 0
mov dword [rbp - 0x58], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], 0
mov r8d, 0xf003f
mov edx, 0
mov ecx, 0
call sub.ADVAPI32.dll_OpenSCManagerW
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x140061f5e
mov rax, qword [rbp + 0x10]
mov rdx, rax
mov rax, qword [rbp - 0x10]
mov r8d, 0xf01ff
mov rcx, rax
call sub.ADVAPI32.dll_OpenServiceW
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
je 0x140061f42
lea rax, [rbp - 0x70]
mov qword [rbp - 0x30], rax
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sub.ADVAPI32.dll_QueryServiceStatus
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sub.ADVAPI32.dll_CloseServiceHandle
mov qword [rbp - 0x40], rax
jmp 0x140061f43
nop
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.ADVAPI32.dll_CloseServiceHandle
mov qword [rbp - 0x48], rax
mov eax, dword [rbp - 0x6c]
cdqe
mov qword [rbp - 8], rax
jmp 0x140061f67
nop
mov qword [rbp - 8], 0
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.1400c8120
mov rax, qword [rbp - 8]
add rsp, 0x90
pop rbp
ret
Function at 0x140062bd2
Capabilities:
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov qword [rbp - 8], 0
call fcn.1400c7d90
mov rdx, qword [rbp + 0x18]
lea rax, [rbp + 0x18]
mov rcx, rax
call fcn.1400c8150
mov rdx, qword [rbp + 0x20]
lea rax, [rbp + 0x20]
mov rcx, rax
call fcn.1400c8150
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x40]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x18]
mov rcx, rax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x18]
mov qword [rsp + 0x40], rdx
mov rdx, qword [rbp - 0x10]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0xf003f
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegCreateKeyExW
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x140062cdf
mov rax, qword [rbp + 0x20]
mov r10, rax
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rdx
mov r9, rcx
mov r8d, 0
mov rdx, r10
mov rcx, rax
call sub.ADVAPI32.dll_RegSetValueExW
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x40]
mov rcx, rax
call sub.ADVAPI32.dll_RegCloseKey
mov qword [rbp - 0x30], rax
jmp 0x140062ce0
nop
mov qword [rbp - 8], 0
mov rax, qword [rbp + 0x20]
mov rcx, rax
call fcn.1400c8120
mov rax, qword [rbp + 0x18]
mov rcx, rax
call fcn.1400c8120
mov rax, qword [rbp - 8]
add rsp, 0x90
pop rbp
ret

Function at 0x14006403e
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
call fcn.1400c7d90
mov qword [rbp - 8], 0
mov qword [rbp - 0x18], 0
mov rax, qword [rbp + 0x10]
mov r8, rax
mov edx, 0
mov ecx, 1
call sub.KERNEL32.dll_OpenProcess
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
je 0x1400640c9
mov rax, qword [rbp - 0x18]
mov edx, 1
mov rcx, rax
call sub.KERNEL32.dll_TerminateProcess
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0
je 0x1400640b6
mov qword [rbp - 8], 1
jmp 0x1400640b7
nop
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sub.KERNEL32.dll_CloseHandle
mov qword [rbp - 0x30], rax
jmp 0x1400640ca
nop
mov rax, qword [rbp - 8]
mov qword [rbp - 0x10], rax
nop
mov rax, qword [rbp - 0x10]
add rsp, 0x50
pop rbp
ret
Function at 0x140067ef0
Capabilities:
Get graphical window text

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov dword [rbp + 0x10], ecx
mov qword [rbp - 8], 0
mov eax, dword [rbp + 0x10]
cdqe
mov rcx, rax
call fcn.1400c8290
call fcn.1400c7d90
mov qword [rbp - 0x68], 0
mov rax, qword [0x14190c6c0]
test rax, rax
jne 0x140067f57
mov edx, 0
mov ecx, 0
call sub.USER32.dll_FindWindowW
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov qword [0x14190c6c8], rax
mov qword [0x14190c6c0], 1
jmp 0x140067f83
nop
mov rax, qword [0x14190c6c8]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov edx, 2
mov rcx, rax
call sub.USER32.dll_GetWindow
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [0x14190c6c8], rax
mov rax, qword [0x14190c6c8]
test rax, rax
je 0x140068080
mov rax, qword [0x14190c6c8]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rdx, 0xfffffffffffffff0
mov rcx, rax
call sub.USER32.dll_GetWindowLongPtrW
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
and eax, 0x10000000
test rax, rax
je 0x14006807a
mov rax, qword [0x14190c6c8]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
mov rdx, 0xffffffffffffffec
mov rcx, rax
call sub.USER32.dll_GetWindowLongPtrW
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x40]
and eax, 0x80
test rax, rax
jne 0x14006807d
call fcn.1400c7e00
call fcn.1400c7e00
call fcn.1400c7e60
mov edx, eax
mov ecx, 0x100
call fcn.1400c52f0
call fcn.1400c7e60
mov edx, eax
lea rax, [rbp - 0x68]
mov rcx, rax
call fcn.1400c8040
mov rax, qword [0x14190c6c8]
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x68]
mov rdx, rax
mov rax, qword [rbp - 0x48]
mov r8d, 0x100
mov rcx, rax
call sub.USER32.dll_GetWindowTextW
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x68]
mov qword [rbp - 0x58], rax
lea rax, [0x14190c738]
mov qword [rbp - 0x60], rax
mov rdx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x60]
mov rcx, rax
call fcn.1400c81c0
test eax, eax
je 0x14006809e
jmp 0x14006807e
nop
jmp 0x14006808c
nop
jmp 0x14006808c
nop
mov qword [0x14190c6c0], 0
mov rax, qword [0x14190c6c8]
test rax, rax
je 0x1400680a1
nop
jmp 0x140067f20
nop
jmp 0x1400680a2
nop
call fcn.1400c7e00
mov rax, qword [rbp - 0x68]
mov rcx, rax
call fcn.1400c8220
call fcn.1400c7fb0
mov qword [rbp - 8], rax
nop
mov rax, qword [rbp - 0x68]
mov rcx, rax
call fcn.1400c8120
mov rax, qword [rbp - 8]
add rsp, 0x90
pop rbp
ret
Function at 0x1400739d0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
sub rsp, 0xc8
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
cmp word [0x140000000], 0x5a4d
je 0x140073a0d
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
lea rdi, [0x140000000]
jmp 0x140073a9b
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x140073a31
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x140073a9b
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x140073a78
cmp ecx, 0x20b
je 0x140073a50
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x140073a9b
cmp dword [rax + 0x84], 0xe
ja 0x140073a64
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x140073a9b
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
jmp 0x140073a9b
cmp dword [rax + 0x74], 0xe
ja 0x140073a89
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x140073a9b
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
mov ecx, 2
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x14190f8a0], 0xffffffffffffffff
mov qword [0x14190f8c0], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x14190c890]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x14190c894]
mov dword [rcx], eax
call fcn.140073cc0
cmp dword [0x14190f8e0], 0
jne 0x140073af5
lea rcx, [0x140073cd0]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x1401b27a8]
lea rcx, [0x1401b27a0]
call sub.msvcrt.dll__initterm
mov r11d, dword [0x14190c898]
mov dword [rsp + 0xd8], r11d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x14190c89c]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x3c]
call qword [sym.imp.msvcrt.dll___getmainargs]
lea rdx, [0x1401b2798]
lea rcx, [0x1401b2790]
call sub.msvcrt.dll__initterm
mov r11, qword [sym.imp.msvcrt.dll__acmdln]
mov r8, qword [r11]
mov qword [rsp + 0x30], r8
cmp byte [r8], 0x22
jne 0x140073b96
nop
nop
inc r8
mov qword [rsp + 0x30], r8
movzx eax, byte [r8]
test al, al
je 0x140073b86
cmp al, 0x22
je 0x140073b86
jmp 0x140073b70
cmp byte [r8], 0x22
jne 0x140073ba6
inc r8
mov qword [rsp + 0x30], r8
jmp 0x140073ba6
cmp byte [r8], 0x20
jbe 0x140073ba6
inc r8
mov qword [rsp + 0x30], r8
jmp 0x140073b96
movzx eax, byte [r8]
test al, al
je 0x140073bbc
cmp al, 0x20
ja 0x140073bbc
inc r8
mov qword [rsp + 0x30], r8
jmp 0x140073ba6
test byte [rsp + 0x8c], 1
je 0x140073bd1
movzx r9d, word [rsp + 0x90]
jmp 0x140073bd7
mov r9d, 0xa
xor edx, edx
mov rcx, rdi
call fcn.140069363
mov edi, eax
mov dword [rsp + 0x38], eax
test ebx, ebx
jne 0x140073bf3
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x140073c17
mov eax, edi
jmp 0x140073c20
mov rbx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
add rsp, 0xc8
ret
Function at 0x140074774
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 0x14007483a
lea rcx, [0x14190f920]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14190c8b0]
jmp 0x1400747fe
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400747fb
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x14190c8b0]
mov rdx, rsi
call fcn.1400c782c
jmp 0x1400747fe
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400747cb
mov rdx, qword [reloc.WS2_32.dll_accept]
lea rcx, [0x14190c8b0]
mov rdi, rdx
inc rdx
mov qword [reloc.WS2_32.dll_accept], rdx
lea edx, [rbx + 0x20]
call fcn.1400c7874
lea rcx, [0x14190f920]
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 0x140074950
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.1400748e0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x14190f920]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14190c8b0]
jmp 0x14007498c
cmp qword [rbx + 0x18], rdi
je 0x140074993
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140074983
jmp 0x1400749ad
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x14190c8b0]
call fcn.1400c782c
lea rcx, [0x14190f920]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140075060
Capabilities:
Create thread

Disassembly:
or r8d, 0xffffffff
xor edx, edx
jmp 0x140075060
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r12d, edx
mov r15, rcx
mov rdx, rcx
mov rcx, qword [0x14190c8b8]
mov esi, r8d
xor r14d, r14d
call fcn.1400c6e04
mov rbx, rax
test rax, rax
je 0x140075245
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
cmp qword [rax + 0x20], r14
je 0x140075146
mov rcx, r15
call fcn.1400753c8
jmp 0x1400750c4
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rbx + 0x2d], r14b
jne 0x1400750b9
mov rcx, qword [rbx + 0x20]
call fcn.1400759bc
mov edi, 1
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x30], r12d
mov byte [rbx + 0x2c], dil
call fcn.140074fa8
lea rax, [rsp + 0x88]
lea r8, [0x140075260]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], r14d
mov r9, rbx
mov edx, 0x2000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x140075121
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x140075130
mov edx, esi
mov rcx, r15
call fcn.1400754d0
mov rcx, qword [rbx]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rcx, qword [rbx]
mov r9d, edi
jmp 0x1400751f1
mov edi, 1
mov ebp, r14d
test dil, r12b
cmovne ebp, edi
test r12b, 2
je 0x1400751fe
mov rcx, rax
call fcn.140074f04
lea rcx, [rbx + 8]
lea edx, [rdi + 0x1f]
call fcn.1400c7874
mov rcx, qword [0x14190c8e8]
mov rdx, qword [rsp + 0x30]
mov r9, qword [rcx]
lea r8, [rsp + 0x30]
mov r14, rax
call qword [r9 + 0x28]
test eax, eax
jne 0x140075245
mov rcx, qword [rsp + 0x30]
mov byte [r14 + 9], bpl
mov byte [r14 + 8], dil
mov qword [r14], rcx
mov rcx, qword [rsp + 0x30]
mov edx, dword [rbx + 0x14]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
cmp esi, 0xffffffff
je 0x1400751db
mov r8, r14
mov edx, esi
mov rcx, r15
call fcn.1400754d8
jmp 0x1400751e9
mov rcx, qword [rsp + 0x30]
mov edx, dword [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rcx, qword [rsp + 0x30]
mov r9d, ebp
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x60]
jmp 0x140075245
mov rax, qword [rcx]
call qword [rax + 0x90]
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp esi, 0xffffffff
je 0x140075223
mov edx, esi
mov rcx, r15
call fcn.1400754d0
mov rcx, qword [rsp + 0x30]
mov r9d, ebp
xor r8d, r8d
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x60]
test eax, eax
jne 0x140075245
mov r14, rdi
mov byte [rbx + 0x2c], dil
mov byte [rbx + 0x2e], bpl
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rax, r14
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400767e4
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x14007685b
movsxd rdx, ecx
lea rcx, [0x140076740]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [0x14190cb98]
test rbx, rbx
je 0x1400768ce
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x140076851
cmp byte [rbx + 0x20], 0
je 0x140076851
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 0x140076817
jmp 0x1400768ce
mov rbx, qword [0x14190cb98]
test rbx, rbx
je 0x1400768ce
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x1400768c6
cmp byte [rbx + 0x21], 0
je 0x14007688a
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x1400768b6
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, [0x14190cb98]
call fcn.1400c782c
mov rbx, rdi
test rdi, rdi
jne 0x140076867
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140076e80
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
mov rdx, rcx
mov rcx, qword [0x14190fec0]
call fcn.1400c6e04
test rax, rax
je 0x140076ebd
cmp dword [rax + 0x28], 0
je 0x140076ebd
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.140076aa0
mov ecx, ebx
add rsp, 0x20
pop rbx
jmp fcn.1400c86a0
Function at 0x140094884
Capabilities:
Read file on windows

Disassembly:
mov rcx, qword [rcx + 0x18]
mov r9d, r8d
or r8d, 0xffffffff
jmp 0x140094db0
mov rax, rsp
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
xor eax, eax
mov ecx, 0x1000
mov r15d, r9d
mov r13d, r8d
mov edi, ecx
mov esi, eax
mov r14d, eax
mov r12d, eax
cmp edx, 0x18
je 0x140094eef
cmp edx, 2
je 0x140094eef
mov rcx, qword [0x14190b3a8]
xor edx, edx
mov r8d, 0x2000
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x90]
lea r8d, [r12 + 2]
lea rdx, [rsp + 0x34]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
test eax, eax
je 0x140094ed8
mov r15, qword [rsp + 0x90]
mov ebp, edi
cmp dword [rsp + 0x38], 2
jne 0x140094ed0
cmp r13d, 0xffffffff
je 0x140094e5d
cmp r14d, r13d
jae 0x140094ed0
add r14d, 2
test edi, edi
jne 0x140094e88
mov rcx, qword [0x14190b3a8]
movsxd r9, ebp
lea edx, [rdi + 8]
add r9, r9
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edi, 0x1000
xor ecx, ecx
mov rbx, rax
movzx eax, word [rsp + 0x34]
cmp ax, 0xa
je 0x140094ed0
cmp ax, 0xd
je 0x140094ea8
mov word [r12 + rbx], ax
inc esi
inc ebp
add r12, 2
dec edi
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x38]
lea rdx, [rsp + 0x34]
mov r8d, 2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
test eax, eax
jne 0x140094e4b
mov r15d, dword [rsp + 0xa8]
movsxd rax, esi
mov edx, r15d
mov word [rbx + rax*2], cx
mov rcx, rbx
call fcn.140166f00
jmp 0x140094fb8
mov r8, rcx
mov rcx, qword [0x14190b3a8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15d, dword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
mov rbx, rax
mov r13d, edi
cmp r15d, 0xffffffff
je 0x140094f22
cmp r14d, r15d
jae 0x140094f8c
xor ecx, ecx
lea r9, [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea r8d, [rcx + 1]
mov qword [rsp + 0x20], rcx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140094f8c
cmp dword [rsp + 0x38], 1
jne 0x140094f8c
inc r14d
test edi, edi
jne 0x140094f70
mov rcx, qword [0x14190b3a8]
lea edx, [rdi + 8]
movsxd r9, r13d
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edi, 0x1000
mov rbx, rax
mov al, byte [rsp + 0x30]
cmp al, 0xa
je 0x140094f8c
cmp al, 0xd
je 0x140094f17
mov byte [r12 + rbx], al
inc esi
inc r13d
inc r12
dec edi
jmp 0x140094f17
mov r15d, dword [rsp + 0xa8]
xor ecx, ecx
cmp dword [rsp + 0x98], 0x18
movsxd rax, esi
mov edx, r15d
mov byte [rax + rbx], cl
mov rcx, rbx
jne 0x140094fb3
call fcn.140166f60
jmp 0x140094fb8
call fcn.140166d30
mov rcx, qword [0x14190b3a8]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140094928
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
test r8d, r8d
jle 0x14009498f
mov rcx, qword [rbp + 0x18]
and dword [rsp + 0x50], 0
and qword [rsp + 0x20], 0
mov r8d, edi
movsxd rdx, ebx
lea r9, [rsp + 0x50]
sub r8d, ebx
add rdx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140094981
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x14009498b
add ebx, dword [rsp + 0x50]
cmp ebx, edi
jge 0x14009498f
jmp 0x14009494c
add ebx, dword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
movsxd rax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400949f8
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 0x140094a26
dec edi
mov edx, ebx
mov ecx, edi
call fcn.1400c8520
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 0x140094b5c
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 [0x14190ff60]
call fcn.1400c6c00
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 0x140094c59
mov rcx, qword [rsp + 0x40]
mov r9w, 0x22
cmp dx, 0x20
jne 0x140094bb3
add rax, 2
cmp word [rax], 0x20
je 0x140094ba9
movzx edx, word [rax]
mov r8d, 1
cmp dx, r9w
jne 0x140094bf1
add rax, 2
mov rbx, rax
movzx ecx, word [rax]
test cx, cx
je 0x140094c31
cmp cx, r9w
je 0x140094be3
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x140094bd1
cmp word [rax], bp
je 0x140094c31
mov rcx, rax
add rax, 2
jmp 0x140094c39
test dx, dx
je 0x140094c36
mov rbx, rax
cmp dx, 0x20
je 0x140094be3
add rax, 2
cmp word [rax], r9w
jne 0x140094c27
add rax, 2
movzx ecx, word [rax]
test cx, cx
je 0x140094c31
cmp cx, r9w
je 0x140094c27
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x140094c15
movzx edx, word [rax]
test dx, dx
jne 0x140094bf9
jmp 0x140094be3
mov rcx, rax
jmp 0x140094c39
mov r8d, ebp
cmp dword [r14], esi
jne 0x140094c43
test rdi, rdi
jne 0x140094c63
test r8d, r8d
je 0x140094c4a
inc esi
movzx edx, word [rax]
mov rbx, rbp
test dx, dx
jne 0x140094ba3
test rdi, rdi
jne 0x140094c78
movsxd rax, esi
jmp 0x140094c7a
test rbx, rbx
je 0x140094c78
sub rcx, rbx
mov rax, rbx
sar rcx, 1
mov dword [rdi], ecx
inc dword [r14]
jmp 0x140094c7a
mov dword [rdi], ebp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret