joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100018d6c
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1000da5c8]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor ebx, ebx
lea rdx, [rsp + 0x20]
add rcx, 0xd0
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
call sub.gdiplus.dll_GdiplusStartup
cmp dword [0x1000da584], 0xffffffff
je 0x100024de9
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rbx + 8]
mov r8d, 0xe8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
cmp rax, rbx
je 0x100024dae
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov dword [rax + 0x18], ebx
mov qword [rax + 0x98], rbx
mov qword [rax + 0xa8], rbx
mov qword [rax + 0xb0], rbx
mov qword [rax + 0xb8], rbx
mov dword [rax + 0xc0], ebx
mov qword [rax + 0xc8], rbx
mov qword [rax + 0xd0], rbx
mov qword [rax + 0xd8], rbx
mov dword [rax + 0xe0], ebx
mov dword [rax + 0xa4], 0xffff
mov byte [rax + 0xa1], bl
jmp 0x100018e49
cmp rdi, rbx
je 0x100024de9
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r8, str.AnimationsTimerT_d
lea rcx, [rsp + 0x40]
mov r9d, eax
mov edx, 0x104
call fcn.100001084
cmp eax, ebx
mov esi, eax
jl 0x100024ddc
lea r8, [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov qword [rdi + 0x98], rax
cmp rax, rbx
je 0x100024db6
cmp esi, ebx
jl 0x100024ddc
mov ecx, dword [0x1000da584]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, ebx
je 0x100024ddc
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1000031d0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rdi, rbx
jmp 0x100018e49
call sub.KERNEL32.dll_GetLastError
cmp eax, ebx
je 0x100024dd2
movzx esi, ax
or esi, 0x80070000
cmp eax, ebx
cmovle esi, eax
jmp 0x100018e9a
mov esi, 0x80004005
jmp 0x100018e9a
mov edx, 1
mov rcx, rdi
call fcn.10001bb38
mov ebx, 0x80004005
jmp 0x100018eb9
Function at 0x100018f6c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.100005f90
xor edi, edi
lea r11, [0x1000a9b20]
mov qword [rbx], r11
mov qword [rbx + 0x148], rdi
mov qword [rbx + 0x150], rdi
mov qword [rbx + 0x158], rdi
mov dword [rbx + 0x160], edi
mov qword [rbx + 0x168], rdi
mov qword [rbx + 0x170], rdi
mov qword [rbx + 0x178], rdi
mov dword [rbx + 0x180], edi
mov qword [rbx + 0x188], rdi
mov qword [rbx + 0x190], rdi
mov qword [rbx + 0x198], rdi
mov dword [rbx + 0x1a0], edi
call fcn.100001210
or esi, 0xffffffff
cmp al, dil
je 0x10001900c
mov ecx, dword [0x1000da584]
cmp ecx, esi
je 0x100023281
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rbx
mov rcx, rax
call fcn.1000190e4
lea rax, [0x1000a9c00]
mov qword [rbx], rax
mov qword [rbx + 0x1b8], rdi
mov qword [rbx + 0x1c0], rdi
mov qword [rbx + 0x1c8], rdi
mov dword [rbx + 0x1d0], edi
mov dword [rbx + 0x1d8], 0x64
mov qword [rbx + 0x1b0], rdi
mov qword [rbx + 0x1e0], rdi
mov qword [rbx + 0x1e8], rdi
mov qword [rbx + 0x1f8], rdi
mov byte [rbx + 0x208], 1
cmp dword [0x1000da574], esi
jne 0x100019079
lea rcx, str.WinAppsRenderer_DeferredDelete
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x1000da574], eax
cmp dword [0x1000da578], esi
jne 0x100019094
lea rcx, str.WinAppsRenderer_DeferredMessage
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x1000da578], eax
cmp dword [0x1000da580], esi
jne 0x1000190af
lea rcx, str.WinAppsRenderer_RecomposeTree
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x1000da580], eax
cmp dword [0x1000da57c], esi
jne 0x1000190ca
lea rcx, str.WinAppsRenderer_GetRoot
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x1000da57c], eax
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, rdi
jmp 0x100019001

Function at 0x1000197d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
movzx edx, dx
mov r8d, 0xa
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x100021b97
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test eax, eax
je 0x100021b97
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x100021b97
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x100021b97
mov edx, esi
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
xor ecx, ecx
mov edx, 0x8007000e
test rax, rax
mov qword [rbp], rax
cmove ecx, edx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ecx
add rsp, 0x20
pop rdi
ret
call sub.KERNEL32.dll_GetLastError
test eax, eax
je 0x100021bb3
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
jmp 0x100019862
mov ecx, 0x80004005
jmp 0x100019862
Function at 0x10001a04c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x60
mov rax, qword [rcx]
mov rbx, rdx
mov rbp, rcx
xor esi, esi
call qword [rax + 0x28]
movzx r13d, ax
cmp ax, si
je 0x100026beb
mov rax, qword [rbp]
mov rcx, rbp
mov qword [rbp + 0x28], rbx
call qword [rax + 0xb0]
mov rcx, rbp
mov r12d, eax
mov rax, qword [rbp]
call qword [rax + 0xa8]
cmp al, sil
jne 0x100026c0d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rbp
mov rbx, rax
mov rax, qword [rbp]
call qword [rax + 0xb8]
mov rcx, rbp
mov edi, eax
mov rax, qword [rbp]
call qword [rax + 0x30]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov r8, rax
movzx edx, r13w
mov r9d, edi
mov ecx, r12d
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbp + 8], rax
cmp rax, rsi
je 0x100026beb
mov ecx, dword [0x1000da5a0]
mov qword [rbp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, qword [rbp + 0x80]
mov rcx, rax
call fcn.100010180
mov rcx, qword [rbp + 8]
lea rbx, [rbp + 0x20]
mov edi, 1
lea r8, [0x10000152c]
mov r9, rbp
mov edx, edi
mov qword [rsp + 0x20], rbx
call fcn.100005ecc
cmp qword [rbx], rsi
je 0x100026beb
mov rcx, qword [rbp + 0x28]
cmp rcx, rsi
jne 0x100026c17
cmp qword [rbx], rsi
je 0x10001a181
mov rcx, qword [rbx]
mov edx, 0x400
mov r8d, edx
call fcn.10000123c
mov ecx, 0x1000
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea r8, [rbp + 0x78]
lea rdx, [rbp + 0x18]
cmp eax, esi
lea rcx, [0x1000dbfa0]
setne al
mov byte [rbp + 0x70], al
call fcn.10001a210
xor ecx, ecx
call fcn.100006514
cmp al, sil
je 0x10001a1e4
mov rdx, qword [rbp]
mov rcx, rbp
call qword [rdx + 0xc8]
mov rcx, qword [rbp + 8]
mov r9d, 4
lea edx, [r9 + 4]
lea r8, [rsp + 0x80]
mov dword [rsp + 0x80], eax
call qword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
lea r11, [rsp + 0x60]
mov eax, esi
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
call sub.KERNEL32.dll_GetLastError
mov r11d, eax
cmp eax, esi
je 0x100026c2f
movzx eax, ax
or eax, 0x80070000
cmp r11d, esi
cmovle eax, r11d
mov esi, eax
jmp 0x10001a1e4
bts r12d, 0x13
jmp 0x10001a0a9
mov r9, qword [rbp + 8]
mov r8, rdi
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
nop
jmp 0x10001a16c
mov esi, 0x80004005
jmp 0x10001a1e4

Function at 0x10001b6c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x10001b707
cmp rcx, 0xffffffffffffffff
je 0x10001b707
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10001b705
cmp dword [rcx + 0x3c], edx
jl 0x10001b705
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10001b705
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x10001b707
mov rax, rdx
add rsp, 0x18
ret
Function at 0x10001df18
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
lea rax, [0x1000a9c00]
mov qword [rcx], rax
mov rcx, qword [rcx + 0x1f8]
test rcx, rcx
jne 0x100023289
mov rcx, qword [rbx + 0x1e8]
test rcx, rcx
je 0x10001df66
mov rdx, qword [rbx + 0x1f0]
test rdx, rdx
je 0x10001df66
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rbx + 0x1e0]
test rcx, rcx
je 0x10001df80
call qword [sym.imp.GDI32.dll_DeleteObject]
and qword [rbx + 0x1e0], 0
mov rcx, qword [rbx + 0x1e8]
test rcx, rcx
je 0x10001df9a
call qword [sym.imp.GDI32.dll_DeleteDC]
and qword [rbx + 0x1e8], 0
cmp qword [rbx + 0x1c0], 0
je 0x10001dfac
and qword [rbx + 0x1c0], 0
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x10001dfbf
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.10001dfd0
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
and qword [rbx + 0x1f8], 0
jmp 0x10001df48

Function at 0x10001dfd0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
lea rax, [0x1000a9b20]
mov qword [rcx], rax
call fcn.10001e06c
nop
cmp qword [rbx + 0x190], 0
jne 0x1000225ec
mov rcx, qword [rbx + 0x188]
test rcx, rcx
je 0x10001e017
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
cmp qword [rbx + 0x170], 0
jne 0x1000225f9
mov rcx, qword [rbx + 0x168]
test rcx, rcx
je 0x10001e038
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
cmp qword [rbx + 0x150], 0
jne 0x100022606
mov rcx, qword [rbx + 0x148]
test rcx, rcx
je 0x10001e059
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.10001c660
and qword [rbx + 0x190], 0
jmp 0x10001e004
and qword [rbx + 0x170], 0
jmp 0x10001e025
and qword [rbx + 0x150], 0
jmp 0x10001e046
Function at 0x10001e60c
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x90
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rdi, rcx
and qword [rax - 0x60], 0
and dword [rax - 0x58], 0
and dword [rax - 0x54], 0
mov byte [rcx + 0x540], 1
call fcn.100001634
lea rcx, [rdi + 0x212]
lea rdx, [rsp + 0x48]
call fcn.10001b834
xor esi, esi
xor ebx, ebx
movsxd rbp, dword [rsp + 0x50]
test rbp, rbp
jg 0x100020803
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
test rbp, rbp
jne 0x100020894
cmp byte [rdi + 0x5c0], 0
je 0x10001e6aa
lea rcx, [rdi + 0x598]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rdi + 0x550]
call fcn.10001b8c8
lea rcx, [rdi + 0x598]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x1000da5f0]
mov rax, qword [rcx]
lea rdx, [rsp + 0xb8]
call qword [rax + 0x10]
mov ebx, eax
test eax, eax
js 0x10001e6d5
mov rdx, rdi
mov rcx, qword [rsp + 0xb8]
call fcn.10001cd50
or ecx, 0xffffffff
lock xadd dword [rdi + 0x5c8], ecx
add ecx, 0xffffffff
jne 0x10001e6f1
mov rax, qword [rdi]
lea edx, [rcx + 1]
mov rcx, rdi
call qword [rax]
nop
lea rcx, [rsp + 0x48]
call fcn.10001e71c
mov eax, ebx
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
mov r12, qword [rsp + 0x48]
and qword [rsp + 0xb0], 0
test rbx, rbx
js 0x100020879
cmp esi, dword [rsp + 0x50]
jge 0x100020879
mov rax, qword [r12 + rbx*8]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x10002085f
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1770
mov dword [rsp + 0x20], 8
xor r9d, r9d
mov edx, 0x112
mov r8d, 0xf060
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x10002086f
inc esi
inc rbx
cmp rbx, rbp
jge 0x10001e66a
jmp 0x100020808
mov ebx, 0x80004005
jmp 0x10001e6d5
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov ecx, 0xc000008c
call qword [sym.imp.KERNEL32.dll_RaiseException]
lea rcx, [rdi + 0x510]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [rdi + 0x4f8], 0
je 0x100020929
lea rcx, [rdi + 0x510]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10002090c
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1000208d7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x1770
jb 0x100020894
mov ebx, 0x80004005
jmp 0x10001e6d5
lea rcx, [rdi + 0x510]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
jmp 0x10001e67b
Function at 0x10001e80c
Capabilities:
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
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov rsi, rcx
jne 0x100024df3
xor ebx, ebx
jmp 0x10001e832
test rbx, rbx
jne 0x100024e25
lea rcx, [rsi + 8]
call fcn.10001daec
mov ecx, dword [0x1000da584]
cmp ecx, 0xffffffff
je 0x10001e873
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x10001e865
lea edx, [rbx + 1]
mov rcx, rax
call fcn.10001bb38
mov ecx, dword [0x1000da584]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x10001e88c
call sub.gdiplus.dll_GdiplusShutdown
and qword [rsi + 0xd0], 0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x20
pop rdi
ret
xor eax, eax
cmp dword [rcx + 0x18], eax
jbe 0x10001e82e
mov rbx, qword [rcx + 8]
mov rcx, rbx
cmp qword [rcx], 0
jne 0x100024e1c
inc eax
add rcx, 8
cmp eax, dword [rsi + 0x18]
jae 0x10001e82e
jmp 0x100024e05
mov rbx, qword [rbx + rax*8]
jmp 0x10001e832
mov rbp, rbx
test rbx, rbx
je 0x100024e69
mov rcx, qword [rbx + 0x10]
test rcx, rcx
jne 0x100024e66
mov eax, dword [rbx + 0x18]
xor edx, edx
div dword [rsi + 0x18]
inc edx
movsxd rax, edx
shl rax, 3
cmp edx, dword [rsi + 0x18]
jae 0x100024e66
mov r8, qword [rsi + 8]
cmp qword [r8 + rax], 0
je 0x100024e5b
mov rcx, qword [rax + r8]
inc edx
add rax, 8
test rcx, rcx
je 0x100024e47
mov rbx, rcx
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10001e832
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_DestroyWindow]
nop
jmp 0x10001e832
Function at 0x10001ef40
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
lea r8d, [rdx + 0x18]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x100026042
and qword [rax], 0
and qword [rax + 8], 0
and qword [rax + 0x10], 0
and dword [rax + 0x18], 0
jmp 0x10001ef94
test rbx, rbx
je 0x10001efe7
xor esi, esi
cmp qword [rdi + 0x178], rsi
ja 0x100026049
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [fcn.10001f008]
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1000da5d8], rax
test rax, rax
je 0x10002609a
mov rsi, qword [rdi + 0x178]
test rsi, rsi
jne 0x1000260a8
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
xor ebx, ebx
jmp 0x10001ef94
mov rbp, qword [rbx + 8]
mov rax, qword [rdi + 0x170]
mov rcx, rbx
mov r12, qword [rax + rsi*8]
lea rdx, [rbp + 1]
call fcn.100002480
test eax, eax
js 0x100026088
mov rax, qword [rbx]
xor ecx, ecx
mov rdx, r12
mov qword [rax + rbp*8], rcx
mov rax, qword [rbx]
lea rcx, [rax + rbp*8]
call fcn.100006318
test eax, eax
js 0x100026088
inc qword [rbx + 8]
inc rsi
cmp rsi, qword [rdi + 0x178]
jae 0x10001efa8
jmp 0x100026049
mov rcx, rbx
call fcn.10001f008
nop
jmp 0x10001efd7
mov rbp, qword [rdi + 0x170]
xor ebx, ebx
test rsi, rsi
je 0x1000260d4
mov rcx, qword [rbp + rbx*8]
test rcx, rcx
je 0x1000260cc
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbp + rbx*8], 0
inc rbx
cmp rbx, rsi
jb 0x1000260b6
and qword [rdi + 0x178], 0
jmp 0x10001efe7
Function at 0x10002bc6c
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
xor ebx, ebx
mov rcx, rdx
mov ebp, r9d
mov rdi, rdx
mov qword [rax - 0x10], rbx
mov byte [rax - 0x18], bl
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 2
jne 0x10002bd25
lea r9, [rsp + 0x38]
mov r8b, 1
mov rdx, rdi
mov rcx, rsi
call fcn.1000086c0
mov rbx, qword [rsp + 0x38]
mov edi, eax
test eax, eax
js 0x10002bd3f
mov r9d, dword [rsp + 0x70]
lea rax, [rsp + 0x30]
mov r8d, ebp
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.10002c030
mov edi, eax
test eax, eax
js 0x10002bd2f
mov rdx, rbx
mov rcx, rsi
call fcn.10001cd50
test edi, edi
jne 0x10002bd17
lea rdx, [rbx + 0x212]
lea rcx, [rsi + 0x30]
mov r8, rbx
call fcn.100013ab0
mov edi, eax
test eax, eax
jns 0x10002bd2f
mov rcx, rbx
call fcn.10001e60c
xor ebx, ebx
jmp 0x10002bd2f
mov rcx, rbx
call fcn.10001e60c
xor ebx, ebx
xor edi, edi
jmp 0x10002bd2f
mov edi, 0x80070005
mov byte [rsp + 0x30], 1
cmp byte [rsp + 0x30], 0
jne 0x10002bd78
test edi, edi
js 0x10002bd3f
cmp edi, 1
jne 0x10002bd78
test rbx, rbx
je 0x10002bd4d
cmp byte [rbx + 0x541], 0
jne 0x10002bd78
mov r8, qword [0x1000da200]
mov r9d, 0x1770
xor edx, edx
mov ecx, 0x80004005
mov qword [rsp + 0x28], 0x1772
mov qword [rsp + 0x20], 0x1771
call fcn.10003fcfc
test rbx, rbx
je 0x10002be0c
mov rcx, rbx
call fcn.10000aa04
test eax, eax
js 0x10002be0c
mov rcx, rbx
call fcn.100006470
cmp eax, 2
jne 0x10002be0c
call fcn.100004298
and qword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
mov r8b, 1
mov rcx, rbx
mov rsi, rax
call fcn.10002c540
test eax, eax
js 0x10002bdf3
xor ecx, ecx
test byte [rsp + 0x70], 1
jne 0x10002bde9
xor eax, eax
test rsi, rsi
je 0x10002bde0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7e9
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
neg eax
sbb ecx, ecx
neg ecx
add ecx, 2
mov rdx, qword [rsp + 0x38]
call fcn.100034dbc
test rsi, rsi
je 0x10002be0c
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7f8
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x10002c370
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1000da5c8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
lea rcx, [rsp + 0x60]
xor esi, esi
mov bl, r8b
mov word [rsp + 0x60], si
call fcn.1000323d4
cmp bl, sil
je 0x10002c3ee
lea r8d, [rsi + 0x30]
lea rcx, [rsp + 0x28]
xor edx, edx
mov qword [rsp + 0x20], rsi
call sub.msvcrt.dll_memset
lea r11, [rdi + 0x212]
mov eax, 0x414
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
lea rcx, [rdi + 0x420]
call fcn.10001d0f8
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1000031d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x10002e77c
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rsi, rcx
and qword [r11 + 8], 0
and qword [r11 + 0x10], 0
add rcx, 8
mov rax, qword [rcx]
lea r8, [r11 + 8]
lea rdx, [0x1000b8d48]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x10002e93f
mov rax, qword [rsi]
lea rdx, [rsp + 0x58]
mov rcx, rsi
call qword [rax + 0x38]
mov ebx, eax
test eax, eax
js 0x10002e93f
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov ecx, dword [0x1000da5a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and qword [rsi + 0xb0], 0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov edx, 8
mov r8d, 0x3a0
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x10002e822
mov rcx, rax
call fcn.10004c9ec
mov rcx, rax
jmp 0x10002e824
xor ecx, ecx
mov qword [rsi + 0xb0], rcx
test rcx, rcx
jne 0x10002e837
mov ebx, 0x8007000e
jmp 0x10002e84c
mov rax, qword [rcx]
mov r8, rbx
mov rdx, rdi
call qword [rax + 0xf8]
mov ebx, eax
test eax, eax
jns 0x10002e86a
mov rcx, qword [rsi + 0xb0]
test rcx, rcx
je 0x10002e86a
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
and qword [rsi + 0xb0], 0
test ebx, ebx
js 0x10002e93f
mov rax, qword [rsi + 0xb0]
mov edi, dword [rax + 0x178]
lea rcx, [rsi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0xe0]
mov rbx, rax
call fcn.100004298
mov rcx, rax
mov r9, rbx
mov r8, rdi
mov edx, 0x7ea
call qword [sym.imp.USER32.dll_PostMessageW]
mov r11, qword [rsi + 0xb0]
mov rdx, qword [rsi + 0x40]
mov ebx, 0x8000ffff
cmp dword [rdx + 0x430], 1
jne 0x10002e8ed
lea rax, [rsi + 0xe0]
lea r9, [rsi + 0xd8]
mov qword [rsp + 0x20], rax
mov r8b, byte [rdx + 0x448]
mov rdx, qword [rdx + 0x438]
mov rcx, qword [r11 + 0x20]
call fcn.10004366c
mov ebx, eax
test ebx, ebx
js 0x10002e93f
mov rcx, qword [rsi + 0x40]
mov rax, qword [rcx]
lea rdx, [rsi + 0xc8]
call qword [rax + 0x88]
mov ebx, eax
test eax, eax
js 0x10002e93f
mov rcx, qword [rsi + 0xb0]
mov rax, qword [rcx]
mov rdx, qword [rsi + 0xd8]
call qword [rax + 0x48]
mov r11, qword [rsi + 0xe0]
mov rax, qword [rsi + 0xb0]
mov qword [rax + 0x120], r11
mov dword [r11 + 0x178], 1
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x10002e956
and qword [rsp + 0x58], 0
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x10002e971
and qword [rsp + 0x50], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x10002e97c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x100033190
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x260
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1000da5c8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov ebp, edx
mov r12, rcx
lea r14, [0x1000da190]
mov qword [rsp + 0x38], r14
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xor r13d, r13d
mov esi, r13d
mov rdi, r13
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], r13
mov word [rsp + 0x40], r13w
lea r9, [rsp + 0x28]
lea r8, [0x1000b1864]
mov edx, ebp
lea rcx, [rsp + 0x40]
call fcn.100004700
mov rbx, qword [rsp + 0x28]
cmp eax, r13d
jl 0x10003328b
cmp rbx, r13
je 0x10003328b
cmp word [rbx], r13w
je 0x10003328b
lea rdx, [0x1000b16d4]
lea rcx, [rsp + 0x20]
call fcn.100007e60
mov esi, eax
cmp eax, r13d
jl 0x100033286
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.100049328
mov esi, eax
cmp eax, r13d
jl 0x100033286
mov rdi, qword [rsp + 0x20]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, r13d
je 0x10003327d
movzx esi, ax
or esi, 0x80070000
cmp eax, r13d
cmovle esi, eax
jmp 0x10003328b
call fcn.10006bdec
mov esi, eax
jmp 0x10003328b
mov rdi, qword [rsp + 0x20]
cmp rbx, r13
je 0x10003329a
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
cmp rdi, r13
je 0x1000332a8
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, r13d
jl 0x1000332bb
lea rcx, [r12 + 8]
mov edx, ebp
call fcn.1000323d4
mov esi, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1000031d0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret