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

Disassembly:
jmp 0x1800d4110
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov ecx, dword [0x180002d20]
cmp ecx, 0xffffffff
jne 0x1800d413d
xor r14d, r14d
jmp 0x1800d4146
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov qword [rsp + 0x50], r14
test r14, r14
je 0x1800d4278
mov rdi, qword [r14 + 0x18]
cmp qword [r14 + 0x28], 0
jne 0x1800d416a
test rdi, rdi
je 0x1800d4251
jmp 0x1800d4170
test rdi, rdi
je 0x1800d41c4
nop
mov rax, qword [rdi + 8]
mov qword [r14 + 0x18], rax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800d41a7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rdi]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [r14 + 0x18]
test rdi, rdi
jne 0x1800d4170
mov rsi, qword [r14 + 0x20]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x1800d4154
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x1800d421e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1800d41fe
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1800d421e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800d41f0
jmp 0x1800d421e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800d421b
cmp rbx, qword [rax + 0x10]
jne 0x1800d421b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800d4208
mov rbx, rax
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1800d4236
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x1800d4236
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, rdi
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 0x20]
call fcn.1800d3a10
cmp rbx, rsi
jne 0x1800d41d0
jmp 0x1800d4154
lea rdx, [0x1800d39d0]
lea rcx, [0x1800edca8]
call fcn.1800d35f0
mov ecx, dword [0x180002d20]
cmp ecx, 0xffffffff
je 0x1800d4278
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test r14, r14
je 0x1800d42a2
lock dec dword [r14 + 8]
jne 0x1800d42a2
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x180001330
Capabilities:
Read file on windows

Disassembly:
mov rax, r9
mov r9, qword [rcx + 8]
mov r10, r8
mov r11, rdx
test r9, r9
jne 0x180001345
xor eax, eax
ret
mov r8, rax
mov rdx, r10
mov rcx, r11
jmp fcn.1800be018

Function at 0x180001360
Capabilities:
Write file on windows

Disassembly:
mov rax, r9
mov r9, qword [rcx + 8]
mov r10, r8
mov r11, rdx
test r9, r9
jne 0x180001375
xor eax, eax
ret
mov r8, rax
mov rdx, r10
mov rcx, r11
jmp fcn.1800be1d4

Function at 0x180004ee0
Capabilities:
Delete file

Disassembly:
add rcx, 0x10
jmp 0x18000b440
push rdi
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xa8], rbx
mov rax, qword [0x18013a210]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, r8
mov rbx, rcx
call fcn.180010250
test al, al
jne 0x18000b482
mov eax, 0x80004005
jmp 0x18000b514
lea rdx, [rbx + 0x80]
mov qword [rsp + 0x70], 7
xor eax, eax
mov qword [rsp + 0x68], rax
mov word [rsp + 0x58], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.180003570
nop
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.180070610
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180011460
nop
cmp qword [rsp + 0x48], 8
jb 0x18000b4e8
mov rcx, qword [rsp + 0x30]
call fcn.1800bd964
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
cmp qword [rsp + 0x70], 8
jb 0x18000b512
mov rcx, qword [rsp + 0x58]
call fcn.1800bd964
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800bd980
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180005a00
Capabilities:
Delete file

Disassembly:
add rcx, 0x58
jmp 0x18000b440

Function at 0x180005b70
Capabilities:
Query environment variable

Disassembly:
add rcx, 0x58
jmp 0x18000ba20

Function at 0x1800085a0
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r8, str.ZooBar_97b91317_61a1_4c43_b513_a0a726ca7979
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 0xc50], rax
test rax, rax
je 0x1800085f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1800085db
xor eax, eax
add rsp, 0x20
pop rbx
ret
xor edx, edx
mov r8b, 3
lea ecx, [rdx + 6]
call fcn.18006db10
test eax, eax
je 0x1800085f8
mov rcx, qword [rbx + 0xc50]
call fcn.180071f20
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x18000b440
Capabilities:
Delete file

Disassembly:
add rcx, 0x10
jmp 0x18000b440
push rdi
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xa8], rbx
mov rax, qword [0x18013a210]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, r8
mov rbx, rcx
call fcn.180010250
test al, al
jne 0x18000b482
mov eax, 0x80004005
jmp 0x18000b514
lea rdx, [rbx + 0x80]
mov qword [rsp + 0x70], 7
xor eax, eax
mov qword [rsp + 0x68], rax
mov word [rsp + 0x58], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.180003570
nop
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.180070610
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180011460
nop
cmp qword [rsp + 0x48], 8
jb 0x18000b4e8
mov rcx, qword [rsp + 0x30]
call fcn.1800bd964
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
cmp qword [rsp + 0x70], 8
jb 0x18000b512
mov rcx, qword [rsp + 0x58]
call fcn.1800bd964
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800bd980
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180012f00
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov r12, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x58], rbx
mov eax, dword [0x180142ce4]
test eax, eax
je 0x180012f46
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180142ce4]
test eax, eax
jne 0x180012f53
call fcn.180016a00
test eax, eax
je 0x180012f69
lea rdx, [rsp + 0x58]
mov rcx, qword [0x18013c120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x180012f6d
xor eax, eax
jmp 0x180012fb1
mov r8, rdi
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.USER32.dll_GetClassInfoExW]
mov esi, eax
mov dword [rsp + 0x20], eax
mov edi, ebx
test eax, eax
sete dil
test edi, edi
je 0x180012f96
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x180012faf
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r12
ret

Function at 0x180013230
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
sub rsp, 0x70
mov edi, r9d
mov rsi, r8
mov r12, rdx
mov r13d, ecx
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rbx
mov eax, dword [0x180142ce4]
test eax, eax
je 0x18001327f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180142ce4]
test eax, eax
jne 0x18001328c
call fcn.180016a00
test eax, eax
je 0x1800132a2
lea rdx, [rsp + 0x60]
mov rcx, qword [0x18013c120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x1800132a9
xor eax, eax
jmp 0x18001334c
mov qword [rsp + 0x58], rbx
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8, rsi
mov rdx, r12
mov ecx, r13d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
mov qword [rsp + 0x68], rax
mov edi, ebx
test rax, rax
sete dil
test edi, edi
je 0x180013330
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x180013349
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop r13
ret
Function at 0x180013b10
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov word [rsp + 0x20], bx
mov qword [rsp + 0x48], rbx
mov eax, dword [0x180142ce4]
test eax, eax
je 0x180013b4b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180142ce4]
test eax, eax
jne 0x180013b58
call fcn.180016a00
test eax, eax
je 0x180013b6e
lea rdx, [rsp + 0x48]
mov rcx, qword [0x18013c120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x180013b73
mov ax, bx
jmp 0x180013bb5
mov rcx, rdi
call qword [sym.imp.USER32.dll_RegisterClassExW]
movzx edi, ax
mov word [rsp + 0x20], ax
mov esi, ebx
test di, di
sete sil
test esi, esi
je 0x180013b99
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test esi, esi
je 0x180013bb2
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ax, di
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180013e20
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x48], rbx
mov eax, dword [0x180142ce4]
test eax, eax
je 0x180013e5b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180142ce4]
test eax, eax
jne 0x180013e68
call fcn.180016a00
test eax, eax
je 0x180013e7e
lea rdx, [rsp + 0x48]
mov rcx, qword [0x18013c120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x180013e82
xor eax, eax
jmp 0x180013ec4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov qword [rsp + 0x20], rax
mov esi, ebx
test rax, rax
sete sil
test esi, esi
je 0x180013ea8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test esi, esi
je 0x180013ec1
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180014530
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x58], rbx
mov eax, dword [0x180142ce4]
test eax, eax
je 0x18001456b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180142ce4]
test eax, eax
jne 0x180014578
call fcn.180016a00
test eax, eax
je 0x18001458e
lea rdx, [rsp + 0x58]
mov rcx, qword [0x18013c120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x180014592
xor eax, eax
jmp 0x1800145da
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x20], rax
mov edi, ebx
test rax, rax
sete dil
test edi, edi
je 0x1800145be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1800145d7
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x180014d90
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
jne 0x180014dc3
lea eax, [r8 + 0xd]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
xor edi, edi
mov rbx, r8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea rbx, [rbx + rax*2]
lea edi, [rdi + rax*2]
cmp eax, 1
jne 0x180014dd2
mov rcx, qword [r12]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x180015490
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x18013a210]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov edi, dword [rcx + 8]
xor eax, eax
mov rsi, rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
or edi, 0x2001f
xor r8d, r8d
mov r9d, edi
mov rbp, rdx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x1800155dc
test rcx, rcx
je 0x180015505
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
and edi, 0x300
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x50], edi
test ebx, ebx
jne 0x1800155dc
xor edi, edi
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1800155b1
nop word [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180015490
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x1800155dc
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor edx, edx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180015560
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1800155c6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rdi
mov rdx, rbp
mov rcx, rsi
mov dword [rsp + 0x50], edi
call fcn.180015680
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x1800155e7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1800bd980
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret

Function at 0x180015680
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x180142d29], 0
mov rdi, rdx
mov rbx, rcx
jne 0x1800156db
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800156cb
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x180142d29], 1
mov qword [0x180142d30], rax
jmp 0x1800156e2
mov rax, qword [0x180142d30]
mov byte [0x180142d29], 1
jmp 0x1800156e2
mov rax, qword [0x180142d30]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x180015701
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
Function at 0x180016420
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x4b0], rbx
mov rax, qword [0x18013a210]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rsi, r9
mov rbx, r8
mov rax, rdx
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x70], r12
xor edx, edx
lea r8d, [r12 + 2]
mov rcx, rax
call fcn.180014530
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x180016497
call fcn.1800145f0
mov ebx, eax
jmp 0x1800165d9
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1800164ba
call fcn.1800145f0
mov ebx, eax
jmp 0x1800165cf
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1800164df
call fcn.1800145f0
mov ebx, eax
jmp 0x1800165cf
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x180016518
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x18001650e
lea rcx, [rsp + 0x70]
call fcn.180014e60
nop
mov eax, 0x8007000e
jmp 0x1800165f2
mov ecx, eax
test eax, eax
je 0x180016555
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x18001654b
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x180016555
lea rcx, [rsp + 0x70]
call fcn.180014e70
mov rax, qword [rsp + 0x70]
jmp 0x18001655f
mov ecx, 0x80070057
call fcn.180016c50
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x180016577
test rax, rax
jne 0x180016583
mov ebx, 0x8007000e
jmp 0x1800165cf
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1800165aa
call fcn.1800145f0
mov ebx, eax
jmp 0x1800165cf
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r12w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180016210
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x1800165f0
lea rcx, [rsp + 0x70]
call fcn.180014e60
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1800bd980
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r12
pop rdi
pop rsi
ret
Function at 0x180026920
Capabilities:
Create process on windows
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x830
mov rax, qword [0x18013a210]
xor rax, rsp
mov qword [rsp + 0x820], rax
cmp dword [rcx + 0xe8], 0
mov rbx, rcx
jne 0x180026a3d
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x50]
mov r8d, 0x7d0
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rbx, qword [0x18013c148]
lea rax, [rsp + 0x50]
shr rax, 0x10
lea r11, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
test ax, ax
jne 0x180026994
lea rcx, [rsp + 0x30]
movzx edx, r11w
call fcn.1800129d0
mov rbx, qword [rsp + 0x30]
jmp 0x1800269f3
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x848], rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rdi, eax
test eax, eax
je 0x1800269eb
lea rcx, [rsp + 0x30]
mov edx, edi
call fcn.180012b30
test eax, eax
je 0x1800269e6
lea eax, [rdi + 1]
mov r8, rdi
movsxd rcx, eax
add r8, r8
add rcx, rcx
cmp rcx, r8
jb 0x1800269e6
mov rbx, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1800c0da0
jmp 0x1800269eb
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x848]
lea rdx, str.open
xor r9d, r9d
mov r8, rbx
xor ecx, ecx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rbx - 0xc]
lea rax, [0x18013c138]
cmp rcx, rax
je 0x180026a7e
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
test eax, eax
jg 0x180026a7e
call fcn.1800bd9a0
jmp 0x180026a7e
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x38], rcx
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [rsp + 0x48], 0x8200
movsxd rcx, eax
mov qword [rsp + 0x40], rcx
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov r8, qword [rsp + 0x40]
lea r9, [rsp + 0x38]
mov rcx, rax
mov edx, 0x4e
call qword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.1800bd980
add rsp, 0x830
pop rbx
ret
Function at 0x180038b60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rdi
push r12
sub rsp, 0x1a0
mov rax, qword [0x18013a210]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, qword [0x180141d20]
mov r12, rcx
mov edi, 1
lea edx, [rdi + 0x67]
mov rcx, rbx
mov r8d, 0xf0
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x180038d51
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180038d51
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x180038d51
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1d8], r13
mov qword [rsp + 0x198], r14
mov qword [rsp + 0x190], r15
xor r13d, r13d
mov r14d, 0x1234
mov r15d, 0x403
mov qword [rsp + 0x1c8], rbp
nop dword [rax]
movzx esi, word [rbx]
cmp r13w, si
je 0x180038d0b
movzx eax, word [rbx + 2]
mov ebp, dword [rbx + 4]
add rbx, 8
cmp r15w, ax
jne 0x180038c8a
lea rax, [rsp + 0x78]
lea rcx, [rsp + 0x70]
mov r8d, 3
mov rdx, rbx
mov qword [rsp + 0x70], rax
call fcn.18003c690
mov rax, qword [rsp + 0x70]
mov rcx, qword [r12 + 8]
movzx edx, si
xor r9d, r9d
mov r8d, 0x143
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rcx, qword [rsp + 0x70]
cmp rax, 0xffffffffffffffff
lea rax, [rsp + 0x78]
cmove edi, r13d
cmp rcx, rax
je 0x180038d00
call fcn.1800bf884
jmp 0x180038d00
cmp r14w, ax
jne 0x180038d00
lea rax, [rsp + 0x78]
lea rcx, [rsp + 0x70]
mov r8d, 3
mov rdx, rbx
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x38], 0xffffffffffffffff
mov qword [rsp + 0x70], rax
call fcn.18003c690
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rcx
cmp rcx, rax
je 0x180038cd7
call fcn.1800bf884
mov rcx, qword [r12 + 8]
lea rax, [rsp + 0x30]
movzx edx, si
xor r9d, r9d
mov r8d, 0x40b
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0xffffffffffffffff
cmove edi, r13d
add rbx, rbp
test edi, edi
jne 0x180038c10
mov rbp, qword [rsp + 0x1c8]
mov r13, qword [rsp + 0x1d8]
mov rsi, qword [rsp + 0x1d0]
mov r14, qword [rsp + 0x198]
mov r15, qword [rsp + 0x190]
mov eax, edi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1800bd980
add rsp, 0x1a0
pop r12
pop rdi
pop rbx
ret
mov eax, edi
jmp 0x180038d35