joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x1400132f0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014640
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014660
xor al, al
jmp 0x1400146e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014673
xor al, al
jmp 0x1400146e1
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 0x14001469d
xor al, al
jmp 0x1400146e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400146b1
xor al, al
jmp 0x1400146e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400146c3
xor al, al
jmp 0x1400146e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400146df
xor al, al
jmp 0x1400146e1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012530
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113b1
movzx eax, al
test eax, eax
jne 0x140012550
mov ecx, 7
call fcn.14001132f
nop
mov byte [rsp + 0x20], 0
call fcn.140011343
mov byte [rsp + 0x21], al
cmp dword [0x14001e868], 1
jne 0x140012574
mov ecx, 7
call fcn.14001132f
nop
jmp 0x1400125cc
cmp dword [0x14001e868], 0
jne 0x1400125c7
mov dword [0x14001e868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111a9
test eax, eax
je 0x1400125a8
mov eax, 0xff
jmp 0x1400126d1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011339
mov dword [0x14001e868], 2
jmp 0x1400125cc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001131b
call fcn.1400112b2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012629
mov rcx, qword [rsp + 0x30]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x140012629
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112e4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001265d
mov rcx, qword [rsp + 0x38]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x14001265d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011370
nop
call fcn.140012780
mov dword [rsp + 0x28], eax
call fcn.14001128f
movzx eax, al
test eax, eax
jne 0x14001267c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001268b
call fcn.14001137a
nop
xor edx, edx
mov cl, 1
call fcn.14001114a
mov eax, dword [rsp + 0x28]
jmp 0x1400126d1
add rsp, 0x68
ret
Function at 0x14000234c
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rcx, [rsp + 0x58]
call fcn.140001a44
lea rcx, [rsp + 0x58]
call fcn.140002b90
mov rbx, qword [rsp + 0x58]
cmp dword [rbx - 0x10], 0
jne 0x1400023c4
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140001704
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140002ed4
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400023b5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x58]
call fcn.1400041b0
mov rbx, qword [rsp + 0x58]
and dword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
test rax, rax
jne 0x1400023e8
call fcn.140003c1c
mov edi, eax
jmp 0x140002402
mov edx, dword [rsp + 0x50]
mov r8, rsi
mov rcx, rdi
call fcn.140002430
mov rcx, rsi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000241c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140003d28
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 rsi, rdx
mov rbx, rcx
call fcn.14000144c
xor ebp, ebp
mov rcx, rax
test rax, rax
je 0x140003e00
mov rax, qword [rax]
call qword [rax + 0x18]
xor r8d, r8d
xor edx, edx
add rax, 0x18
mov rcx, rsi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
je 0x140003dd8
test eax, eax
js 0x140003df5
mov rax, qword [rbx]
lea edx, [rbp + 1]
mov ecx, dword [rax - 0xc]
sub edx, dword [rax - 8]
sub ecx, edi
or edx, ecx
jge 0x140003d99
mov edx, edi
mov rcx, rbx
call fcn.140001d9c
mov rax, qword [rbx]
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140003db4
mov eax, ebp
jmp 0x140003dc1
movsxd rdx, dword [rcx - 0xc]
call fcn.140009920
test eax, eax
js 0x140003df5
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140003df5
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x140003ddd
call fcn.140003c1c
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.140001200
int3
mov ecx, 0x80004005
call fcn.140001200
int3
Function at 0x140004b10
Capabilities:
Open clipboard
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x140028038]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov esi, r9d
mov edi, ecx
cmp ecx, 0x80000003
jne 0x140004b68
xor eax, eax
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1400055f0
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x802
call fcn.140006ad0
mov rbx, qword [0x14002a8c8]
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.1400017f8
mov r9, qword [rsp + 0x40]
lea rax, str.baselogging.cc
mov dword [rsp + 0x38], esi
lea rdx, str.Exception__x_in__s__s__u_r_n_r_n_hs:_d_r_n
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x50]
and dword [rsp + 0x28], 0
mov r8d, edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140004be0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140004c05
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140004c40
mov r9d, 0x250012
lea r8, str.Exception
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
sub eax, 3
je 0x140004c34
cmp eax, 1
jne 0x140004c2a
int3
mov eax, 1
jmp 0x140004b43
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140004c40
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
mov rsi, rcx
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [rbx + 1]
mov ecx, 0x2002
movsxd rdi, eax
add rdi, rdi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140004c90
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.1400066c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x140004cb5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_CloseClipboard]
Function at 0x140004e7c
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.SetDefaultDllDirectories
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140004eaf
mov ecx, 0x800
call rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rsp + 0x30]
mov rbx, rax
call fcn.1400021b0
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000234c
mov ebx, eax
test eax, eax
js 0x140004f6e
lea rdx, str.user
lea rcx, [rsp + 0x20]
call fcn.140001a44
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140002828
mov rdx, qword [rsp + 0x20]
test al, al
sete dil
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140004f1e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, str.unregister
lea rcx, [rsp + 0x28]
call fcn.140001a44
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140002828
mov rdx, qword [rsp + 0x28]
test al, al
sete bl
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140004f62
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov dl, bl
mov cl, dil
call fcn.140004db8
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1400022c8
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14000ad24
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000aa88
Function at 0x1400024b9
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
sub rsp, 0x28
call fcn.140010ff0
mov r15, qword [rsp + 0x28]
cmp r15, 1
jne 0x1400024f5
push qword [0x14001e45c]
pop rcx
call fcn.140006164
and rax, rax
je 0x1400024f5
push qword [0x14001e45c]
pop rcx
call fcn.140006200
call fcn.14000444d
push qword [0x14001e4dc]
pop rcx
call fcn.14000c534
push qword [0x14001e4b4]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
push qword [0x14001e50c]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
mov rax, qword [rsp + 0x40]
mov qword [0x14001e454], rax
jmp 0x14000123b
Function at 0x140002539
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push r15
mov rax, 0x16
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140002557
sub rsp, 0x28
call fcn.140010ff0
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140010f00
add rsp, 0x10
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x30]
sub rsp, 0x10
call fcn.140010f00
add rsp, 0x10
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x38]
sub rsp, 0x10
call fcn.140010f00
add rsp, 0x10
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x40]
sub rsp, 0x10
call fcn.140010f00
add rsp, 0x10
mov rcx, qword [0x14001e4dc]
push rcx
sub rsp, 0x28
call fcn.140010dd0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140011060
add rsp, 0x28
lea rcx, [rsp + 0x50]
pop rdx
call fcn.140010e20
push qword [rsp + 0x48]
pop rcx
call sub.SHLWAPI.DLL_PathQuoteSpacesW
mov rcx, qword [rsp + 0x40]
push rcx
sub rsp, 0x28
call fcn.140010dd0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140011060
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.140011060
add rsp, 0x28
movabs rcx, 0x14001d026
sub rsp, 0x28
call fcn.140011060
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.140011060
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.140010e20
lea rax, [rsp + 0x58]
lea rbp, [rsp + 0x58]
mov dword [rbp], 0x70
mov dword [rbp + 4], 0x140
mov dword [rbp + 0x30], 0
movabs rax, str.open
mov rax, rax
push rax
pop rax
mov qword [rbp + 0x10], rax
mov rax, qword [rsp + 0x28]
mov rax, rax
push rax
pop rax
mov qword [rbp + 0x18], rax
mov rax, qword [rsp + 0x50]
mov rax, rax
push rax
pop rax
mov qword [rbp + 0x20], rax
mov rax, qword [rsp + 0x30]
mov rax, rax
push rax
pop rax
mov qword [rbp + 0x28], rax
lea rax, [rsp + 0x58]
mov rax, rax
push rax
pop rcx
call sub.SHELL32.DLL_ShellExecuteExW
mov qword [rsp + 0xc8], rax
push 0x19
pop rcx
call fcn.140006358
lea rax, [rsp + 0xd0]
mov rax, rax
push rax
lea rbp, [rsp + 0x60]
push qword [rbp + 0x68]
pop rcx
pop rdx
call sub.KERNEL32.dll_GetExitCodeProcess
and rax, rax
je 0x14000272b
mov r15, qword [rsp + 0xd0]
cmp r15, 0x103
je 0x14000272b
jmp 0x14000272d
jmp 0x1400026ed
mov rax, qword [rsp + 0xd0]
jmp 0x14000273a
push rax
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.140010f70
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.140010f70
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.140010f70
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.140010f70
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.140010f70
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.140010f70
add rsp, 0x28
pop rax
add rsp, 0xd8
pop r15
pop rbp
ret
Function at 0x14000361d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140010ff0
push qword [rsp + 0x48]
push qword [rsp + 0x48]
pop rcx
pop rdx
call sub.KERNEL32.dll_LoadResource
mov qword [rsp + 0x28], rax
push qword [rsp + 0x48]
push qword [rsp + 0x48]
pop rcx
pop rdx
call sub.KERNEL32.dll_SizeofResource
mov qword [0x14001e474], rax
push qword [0x14001e474]
pop rcx
call fcn.14000b660
mov qword [rsp + 0x30], rax
push qword [0x14001e474]
push qword [rsp + 0x38]
push qword [rsp + 0x38]
pop rcx
pop rdx
pop r8
call fcn.14000b680
push qword [rsp + 0x28]
pop rcx
call sub.KERNEL32.dll_FreeResource
mov rax, qword [rsp + 0x30]
jmp 0x14000369b
add rsp, 0x38
ret

Function at 0x14000444d
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140010ff0
mov r15, qword [0x14001e48c]
cmp r15, 1
jne 0x14000451c
push qword [0x14001e574]
pop rcx
call fcn.14000c124
mov r15, rax
and r15, r15
jle 0x1400044b2
mov rcx, qword [0x14001e574]
call fcn.14000c12c
mov rcx, qword [0x14001e574]
call fcn.14000c140
or rax, rax
je 0x1400044b2
mov rbp, qword [0x14001e57c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000c534
jmp 0x14000448f
push qword [0x14001e564]
pop rcx
call fcn.14000c124
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x14000451c
push 5
push 0
push 1
push qword [0x14001e564]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140007be0
mov rcx, qword [0x14001e564]
call fcn.14000c12c
mov rcx, qword [0x14001e564]
call fcn.14000c140
or rax, rax
je 0x14000451c
mov rbp, qword [0x14001e56c]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x1400044f9
mov rax, 1
jmp 0x140004528
add rsp, 0x38
pop r15
pop rbp
ret
Function at 0x140005f18
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 [0x14001d1d0]
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 0x140006200
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140006190
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x14001f160]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14001e5b0]
jmp 0x14000623c
cmp qword [rbx + 0x18], rdi
je 0x140006243
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140006233
jmp 0x14000625d
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x14001e5b0]
call fcn.140010878
lea rcx, [0x14001f160]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140006278
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 0x14000633e
lea rcx, [0x14001f160]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14001e5b0]
jmp 0x140006302
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400062ff
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x14001e5b0]
mov rdx, rsi
call fcn.140010878
jmp 0x140006302
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400062cf
mov rdx, qword [0x14001d158]
lea rcx, [0x14001e5b0]
mov rdi, rdx
inc rdx
mov qword [0x14001d158], rdx
lea edx, [rbx + 0x20]
call fcn.1400108c0
lea rcx, [0x14001f160]
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 0x1400064d0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r12
push r13
push r15
sub rsp, 0x28
xor r15d, r15d
mov r13d, r9d
mov r12d, edx
mov ebp, r15d
cmp edx, 1
jl 0x140006634
mov qword [rsp + 0x50], rbx
test rcx, rcx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x20], r14
lea r14, [0x1400175f4]
mov rbx, r14
mov edi, r15d
cmovne rbx, rcx
test r8, r8
cmovne r14, r8
mov rsi, rbx
movzx ecx, word [r14]
test cx, cx
je 0x140006600
cmp word [r14 + 2], di
je 0x140006600
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [r14 + rax*2], di
jne 0x140006540
movsxd r15, eax
nop dword [rax]
mov r8, r15
mov rdx, r14
mov rcx, rbx
call sub.msvcrt.dll_wcsncmp
test eax, eax
je 0x14000656d
cmp word [rbx], bp
je 0x14000656d
add rbx, 2
jmp 0x140006550
inc edi
cmp edi, r12d
je 0x140006582
cmp word [rbx], bp
je 0x14000658b
lea rbx, [rbx + r15*2]
mov rsi, rbx
jmp 0x140006550
mov rbp, rbx
sub rbp, rsi
sar rbp, 1
xor r15d, r15d
mov rcx, rbx
call fcn.140011240
mov r14, qword [rsp + 0x20]
mov edi, eax
test eax, eax
je 0x1400065ba
mov ecx, r13d
call fcn.1400112b0
movsxd r8, ebp
mov rdx, rsi
mov rcx, rax
add r8, r8
call sub.msvcrt.dll_memmove
mov edx, r13d
mov ecx, ebp
call fcn.1400112e0
test edi, edi
mov rdi, qword [rsp + 0x60]
mov rbx, rax
jne 0x1400065de
movsxd r8, ebp
mov rdx, rsi
mov rcx, rax
call sub.msvcrt.dll_wcsncpy
mov rsi, qword [rsp + 0x58]
movsxd rcx, ebp
mov word [rbx + rcx*2], r15w
mov rbx, qword [rsp + 0x50]
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
ret
movzx eax, word [rbx]
cmp ax, cx
je 0x14000660d
test ax, ax
jne 0x140006620
inc edi
cmp edi, edx
je 0x140006626
test ax, ax
je 0x14000658e
lea rsi, [rbx + 2]
add rbx, 2
jmp 0x140006600
mov rbp, rbx
sub rbp, rsi
sar rbp, 1
jmp 0x14000658e
mov ecx, r9d
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
jmp fcn.1400113c0

Function at 0x140007000
Capabilities:
Get thread local storage value

Disassembly:
mov r10, rcx
test rcx, rcx
je 0x140007031
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140007010
mov ecx, 1
mov r9d, r8d
sub ecx, edx
add eax, ecx
mov rcx, r10
mov r8d, eax
jmp 0x140007040
mov ecx, r8d
jmp fcn.1400113c0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov ebp, r8d
test r8d, r8d
mov edi, r9d
mov esi, edx
mov rbx, rcx
cmovs ebp, r15d
call fcn.140011240
mov edx, edi
mov ecx, ebp
mov r14d, eax
call fcn.1400112e0
mov rdi, rax
test r14d, r14d
je 0x140007091
mov ecx, r14d
call fcn.140011400
mov rbx, rax
test rbx, rbx
je 0x1400070d7
cmp esi, 1
jle 0x1400070b1
nop dword [rax + rax]
cmp word [rbx], r15w
je 0x1400070d7
dec esi
add rbx, 2
cmp esi, 1
jg 0x1400070a0
movzx eax, word [rbx]
test ax, ax
je 0x1400070d7
sub rbx, rdi
nop dword [rax]
test ebp, ebp
je 0x1400070d7
mov word [rdi], ax
movzx eax, word [rbx + rdi + 2]
add rdi, 2
dec ebp
test ax, ax
jne 0x1400070c0
mov ecx, ebp
call fcn.1400114b0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov word [rdi], r15w
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140007100
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
mov esi, 0x40
mov ecx, esi
call fcn.1400112e0
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call fcn.14001503c
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rdi + rdx*2], 0
jne 0x140007130
sub esi, edx
mov ecx, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400114b0

Function at 0x14000aab4
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x14000ab2b
movsxd rdx, ecx
lea rcx, [0x14000aa10]
call qword [sym.imp.USER32.DLL_EnumWindows]
mov rbx, qword [0x14001e5f0]
test rbx, rbx
je 0x14000ab9e
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14000ab21
cmp byte [rbx + 0x20], 0
je 0x14000ab21
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 0x14000aae7
jmp 0x14000ab9e
mov rbx, qword [0x14001e5f0]
test rbx, rbx
je 0x14000ab9e
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14000ab96
cmp byte [rbx + 0x21], 0
je 0x14000ab5a
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x14000ab86
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, [0x14001e5f0]
call fcn.140010878
mov rbx, rdi
test rdi, rdi
jne 0x14000ab37
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret