joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010aa10
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1403d49f8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403d0f4c]
test eax, eax
je 0x14010aa5b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403d0f4c]
test eax, eax
jne 0x14010aa64
call fcn.1400f1444
test eax, eax
je 0x14010aa80
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1403c72c8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14010aa88
xor eax, eax
jmp 0x14010aaed
test rbx, rbx
jne 0x14010aaa8
lea rcx, str.GetSaveFileNameA
call fcn.1400f70c0
mov rbx, rax
test rax, rax
je 0x14010aabb
mov qword [0x1403d49f8], rax
mov rcx, rbx
call fcn.140286d84
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14010aad0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14010aad2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14010aaeb
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14010ec78
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
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x14010eca1
mov rdi, qword [rdx + 0x10]
jmp 0x14010ecf2
mov rdx, qword [rdx + 0x10]
mov r8d, 5
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
jne 0x14010ecc2
call fcn.1400f449c
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14010ecdc
call fcn.1400f449c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x14010ecf2
call fcn.1400f449c
call fcn.1400f1aec
cmp qword [rax + 0x68], 0
je 0x14010ed0c
mov rdx, rdi
mov rcx, rbp
call fcn.14010e070
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.14010ef78
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x14010ed33
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x14010ed42
mov rdi, rsi
mov qword [rbp + 0xf8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14010f10c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rax - 0x18], rbx
mov r14, qword [0x1403d4ad0]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x1403d0f4c]
test eax, eax
je 0x14010f158
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403d0f4c]
test eax, eax
jne 0x14010f161
call fcn.1400f1444
test eax, eax
je 0x14010f17d
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1403c72c8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14010f188
xor eax, eax
jmp 0x14010f217
test r14, r14
jne 0x14010f1a5
lea rcx, str.CreatePropertySheetPageA
call fcn.14010f424
test rax, rax
je 0x14010f1e2
mov qword [0x1403d4ad0], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x14010f1c6
cmp dword [rdi], 0x60
jb 0x14010f1c6
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x1403c72c8]
mov qword [rdi + 0x58], rax
mov rbx, qword [0x1403d4ad0]
mov rcx, rbx
call fcn.140286d84
mov rcx, rdi
call rbx
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x14010f1f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14010f1fb
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x14010f214
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14010f230
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1403d4ad8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403d0f4c]
test eax, eax
je 0x14010f27b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403d0f4c]
test eax, eax
jne 0x14010f284
call fcn.1400f1444
test eax, eax
je 0x14010f2a0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1403c72c8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14010f2a8
xor eax, eax
jmp 0x14010f30d
test rbx, rbx
jne 0x14010f2c8
lea rcx, str.DestroyPropertySheetPage
call fcn.14010f424
mov rbx, rax
test rax, rax
je 0x14010f2db
mov qword [0x1403d4ad8], rax
mov rcx, rbx
call fcn.140286d84
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14010f2f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14010f2f2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14010f30b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14010f324
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
or rdi, 0xffffffffffffffff
mov qword [rax - 0x18], rdi
mov rbx, qword [0x1403d4ae0]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x1403d0f4c]
test eax, eax
je 0x14010f373
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403d0f4c]
test eax, eax
jne 0x14010f37c
call fcn.1400f1444
test eax, eax
je 0x14010f398
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1403c72c8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14010f3a2
or rax, 0xffffffffffffffff
jmp 0x14010f40c
test rbx, rbx
jne 0x14010f3c2
lea rcx, str.PropertySheetA
call fcn.14010f424
mov rbx, rax
test rax, rax
je 0x14010f3d7
mov qword [0x1403d4ae0], rax
mov rcx, rbx
call fcn.140286d84
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x14010f3ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14010f3f0
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14010f409
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14012d324
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 8], 0
jne 0x14012c99e
xor eax, eax
add rsp, 0x28
ret
call fcn.14012c9e4
mov rcx, rax
add rsp, 0x28
jmp 0x14012d324
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1403d5068]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403d0f4c]
test eax, eax
je 0x14012d36f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403d0f4c]
test eax, eax
jne 0x14012d378
call fcn.1400f1444
test eax, eax
je 0x14012d394
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1403c72c8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14012d39c
xor eax, eax
jmp 0x14012d401
test rbx, rbx
jne 0x14012d3bc
lea rcx, str.ImageList_Destroy
call fcn.140104c6c
mov rbx, rax
test rax, rax
je 0x14012d3cf
mov qword [0x1403d5068], rax
mov rcx, rbx
call fcn.140286d84
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14012d3e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14012d3e6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14012d3ff
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14012d418
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor esi, esi
mov qword [rax - 0x20], rsi
mov rbx, qword [0x1403d5070]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x1403d0f4c]
test eax, eax
je 0x14012d475
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403d0f4c]
test eax, eax
jne 0x14012d47e
call fcn.1400f1444
test eax, eax
je 0x14012d49a
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1403c72c8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x14012d4a5
xor eax, eax
jmp 0x14012d538
test rbx, rbx
jne 0x14012d4c5
lea rcx, str.ImageList_LoadImageA
call fcn.140104c6c
mov rbx, rax
test rax, rax
je 0x14012d504
mov qword [0x1403d5070], rax
mov rcx, rbx
call fcn.140286d84
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8d, r15d
mov rdx, r12
mov rcx, r13
call rbx
mov rsi, rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x14012d51a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14012d51c
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14012d535
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
Function at 0x14013c110
Capabilities:
Extract resource via kernel32 functions

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
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
jne 0x14013c141
call fcn.1400f1aec
mov rdi, qword [rax + 0x18]
lea r8, [0x14030fba8]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbp, rax
test rax, rax
jne 0x14013c160
xor eax, eax
jmp 0x14013c1ac
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14013c15c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14013c1a1
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.14013c1c8
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
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 0x14013ef60
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1403d5628]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403d0f4c]
test eax, eax
je 0x14013efab
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403d0f4c]
test eax, eax
jne 0x14013efb4
call fcn.1400f1444
test eax, eax
je 0x14013efd0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1403c72c8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14013efd8
xor eax, eax
jmp 0x14013f03d
test rbx, rbx
jne 0x14013eff8
lea rcx, str.ImageList_GetImageCount
call fcn.140104c6c
mov rbx, rax
test rax, rax
je 0x14013f00b
mov qword [0x1403d5628], rax
mov rcx, rbx
call fcn.140286d84
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14013f020
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14013f022
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14013f03b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1401cb834
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x1401cba04
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edx, edx
test eax, eax
jne 0x1401cba46
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret

Function at 0x1401cbeb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1401cbf82
test rbx, rbx
je 0x1401cbf88
test r9, r9
je 0x1401cbf8e
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1401cbf6b
cmp dword [rsp + 0x48], 3
jne 0x1401cbf6b
test eax, eax
jne 0x1401cbf6b
cmp dword [rdi], eax
je 0x1401cbf6b
mov ecx, dword [rdi]
call fcn.1400ed9e0
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1401cbf5f
cmp dword [rsp + 0x48], 3
jne 0x1401cbf5f
test eax, eax
jne 0x1401cbf5f
mov eax, 1
jmp 0x1401cbf6d
mov rcx, qword [rbx]
call fcn.1400ed9d8
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.1400ee758
int3
call fcn.1400ee758
int3
call fcn.1400ee758
int3

Function at 0x1401cc2b4
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1401cc2c5
xor eax, eax
jmp 0x1401cc2f3
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1401cc2fc
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1401cc30d
xor eax, eax
jmp 0x1401cc331
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14022c354
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1403d9390]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403d0f4c]
test eax, eax
je 0x14022c39f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403d0f4c]
test eax, eax
jne 0x14022c3a8
call fcn.1400f1444
test eax, eax
je 0x14022c3c4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1403c72c8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14022c3cc
xor eax, eax
jmp 0x14022c431
test rbx, rbx
jne 0x14022c3ec
lea rcx, str.ChooseColorA
call fcn.1400f70c0
mov rbx, rax
test rax, rax
je 0x14022c3ff
mov qword [0x1403d9390], rax
mov rcx, rbx
call fcn.140286d84
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14022c414
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14022c416
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14022c42f
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140231078
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1403d94e0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403d0f4c]
test eax, eax
je 0x1402310c3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403d0f4c]
test eax, eax
jne 0x1402310cc
call fcn.1400f1444
test eax, eax
je 0x1402310e8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1403c72c8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1402310f0
xor eax, eax
jmp 0x140231155
test rbx, rbx
jne 0x140231110
lea rcx, str.PrintDlgA
call fcn.1400f70c0
mov rbx, rax
test rax, rax
je 0x140231123
mov qword [0x1403d94e0], rax
mov rcx, rbx
call fcn.140286d84
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140231138
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14023113a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140231153
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14028b0a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ecx, dword [0x1403c87c8]
cmp ecx, 0xffffffff
jne 0x14028b0c6
xor esi, esi
jmp 0x14028b0cf
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov qword [rsp + 0x50], rsi
test rsi, rsi
je 0x14028b1c3
nop dword [rax]
mov rbx, qword [rsi + 0x18]
cmp qword [rsi + 0x30], 0
jne 0x14028b0f6
test rbx, rbx
je 0x14028b19c
jmp 0x14028b100
test rbx, rbx
je 0x14028b154
nop dword [rax + rax]
mov rax, qword [rbx + 8]
mov qword [rsi + 0x18], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x14028b137
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rbx]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsi + 0x18]
test rbx, rbx
jne 0x14028b100
cmp qword [rsi + 0x30], 0
je 0x14028b0e0
nop dword [rax + rax]
mov rbx, qword [rsi + 0x28]
mov rbx, qword [rbx]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14028b17f
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x14028b17f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, rbx
lea rdx, [rsp + 0x58]
lea rcx, [rsi + 0x28]
call fcn.14008cf5c
cmp qword [rsi + 0x30], 0
jne 0x14028b160
jmp 0x14028b0e0
lea rdx, [0x14028a3a0]
lea rcx, [0x1403db7f8]
call fcn.14028a170
mov ecx, dword [0x1403c87c8]
cmp ecx, 0xffffffff
je 0x14028b1c3
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test rsi, rsi
je 0x14028b1f4
or eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14028b1f4
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x14028b210
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r9, qword [rcx]
lea r8, [0x14028b2a0]
mov rdi, rcx
xor edx, edx
xor ecx, ecx
lea rax, [r9 + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call fcn.1402a59f8
mov rsi, rax
test rax, rax
jne 0x14028b254
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
mov rax, qword [rdi]
lock inc dword [rax + 8]
mov rbx, qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14028b277
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rdi]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x40]
mov al, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1402ae100
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1402aded4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1402aded4
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402aded4
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1402aded4
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402aded4
cmp dword [rcx + 0x84], 0xe
jbe 0x1402aded4
cmp dword [rcx + 0xf8], esi
je 0x1402aded4
mov ecx, r14d
call fcn.1402ae01c
mov ecx, 2
call fcn.1402b06f8
nop
cmp byte [0x1403dba90], 0
jne 0x1402adf9e
mov r15d, 1
mov eax, r15d
xchg dword [0x1403dba80], eax
test ebx, ebx
jne 0x1402adf47
mov rdi, qword [0x1403c86e8]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1403dba88]
cmp rcx, rax
je 0x1402adf3e
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1401887f0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1403dbbc8]
jmp 0x1402adf53
cmp ebx, r15d
jne 0x1402adf59
lea rcx, [0x1403dbbe0]
call fcn.1402aebd8
nop
test ebx, ebx
jne 0x1402adf70
lea rdx, [0x1402d8180]
lea rcx, [0x1402d8160]
call fcn.1402aeea4
lea rdx, [0x1402d8198]
lea rcx, [0x1402d8188]
call fcn.1402aeea4
movzx eax, byte [0x1403dba90]
test esi, esi
cmove eax, r15d
mov byte [0x1403dba90], al
jmp 0x1402adf9e
mov ecx, 2
call fcn.1402b074c
test esi, esi
jne 0x1402adfb5
mov ecx, r14d
call fcn.1402adfd0
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1402ade64