joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004ef24
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1800e0010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rdi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov esi, dword [rbx + 0x14]
mov eax, esi
mov r14d, dword [rbx + 4]
cmp esi, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x18004f057
cmp esi, r14d
mov eax, r14d
cmovg eax, esi
cmp r9d, eax
jg 0x18004f057
cmp esi, r14d
jne 0x18004efba
sub rbx, 0x10
jmp 0x18004f0a1
mov edx, dword [rdi + 0x88]
xor r9d, r9d
cmp esi, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x18004f01a
mov eax, dword [rdi + 4]
mov ecx, eax
neg ecx
cmp esi, r14d
jge 0x18004efe8
dec eax
add eax, esi
and eax, ecx
sub eax, esi
jmp 0x18004efee
and ecx, esi
mov eax, esi
sub eax, ecx
cmp eax, dword [rdi + 8]
setge r10b
test edx, edx
je 0x18004f008
mov dl, r10b
mov rcx, rdi
call fcn.18004e7c0
test al, al
jne 0x18004f053
mov r8b, r10b
mov edx, r9d
mov rcx, rdi
call fcn.18004e6f4
test al, al
jne 0x18004f053
mov ecx, dword [rdi + 0x60]
lea r9, [0x18004e8dc]
mov eax, dword [rdi + 0x64]
mov r8, rbx
mov dword [rsp + 0x28], eax
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rdi
cmp esi, r14d
jge 0x18004f046
call fcn.18004eb80
jmp 0x18004f04b
call fcn.18004ecf4
test al, al
je 0x18004efb1
mov al, 1
jmp 0x18004f0bb
mov eax, dword [rbx + 8]
lea r8, [rbx + 0x10]
mov ecx, dword [r8]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], esi
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [rsi + r9]
mov dword [r8], eax
mov eax, ecx
sar eax, 1
sar edx, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0xc], edx
mov dword [rbx + 0x14], eax
mov rbx, r8
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x18004f0b2
mov ebp, dword [rbx]
jmp 0x18004ef7d
mov dword [rdi + 0x58], ebp
xor al, al
mov dword [rdi + 0x5c], r14d
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18009bb70
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18004f0e4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x350
mov rax, qword [0x1800e0010]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov r14d, dword [rsp + 0x398]
mov rdi, rcx
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0x5c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x390]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3a0]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x44], r8d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], r14d
mov esi, dword [rbx + 0x1c]
mov ecx, esi
mov ebp, dword [rbx + 4]
cmp esi, ebp
mov r8d, dword [rbx + 0x14]
mov eax, r8d
mov edx, dword [rbx + 0xc]
cmovg ecx, ebp
cmp r8d, edx
cmovg eax, edx
cmp eax, ecx
jl 0x18004f234
cmp esi, ebp
mov eax, ebp
cmovg eax, esi
cmp r8d, edx
cmovg edx, r8d
cmp edx, eax
jg 0x18004f234
cmp esi, ebp
jne 0x18004f19a
sub rbx, 0x18
jmp 0x18004f240
mov edx, dword [rdi + 0x88]
xor r9d, r9d
cmp esi, ebp
setg r9b
inc r9d
cmp edx, r9d
je 0x18004f1f8
mov eax, dword [rdi + 4]
mov ecx, eax
neg ecx
cmp esi, ebp
jg 0x18004f1c6
dec eax
add eax, esi
and eax, ecx
sub eax, esi
jmp 0x18004f1cc
and ecx, esi
mov eax, esi
sub eax, ecx
cmp eax, dword [rdi + 8]
setge r10b
test edx, edx
je 0x18004f1e6
mov dl, r10b
mov rcx, rdi
call fcn.18004e7c0
test al, al
jne 0x18004f230
mov r8b, r10b
mov edx, r9d
mov rcx, rdi
call fcn.18004e6f4
test al, al
jne 0x18004f230
mov ecx, dword [rdi + 0x60]
lea r9, [fcn.18004e934]
mov eax, dword [rdi + 0x64]
mov r8, rbx
mov dword [rsp + 0x28], eax
mov edx, 3
mov dword [rsp + 0x20], ecx
mov rcx, rdi
cmp esi, ebp
jg 0x18004f223
call fcn.18004eb80
jmp 0x18004f228
call fcn.18004ecf4
test al, al
je 0x18004f191
mov al, 1
jmp 0x18004f25b
mov rcx, rbx
call fcn.18004e934
add rbx, 0x18
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x18004f252
mov r14d, dword [rbx]
jmp 0x18004f152
mov dword [rdi + 0x58], r14d
xor al, al
mov dword [rdi + 0x5c], ebp
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.18009bb70
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18004f58c
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x28], rax
mov ebp, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r14w
lea r15d, [r14 + 1]
mov dword [rcx + 0x3c], r14d
mov esi, r14d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r14w
cmp r14w, word [rcx + 0xb8]
jge 0x18004f6da
movzx r10d, r14w
mov edi, r14d
mov r8, qword [rbx + 0xd0]
mov r9d, ebp
mov dword [rbx + 0x88], r14d
movzx edx, r10w
mov qword [rbx + 0x80], r14
mov rcx, rbx
movzx r8d, word [rdi + r8]
call fcn.18004f284
test al, al
jne 0x18004f772
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x18004f669
cmp edx, dword [rbx + 0x60]
jl 0x18004f669
cmp edx, dword [rbx + 0x64]
jg 0x18004f669
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x18004f669
mov rax, qword [rbx + 0x70]
mov cl, byte [rax + 0x18]
xor cl, byte [r9 + 0x18]
test cl, 8
jne 0x18004f669
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x18004f68c
test byte [r9 + 0x18], 8
je 0x18004f68c
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x18004f69d
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.18004e7c0
test al, al
jne 0x18004f772
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x18004f6c0
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
add esi, r15d
add rdi, 2
add r10w, r15w
cmp esi, eax
jl 0x18004f5f2
movzx r11d, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp r11w, r15w
jbe 0x18004f777
test rdx, rdx
je 0x18004f777
lea rdi, [rdx + 8]
cmp r11w, r15w
jbe 0x18004f70e
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x18004f711
mov r10, r14
mov qword [rdi], r10
test byte [rdx + 0x18], 8
mov r10d, dword [rdx + 0x20]
mov r8d, r10d
mov eax, dword [rdx + 0x1c]
je 0x18004f72c
dec r10d
add r10d, eax
jmp 0x18004f743
sub r8d, eax
add r8d, r15d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.18004e854
test al, al
jne 0x18004f772
lea edx, [r10 + 1]
mov rcx, rbx
call fcn.18004e854
test al, al
jne 0x18004f772
mov rdx, qword [rdi]
mov eax, 0xffff
add r11w, ax
je 0x18004f77b
jmp 0x18004f6f6
mov al, r15b
jmp 0x18004f786
mov qword [rbx + 0x78], r14
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x18009a980
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor r10d, r10d
mov r11, rdx
mov r9d, ecx
test rdx, rdx
je 0x18009aa05
lea rdi, [0x1800c3290]
not r9d
cmp r8d, 8
jb 0x18009a9dc
mov edx, r8d
shr rdx, 3
add r8d, 0xfffffff8
mov ebx, 8
movzx ecx, byte [r11]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r11
xor r9d, dword [rdi + rax*4]
sub rbx, 1
jne 0x18009a9b8
sub rdx, 1
jne 0x18009a9af
test r8d, r8d
je 0x18009a9ff
movzx ecx, byte [r11]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r11
xor r9d, dword [rdi + rax*4]
add r8d, 0xffffffff
jne 0x18009a9e1
not r9d
mov r10d, r9d
mov rbx, qword [rsp + 8]
mov eax, r10d
mov rdi, qword [rsp + 0x10]
ret
Function at 0x140024961
Capabilities:
Acquire debug privileges

Disassembly:
push rbp
push r15
mov rax, 8
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14002496b
sub rsp, 0x28
call fcn.140046800
mov dword [0x1400ff001], 0x15d
mov dword [0x1400ff001], 0x15e
mov byte [rsp + 0x28], 0
mov dword [0x1400ff001], 0x160
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 0x140024b00
mov dword [0x1400ff001], 0x161
lea rax, [rsp + 0x38]
mov dword [0x1400ff001], 0x163
lea rax, [rsp + 0x38]
mov rax, rax
push rax
movabs rax, str.SeDebugPrivilege
push rax
push 0
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_LookupPrivilegeValueW
and rax, rax
je 0x140024ae2
mov dword [0x1400ff001], 0x164
lea rax, [rsp + 0x40]
mov dword [0x1400ff001], 0x167
lea rbp, [rsp + 0x40]
mov dword [rbp], 1
mov dword [0x1400ff001], 0x168
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
mov dword [0x1400ff001], 0x169
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
mov dword [0x1400ff001], 0x16a
push rbp
pop rbp
mov dword [rbp + 0xc], 2
mov dword [0x1400ff001], 0x16c
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
mov dword [0x1400ff001], 0x16d
mov dword [0x1400ff001], 0x16e
push qword [rsp + 0x30]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x1400ff001], 0x16f
mov dword [0x1400ff001], 0x170
movsx rax, byte [rsp + 0x28]
movsx rax, al
jmp 0x140024b2d
add rsp, 0x68
pop r15
pop rbp
ret

Function at 0x140025ab6
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
sub rsp, 0x28
call fcn.140046800
mov dword [0x1400ff001], 0x100002b
mov dword [0x1400ff001], 0x100002c
push qword [rsp + 0x40]
pop rcx
call sub.USER32.DLL_GetAsyncKeyState
mov r15, rax
and r15, 0x8000
and r15, r15
je 0x140025b0a
mov dword [0x1400ff001], 0x100002d
mov rax, 1
jmp 0x140025b21
mov dword [0x1400ff001], 0x100002e
mov dword [0x1400ff001], 0x100002f
xor rax, rax
add rsp, 0x30
pop r15
ret
Function at 0x140025def
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
push rax
push rax
sub rsp, 0x28
call fcn.140046800
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140046870
add rsp, 0x10
mov dword [0x1400ff001], 0x3a2
mov dword [0x1400ff001], 0x3a4
push 5
sub rsp, 8
sub rsp, 0x20
call sub.USER32.DLL_GetDesktopWindow
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
call sub.USER32.DLL_GetWindow
mov qword [rsp + 0x30], rax
mov dword [0x1400ff001], 0x3a5
cmp qword [rsp + 0x30], 0
je 0x140026017
mov dword [0x1400ff001], 0x3a6
push rcx
sub rsp, 0x28
call fcn.1400463e0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400463e0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push qword [rsp + 0x50]
pop rcx
sub rsp, 0x20
call sub.USER32.DLL_GetWindowTextLengthW
add rsp, 0x28
mov r15, rax
add r15, 2
mov rax, r15
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140044790
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.1400464a0
mov dword [0x1400ff001], 0x3a7
push qword [rsp + 0x38]
pop rcx
call fcn.140043d50
mov rax, rax
push rax
push qword [rsp + 0x40]
push qword [rsp + 0x40]
pop rcx
pop rdx
pop r8
call sub.USER32.DLL_GetWindowTextW
mov dword [0x1400ff001], 0x3a8
push rcx
sub rsp, 0x28
call fcn.1400463e0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400463e0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400463e0
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x50]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400448e0
add rsp, 0x28
call fcn.140046730
push rcx
sub rsp, 0x20
call fcn.1400463e0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400463e0
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400448e0
add rsp, 0x20
push rax
call fcn.140046610
mov rdx, rax
pop rax
add qword [rsp], rdx
push rax
call fcn.140046610
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140043bc0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140028824
add rsp, 0x28
pop rax
and rax, rax
je 0x140025fdf
mov dword [0x1400ff001], 0x3a9
mov rax, 1
jmp 0x140026033
mov dword [0x1400ff001], 0x3aa
mov dword [0x1400ff001], 0x3ab
push 2
push qword [rsp + 0x38]
pop rcx
pop rdx
call sub.USER32.DLL_GetWindow
mov qword [rsp + 0x30], rax
mov dword [0x1400ff001], 0x3ac
jmp 0x140025e56
mov dword [0x1400ff001], 0x3ad
xor rax, rax
jmp 0x140026033
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400468e0
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400468e0
add rsp, 0x28
pop rax
add rsp, 0x40
pop r15
ret
Function at 0x140026e94
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rbp
mov rax, 0x4b
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140026ea1
sub rsp, 0x28
call fcn.140046800
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140046870
add rsp, 0x10
mov dword [0x1400ff001], 0x200006b
mov dword [0x1400ff001], 0x200006f
lea rbp, [rsp + 0x38]
mov dword [rbp], 0x238
mov dword [0x1400ff001], 0x2000071
push 0
push 2
pop rcx
pop rdx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x30], rax
mov dword [0x1400ff001], 0x2000072
cmp qword [rsp + 0x30], 0
je 0x140027106
mov dword [0x1400ff001], 0x2000073
lea rbp, [rsp + 0x38]
mov dword [rbp], 0x238
mov dword [0x1400ff001], 0x2000074
lea rax, [rsp + 0x38]
mov rax, rax
push rax
push qword [rsp + 0x38]
pop rcx
pop rdx
call sub.KERNEL32.dll_Process32FirstW
and rax, rax
je 0x1400270e8
mov dword [0x1400ff001], 0x2000075
mov dword [0x1400ff001], 0x2000076
push rcx
sub rsp, 0x28
call fcn.1400463e0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400463e0
add rsp, 0x28
pop rcx
push rax
lea rbp, [rsp + 0x50]
lea rax, [rbp + 0x2c]
mov rax, rax
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140044f10
add rsp, 0x28
lea rcx, [rsp + 0x278]
pop rdx
call fcn.1400464a0
mov dword [0x1400ff001], 0x2000078
push rcx
sub rsp, 0x28
call fcn.1400463e0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400463e0
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x288]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140043ec0
add rsp, 0x28
call fcn.140046730
push rcx
sub rsp, 0x20
call fcn.1400463e0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400463e0
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x40]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140043ec0
add rsp, 0x20
pop rcx
sub rsp, 8
call fcn.140046760
add rsp, 8
mov rcx, rax
pop rdx
push rcx
mov rcx, rdx
sub rsp, 0x20
call fcn.140046760
add rsp, 0x20
pop rcx
mov rdx, rax
call fcn.140046580
or rax, rax
je 0x1400270a6
mov dword [0x1400ff001], 0x2000079
push qword [rsp + 0x30]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x1400ff001], 0x200007a
lea rbp, [rsp + 0x38]
movsxd rax, dword [rbp + 8]
movsxd rax, eax
jmp 0x14002712f
mov dword [0x1400ff001], 0x200007b
mov dword [0x1400ff001], 0x200007c
lea rax, [rsp + 0x38]
mov rax, rax
push rax
push qword [rsp + 0x38]
pop rcx
pop rdx
call sub.KERNEL32.dll_Process32NextW
and rax, rax
je 0x1400270d8
xor rax, rax
jmp 0x1400270df
mov rax, 1
and rax, rax
je 0x140026f68
mov dword [0x1400ff001], 0x200007d
mov dword [0x1400ff001], 0x200007e
push qword [rsp + 0x30]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x1400ff001], 0x200007f
mov dword [0x1400ff001], 0x2000081
xor rax, rax
movsxd rax, eax
jmp 0x14002712f
push rax
mov rcx, qword [rsp + 0x278]
sub rsp, 0x28
call fcn.1400468e0
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400468e0
add rsp, 0x28
pop rax
add rsp, 0x280
pop rbp
ret
Function at 0x140028824
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 [0x140139640]
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 0x1400293f8
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, dword [0x14014c840]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x140029452
mov r8, qword [0x1400ff2ae]
mov rcx, qword [0x14014b3c8]
lea edx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x14014c840]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, rbx
call fcn.1400287a9
lea rcx, [0x1400293d0]
mov rdx, rbx
call fcn.140029730
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x14002945c
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14014c840], eax
add rsp, 0x28
jmp fcn.1400293f8
Function at 0x140029730
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x14014c848], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x14014c858]
jne 0x14002977d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x14014c880], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x14014c848], 1
mov ecx, dword [0x14014c880]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x140029852
mov rcx, qword [0x14014b3c8]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x14002987d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x14014c850]
test rax, rax
je 0x1400297cd
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x14014c850], rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x140029898]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x14014c880]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x14014b3c8]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14002987d
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14002a328
Capabilities:
Create thread

Disassembly:
or r8d, 0xffffffff
xor edx, edx
jmp 0x14002a328
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 [0x14014c938]
mov esi, r8d
xor r14d, r14d
call fcn.1400457f4
mov rbx, rax
test rax, rax
je 0x14002a50d
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
cmp qword [rax + 0x20], r14
je 0x14002a40e
mov rcx, r15
call fcn.14002a7a4
jmp 0x14002a38c
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rbx + 0x2d], r14b
jne 0x14002a381
mov rcx, qword [rbx + 0x20]
call fcn.14002a928
mov edi, 1
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x30], r12d
mov byte [rbx + 0x2c], dil
call fcn.14002a270
lea rax, [rsp + 0x88]
lea r8, [0x14002a528]
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 0x14002a3e9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x14002a3f8
mov edx, esi
mov rcx, r15
call fcn.14002a608
mov rcx, qword [rbx]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rcx, qword [rbx]
mov r9d, edi
jmp 0x14002a4b9
mov edi, 1
mov ebp, r14d
test dil, r12b
cmovne ebp, edi
test r12b, 2
je 0x14002a4c6
mov rcx, rax
call fcn.14002a1cc
lea rcx, [rbx + 8]
lea edx, [rdi + 0x1f]
call fcn.140046310
mov rcx, qword [0x14014c9f8]
mov rdx, qword [rsp + 0x30]
mov r9, qword [rcx]
lea r8, [rsp + 0x30]
mov r14, rax
call qword [r9 + 0x28]
test eax, eax
jne 0x14002a50d
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 0x14002a4a3
mov r8, r14
mov edx, esi
mov rcx, r15
call fcn.14002a610
jmp 0x14002a4b1
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 0x14002a50d
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 0x14002a4eb
mov edx, esi
mov rcx, r15
call fcn.14002a608
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 0x14002a50d
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 0x14002b230
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x14002b2a7
movsxd rdx, ecx
lea rcx, [0x14002b18c]
call qword [sym.imp.USER32.DLL_EnumWindows]
mov rbx, qword [0x14014c978]
test rbx, rbx
je 0x14002b31a
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14002b29d
cmp byte [rbx + 0x20], 0
je 0x14002b29d
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 0x14002b263
jmp 0x14002b31a
mov rbx, qword [0x14014c978]
test rbx, rbx
je 0x14002b31a
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14002b312
cmp byte [rbx + 0x21], 0
je 0x14002b2d6
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x14002b302
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, [0x14014c978]
call fcn.1400462c8
mov rbx, rdi
test rdi, rdi
jne 0x14002b2b3
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret