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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
cmp dword [rsp + 0x38], 0x3e8
jne 0x1400436aa
mov r8d, 0x23
lea rdx, str.ProviderMicrosoft.Networking.SSDP
mov rcx, qword [rsp + 0x48]
call fcn.14001bf78
test eax, eax
jne 0x140043667
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x60], 1
lea rcx, str._OnEvent_:SEARCHCOMPLETE_SSDP_Provider._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400436aa
mov r8d, 0x23
lea rdx, str.ProviderMicrosoft.Networking.WSD
mov rcx, qword [rsp + 0x48]
call fcn.14001bf78
test eax, eax
jne 0x14004369d
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x64], 1
lea rcx, str._OnEvent_:SEARCHCOMPLETE_WSD_Provider._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400436aa
lea rcx, str._OnEvent_:SEARCHCOMPLETE_Unknown_Provider._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x64], 0
je 0x1400436c4
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
add rsp, 0x28
ret
Function at 0x140043700
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x54], 0
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x60], 0
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x64], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x48], 0
je 0x14004375f
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov r10, qword [rsp + 0x70]
mov r10, qword [r10 + 0x58]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x58]
mov r10, qword [r10]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
call qword [r10 + 0x28]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x1400437ca
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x28]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x8000000a
jne 0x1400437dc
mov dword [rsp + 0x54], 0
cmp dword [rsp + 0x54], 0
jne 0x14004380c
mov r9, qword [rsp + 0x70]
add r9, 0x48
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r8d, 1
mov edx, dword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x80010115
jne 0x140043823
lea rcx, str.CoWaitForMultipleHandles___Timeout_n_
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rsp + 0x54], 0
jne 0x140043837
lea rcx, str.CoWaitForMultipleHandles___S_OK__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp qword [rsp + 0x48], 0
je 0x14004384f
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x10]
cmp qword [rsp + 0x40], 0
je 0x140043867
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x10]
mov eax, dword [rsp + 0x54]
add rsp, 0x68
ret

Function at 0x1400441a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rcx, str.CErisProbe::getStreamHandle__Start_Exit__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 8]
add rsp, 0x28
ret
Function at 0x1400441d0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rcx, str.CErisProbe::Terminate__Start__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [rsp + 0x30]
cmp qword [rax + 8], 0
jne 0x1400441f4
jmp 0x14004424d
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
call qword [rax + 0x20]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
call qword [rax + 0x38]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
call qword [rax + 0x40]
mov r11, qword [rsp + 0x30]
mov qword [r11 + 8], 0
lea rcx, str.CErisProbe::Terminate__Exit__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret

Function at 0x140044260
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rcx, str.CErisProbe::Initialize__Start__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
call qword [rax]
mov r11, rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], r11
mov rax, qword [rsp + 0x40]
cmp qword [rax + 8], 0
je 0x1400442f1
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
xor edx, edx
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 8]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400442cf
lea rcx, str.CErisProbe::Initialize__Exit__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
jmp 0x1400442f3
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 8]
call qword [rax + 0x40]
mov r11, qword [rsp + 0x40]
mov qword [r11 + 8], 0
xor eax, eax
add rsp, 0x38
ret

Function at 0x140044300
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rcx, str.CErisProbe::CErisProbe__Start__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x30]
call fcn.1400441d0
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.CErisProbe::CErisProbe__Exit__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x140044350
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x28], 1
lea rcx, str.ENSTRMAPI.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140044382
xor eax, eax
jmp 0x140044535
lea rdx, str.ENCreateStream
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0x40]
mov qword [rax], r11
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x1400443b1
xor eax, eax
jmp 0x140044535
lea rdx, str.ENInitialize
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], r11
mov rax, qword [rsp + 0x40]
cmp qword [rax + 8], 0
jne 0x1400443e2
xor eax, eax
jmp 0x140044535
lea rdx, str.ENSetProbeMode
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x10], r11
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
jne 0x140044413
xor eax, eax
jmp 0x140044535
lea rdx, str.ENProbe
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x18], r11
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x18], 0
jne 0x140044444
xor eax, eax
jmp 0x140044535
lea rdx, str.ENStopProbe
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x20], r11
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x20], 0
jne 0x140044475
xor eax, eax
jmp 0x140044535
lea rdx, str.ENGetDeviceCapability
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x28], r11
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x28], 0
jne 0x1400444a6
xor eax, eax
jmp 0x140044535
lea rdx, str.ENDeleteBuffer
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x30], r11
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x30], 0
jne 0x1400444d4
xor eax, eax
jmp 0x140044535
lea rdx, str.ENTerminate
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x38], r11
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x38], 0
jne 0x140044502
xor eax, eax
jmp 0x140044535
lea rdx, str.ENDeleteStream
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x40], r11
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x40], 0
jne 0x140044530
xor eax, eax
jmp 0x140044535
mov eax, 1
add rsp, 0x38
ret
Function at 0x140044940
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rcx, [0x1400734a0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r11, qword [rsp + 0x30]
mov qword [r11 + 8], 0
call fcn.140001ba0
mov rcx, rax
call fcn.140004d00
mov r11, rax
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x20], r11
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x10], r11
mov rcx, qword [rsp + 0x38]
call fcn.140004d90
mov r11, rax
mov rax, qword [rsp + 0x30]
mov qword [rax], r11
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov qword [rcx + 0x18], rax
lea rcx, [0x1400734e0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x140045320
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, str.CErisProbe::Probe__Start__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [rsp + 0x50]
cmp qword [rax + 8], 0
jne 0x140045344
jmp 0x1400453c1
mov rcx, qword [rsp + 0x50]
call fcn.140044610
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x20]
mov r8, qword [rsp + 0x50]
lea rdx, [0x1400451f0]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
call qword [rax + 0x18]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400453b4
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov r9d, 0xea60
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [rsp + 0x28], eax
lea rcx, str.CErisProbe::Probe__Exit__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x48
ret

Function at 0x14004cb40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x50
movzx ebx, word [rsp + 0x68]
call fcn.140002940
mov r8d, 2
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14004cb83
xor eax, eax
jmp 0x14004cc27
call fcn.140002940
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.14004c410
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14004cc0d
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0xc]
cmp eax, 1
jne 0x14004cc0d
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0xe]
cmp eax, 8
jge 0x14004cc0d
movzx ebx, word [rsp + 0x68]
call fcn.140002940
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadBitmapW]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x40]
call fcn.140003750
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rax, qword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret
Function at 0x14004d8e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2b8
mov rax, qword [0x14008c080]
xor rax, rsp
mov qword [rsp + 0x2a8], rax
mov qword [rsp + 0x268], 0
mov r8, qword [rsp + 0x2c8]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.140001c10
mov rax, qword [rsp + 0x2c8]
movzx eax, word [rax + 2]
cmp eax, 0x3a
jne 0x14004d966
mov rax, qword [rsp + 0x2c8]
movzx ecx, word [rax]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
test eax, eax
jne 0x14004d966
mov rax, qword [rsp + 0x2c8]
movzx eax, word [rax]
test eax, eax
jne 0x14004da14
mov rax, qword [rsp + 0x2c8]
movzx eax, word [rax]
cmp eax, 0x2f
je 0x14004d986
mov rax, qword [rsp + 0x2c8]
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x14004d9a8
mov rax, qword [rsp + 0x2c8]
movzx eax, word [rax + 2]
cmp eax, 0x2f
je 0x14004da14
mov rax, qword [rsp + 0x2c8]
movzx eax, word [rax + 2]
cmp eax, 0x5c
je 0x14004da14
call fcn.140002940
mov r8d, 0x208
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rax, qword [rsp + 0x2c8]
movzx eax, word [rax]
cmp eax, 0x2f
je 0x14004d9e1
mov rax, qword [rsp + 0x2c8]
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x14004d9fa
lea rcx, [rsp + 0x54]
mov r8, qword [rsp + 0x2c8]
mov edx, 0x102
call fcn.140001c10
jmp 0x14004da14
lea rcx, [rsp + 0x50]
call fcn.140002dc0
mov rdx, qword [rsp + 0x2c8]
mov rcx, rax
call fcn.140001bc0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x83
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x260], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x270], eax
cmp qword [rsp + 0x260], 0xffffffffffffffff
je 0x14004db73
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x290]
mov r8d, 0xe
lea rdx, [rsp + 0x278]
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_ReadFile]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x270], eax
mov ecx, dword [rsp + 0x27a]
call fcn.140006748
mov qword [rsp + 0x298], rax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x288], rax
mov eax, dword [rsp + 0x27a]
sub rax, 0xe
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x290]
mov r8d, eax
mov rdx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004db3d
mov ecx, dword [rsp + 0x290]
mov eax, dword [rsp + 0x27a]
sub rax, 0xe
cmp rcx, rax
jne 0x14004db3d
mov r8, qword [rsp + 0x2d0]
mov rdx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x2c0]
call fcn.14004c410
mov qword [rsp + 0x268], rax
cmp qword [rsp + 0x288], 0
je 0x14004db65
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x2a0], rax
mov rcx, qword [rsp + 0x2a0]
call fcn.140006750
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.14001b9f0
add rsp, 0x2b8
ret
Function at 0x14004eed0
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x260
mov rax, qword [0x14008c080]
xor rax, rsp
mov qword [rsp + 0x258], rax
movzx eax, word [0x1400928a4]
test eax, eax
jne 0x14004f022
mov r8d, 0x208
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14001c3c0
mov dword [rsp + 0x250], 0x104
call fcn.140001ba0
mov rdx, rax
lea rax, [rsp + 0x250]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [0x1400740c8]
mov rdx, qword [rdx + 0x90]
mov rcx, qword [rsp + 0x270]
call fcn.14004e7a0
test eax, eax
je 0x14004ef8b
cmp dword [rsp + 0x250], 0
jbe 0x14004ef8b
lea rcx, [rsp + 0x40]
call fcn.140001bf0
mov word [0x1400928a4], ax
movzx eax, word [0x1400928a4]
test eax, eax
je 0x14004ef86
mov ax, word [0x1400928a4]
jmp 0x14004f029
jmp 0x14004f015
mov dword [rsp + 0x250], 0x102
lea rbx, [rsp + 0x44]
call fcn.140001ba0
mov rdx, rax
lea rax, [rsp + 0x250]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x140074228]
mov rdx, qword [rdx + 0x90]
mov rcx, qword [rsp + 0x270]
call fcn.14004e7a0
test eax, eax
je 0x14004f015
cmp dword [rsp + 0x250], 0
jbe 0x14004f015
mov eax, 0x30
mov word [rsp + 0x40], ax
mov eax, 0x78
mov word [rsp + 0x42], ax
lea rcx, [rsp + 0x40]
call fcn.140001bf0
mov word [0x1400928a4], ax
movzx eax, word [0x1400928a4]
test eax, eax
je 0x14004f015
mov ax, word [0x1400928a4]
jmp 0x14004f029
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [0x1400928a4], ax
mov ax, word [0x1400928a4]
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.14001b9f0
add rsp, 0x260
pop rbx
ret
Function at 0x140051ab0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rax, str.RestoreRegistryData
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [0x140074990]
call fcn.14002d6b0
mov r11, qword [rsp + 0xa0]
mov qword [rsp + 0x60], r11
mov dword [rsp + 0x68], 0
jmp 0x140051b18
mov eax, dword [rsp + 0x68]
add eax, 1
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x60]
add rax, 0x28
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0xa8]
cmp dword [rsp + 0x68], eax
jae 0x140051c32
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140051ba6
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140051c2d
mov dword [rsp + 0x78], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx + 8]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140051c22
cmp dword [rsp + 0x78], 0
jne 0x140051c22
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x60]
mov r9d, dword [rax + 0x10]
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx + 8]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140051aff
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
lea rcx, [0x1400749b8]
call fcn.14002e080
mov eax, dword [rsp + 0x68]
add rsp, 0x88
ret
Function at 0x14005b5d0
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1e0
mov qword [rsp + 0x1c0], 0xfffffffffffffffe
mov rax, qword [0x14008c080]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
lea rax, str.InitializeProfile
mov qword [rsp + 0x40], rax
mov ecx, 8
call fcn.140006704
mov qword [rsp + 0x1b8], rax
cmp qword [rsp + 0x1b8], 0
je 0x14005b63b
mov rcx, qword [rsp + 0x1b8]
call fcn.14002d3b0
mov qword [rsp + 0x1c8], rax
jmp 0x14005b647
mov qword [rsp + 0x1c8], 0
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1b0], rax
mov rcx, qword [rsp + 0x1f0]
mov rax, qword [rsp + 0x1b0]
mov qword [rcx + 0x140], rax
mov dword [rsp + 0x90], 0
lea rdi, [rsp + 0x94]
xor eax, eax
mov ecx, 0x118
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 0
lea rdi, [rsp + 0x54]
xor eax, eax
mov ecx, 0x2c
rep stosb byte [rdi], al
mov dword [rsp + 0x90], 0x11c
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rcx, [rsp + 0x50]
call fcn.140060750
movzx edx, word [rsp + 0x50]
lea rcx, [rsp + 0x90]
call fcn.14002da00
call fcn.14002e100
call fcn.14002d7b0
call fcn.140001ba0
mov rdx, qword [rax + 0x90]
lea rcx, str.CmdLine
call fcn.14002d580
lea rcx, [rsp + 0x38]
call fcn.140001290
nop
xor eax, eax
mov word [rsp + 0x34], ax
xor eax, eax
mov word [rsp + 0x48], ax
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [rsp + 0x34], ax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x48], ax
movzx eax, word [rsp + 0x48]
movzx r8d, word [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x30]
lea rdx, [0x1400779e0]
lea rcx, [rsp + 0x38]
call fcn.1400023a0
lea rcx, [rsp + 0x38]
call fcn.140001310
mov rdx, rax
lea rcx, str.SystemLocale
call fcn.14002d580
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [rsp + 0x34], ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [rsp + 0x48], ax
movzx eax, word [rsp + 0x48]
movzx r8d, word [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x30]
lea rdx, str.DefLang_04x_DefLCID_08x_DefUILang_04x
lea rcx, [rsp + 0x38]
call fcn.1400023a0
lea rcx, [rsp + 0x38]
call fcn.140001310
mov rdx, rax
lea rcx, str.UserLocale
call fcn.14002d580
call qword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
shr eax, 0x10
and eax, 0xf
movzx r9d, ax
movzx r8d, word [rsp + 0x30]
lea rdx, str.LangID_04x_SortID_04x
lea rcx, [rsp + 0x38]
call fcn.1400023a0
lea rcx, [rsp + 0x38]
call fcn.140001310
mov rdx, rax
lea rcx, str.ThreadLocale
call fcn.14002d580
nop
lea rcx, [rsp + 0x38]
call fcn.1400012c0
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14001b9f0
add rsp, 0x1e0
pop rdi
ret
Function at 0x14005be00
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x40], 0x208
mov ecx, dword [rsp + 0x40]
mov eax, 2
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call fcn.140006748
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0x103
jne 0x14005bee3
cmp qword [rsp + 0x48], 0
je 0x14005bede
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140006750
jmp 0x14005c042
cmp dword [rsp + 0x58], 0
jne 0x14005bef7
mov dword [rsp + 0x88], 1
jmp 0x14005bf02
mov dword [rsp + 0x88], 0
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x14005bff9
cmp qword [rsp + 0x48], 0
je 0x14005bf34
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.140006750
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x40]
add eax, ecx
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x40]
mov eax, 2
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call fcn.140006748
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jne 0x14005bfe3
mov dword [rsp + 0x8c], 1
jmp 0x14005bfee
mov dword [rsp + 0x8c], 0
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x14005c020
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0x48]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
jmp 0x14005c042
cmp qword [rsp + 0x48], 0
je 0x14005c042
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140006750
mov eax, dword [rsp + 0x54]
add rsp, 0x98
ret