joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469be0
Capabilities:
Check os version

Disassembly:
sub esp, 8
cmp dword [esp + 0x14], 0
push ebx
mov ebx, eax
jne 0x469bf6
xor eax, eax
pop ebx
add esp, 8
ret 0xc
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x469bed
mov eax, dword [eax + 0x25c]
test eax, eax
je 0x469bed
push esi
push edi
xor edi, edi
mov esi, eax
test ebx, ebx
je 0x469c56
mov edx, dword [esi]
xor ecx, ecx
mov eax, 0x538bf8
mov edi, edi
cmp dword [eax], edx
je 0x469c4a
add eax, 0x14
add ecx, 1
cmp eax, 0x538c84
jl 0x469c20
xor eax, eax
cmp eax, ebx
jne 0x469c62
test edi, edi
mov dword [esp + 0xc], edi
jge 0x469c78
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0xc
lea ecx, [ecx + ecx*4]
mov eax, dword [ecx*4 + 0x538c00]
jmp 0x469c33
cmp dword [esi + 4], 0
jne 0x469c37
cmp dword [esi + 8], 0
jne 0x469c37
add edi, 1
add esi, 0xc
cmp edi, 7
jl 0x469c11
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0xc
mov ecx, dword [0x54af3c]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor ebx, ebx
mov dword [esp + 0x14], 0
xor edi, edi
mov esi, 0x539df4
test ecx, ecx
jne 0x469cb1
push 0x54af38
mov dword [0x54af38], 0x114
call ebp
mov ecx, dword [0x54af3c]
cmp ecx, 6
jne 0x469cc2
cmp dword [0x54af40], 0
lea eax, [ecx + 0x12]
je 0x469cc7
mov eax, 0x1f
cmp edi, eax
jge 0x469d3c
mov eax, dword [esp + 0x10]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x1c]
add edx, dword [esi - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x25c]
mov edx, dword [eax + edx*4 + 4]
test dword [esi], edx
je 0x469d11
mov eax, dword [esp + 0x20]
cmp dword [esi + 4], eax
jne 0x469d11
test bx, bx
mov dword [esp + 0x14], 1
jne 0x469d04
movzx ebx, word [esi + 8]
mov dx, word [esi + 8]
mov eax, dword [esp + 0x24]
cmp dx, word [eax]
je 0x469d1c
add edi, 1
add esi, 0x18
jmp 0x469c96
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
lea ecx, [edi + edi*2]
movzx ebx, word [ecx*8 + 0x539dfc]
pop ebp
pop edi
pop esi
mov word [edx], bx
pop ebx
add esp, 8
ret 0xc
cmp dword [esp + 0x14], 0
je 0x469d4a
mov edx, dword [esp + 0x24]
mov word [edx], bx
mov eax, dword [esp + 0x14]
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret 0xc
Function at 0x46c130
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
test edi, edi
je 0x46c1d9
test ebx, ebx
je 0x46c1d9
push esi
lea eax, [esp + 0xc]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [esp + 4], eax
jbe 0x46c1cf
push eax
call fcn.004bb042
mov esi, eax
add esp, 4
test esi, esi
jne 0x46c170
mov eax, 0x8007000e
pop esi
add esp, 0xc
ret
mov ecx, dword [esp + 4]
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x46c1c6
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0x502e10
push esi
mov dword [esp + 0x18], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x46c1c6
mov eax, dword [esp + 8]
test eax, eax
je 0x46c1c6
mov ecx, dword [eax + 8]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 0xc]
push esi
mov dword [ebx], edx
call fcn.004bb03d
add esp, 4
xor eax, eax
pop esi
add esp, 0xc
ret
push esi
call fcn.004bb03d
add esp, 4
mov eax, 0x80004005
pop esi
add esp, 0xc
ret
mov eax, 0x80070057
add esp, 0xc
ret

Function at 0x46c880
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4efd78
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea edi, [esi + 0xc]
mov dword [esi], vtable.CJackImpedanceDetect.0
mov dword [edi], vtable.CJackImpedanceDetect.1.0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x58]
test eax, eax
je 0x46c8dc
test dword [eax + 0x1c8], 0x10000000
je 0x46c8dc
mov eax, dword [esi + 0x5c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x58]
test dword [ecx + 0x74], 0x1000
je 0x46c8f5
lea edx, [esi + 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, edi
call fcn.0044a4a0
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], vtable.CApoPolicyCfgClient.0
mov esi, dword [esi + 8]
sub esi, 0x10
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46c929
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x46cb30
Capabilities:
Create thread

Disassembly:
mov ecx, dword [esi + 0x58]
sub esp, 8
test ecx, ecx
push edi
jne 0x46cb42
xor eax, eax
pop edi
add esp, 8
ret
mov eax, dword [esi + 0x80]
test eax, eax
je 0x46cb3b
xor edi, edi
test dword [ecx + 0x1c8], 0x10000000
je 0x46cc2f
mov dword [esp + 4], 0x9999
sub esp, 0x10
cmp dword [eax + 0xcc], 0xffffffff
jne 0x46cbab
mov ecx, dword [0x5095cc]
mov edx, dword [0x5095d0]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x5095d4]
mov dword [eax + 4], edx
mov edx, dword [0x5095d8]
push 4
mov dword [eax + 8], ecx
push 1
push 0x3a
lea ecx, [esp + 0x20]
mov dword [eax + 0xc], edx
call fcn.00458540
add esp, 0x1c
jmp 0x46cbe9
mov ecx, dword [eax + 0xac]
mov edx, dword [0x5095cc]
mov eax, esp
mov dword [eax], edx
mov edx, dword [0x5095d0]
mov dword [eax + 4], edx
mov edx, dword [0x5095d4]
mov dword [eax + 8], edx
mov edx, dword [0x5095d8]
mov dword [eax + 0xc], edx
push 4
lea eax, [esp + 0x18]
push eax
push 1
push 0x3a
call fcn.00458740
add esp, 0x20
mov edi, eax
test edi, edi
je 0x46cc21
cmp dword [esi + 0x70], 0
jne 0x46cc21
lea ecx, [esp + 8]
push ecx
push 0
push esi
push 0x46cde0
mov eax, 5
push 0
push 0
mov dword [esi + 0x70], 1
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x5c], eax
push edi
push str.CSpkSettingUI::SetImpedanceSensingDetect__Success__d
call fcn.004012f0
add esp, 8
mov eax, edi
pop edi
add esp, 8
ret
Function at 0x46fe80
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4efcf0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
push 0x2001f
push 0
push str.SoftwareRealtekAudioGUI_INFORMATIONJackInfomation
mov dword [esp + 0x2c], 0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46ffd0
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x10], ebp
call fcn.004bb047
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x46fefd
push 0x80004005
call fcn.00401730
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov byte [esp + 0x1c], 1
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
lea eax, [esp + 0x14]
push str.PinId0x_02X_DeviceType0x_03X
push eax
call fcn.00401af0
mov esi, dword [esp + 0x1c]
add esp, 0x10
cmp dword [esi - 4], 1
jle 0x46ff46
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401a30
mov esi, dword [esp + 0xc]
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x46ff5b
push 0x80004005
call fcn.00401730
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push 0
push str.JackRetaskFailed
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
jne 0x46ff80
xor eax, eax
jmp 0x46ff96
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46ff85
sub eax, edx
sar eax, 1
js 0x46ffe2
cmp eax, dword [esi - 8]
jg 0x46ffe2
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
lea eax, [esi - 0x10]
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ffc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
je 0x46ffd0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x14
ret
push 0x80070057
call fcn.00401730
int3
Function at 0x474830
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f37c2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x536ed4]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov dword [esp + 0x224], 0
mov esi, ecx
push 0x50148c
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
call fcn.00401b10
push 0x104
lea eax, [esp + 0x14]
mov dword [esp + 0x228], 0
push eax
mov dword [esp + 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4748b5
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00401e60
cmp dword [0x54b064], 0
je 0x4748e1
push str.MaxxAudioIntelSkylake.dll
jmp 0x4748e6
push str.MaxxAudioVienna2.dll
call fcn.00474920
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004cf0b8
add esp, 0x220
ret
Function at 0x4804c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4edee8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
push eax
push 0x50dd4c
push 0x17
push ebx
push 0x50dd3c
mov dword [esp + 0x4c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x480541
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x48052c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1b4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea edi, [esi + 0xa8]
push edi
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
cmp eax, ebx
jl 0x480514
mov eax, dword [edi]
lea edi, [esi + 0xac]
push edi
push ebx
push 0x17
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push 0x50ca68
push eax
call edx
cmp eax, ebx
jl 0x480514
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jl 0x4805d2
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ebx
push 0x2710
push ecx
push edx
call fcn.004d3ff0
cmp eax, 0xa
mov dword [esi + 0xbc], eax
ja 0x4805c9
mov eax, 0xa
lea eax, [eax + eax*2]
mov dword [esi + 0xbc], eax
mov eax, dword [edi]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp eax, ebx
jl 0x480514
mov ecx, dword [esp + 0x18]
mov edi, dword [edi]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0x50c938
push ecx
push ebx
push ebx
push ebx
push 0x989680
push ebx
push ebx
push edi
call edx
mov edi, eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp edi, ebx
jl 0x480514
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
add esi, 0xb0
push esi
push ebx
push 0x17
push 0x5133b0
push eax
call edx
mov dword [esp + 0x38], 0xffffffff
cmp eax, ebx
mov eax, dword [esp + 0x14]
jl 0x480520
cmp eax, ebx
je 0x48065d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x483170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f128a
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov dword [esi], vtable.CMMLineControl.0
lea ebp, [esi + 4]
call fcn.004bb047
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4831bd
push 0x80004005
call fcn.00401730
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x1c], edi
call fcn.004bb047
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4831ea
push 0x80004005
call fcn.00401730
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 8], eax
mov byte [esp + 0x1c], 1
call fcn.004bb047
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x483218
push 0x80004005
call fcn.00401730
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x38], eax
mov byte [esp + 0x1c], 2
lea ebx, [esi + 0x3c]
call fcn.004bb047
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x483249
push 0x80004005
call fcn.00401730
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x1c], 3
call fcn.004bb047
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x483276
push 0x80004005
call fcn.00401730
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xe0], eax
push edi
push 0x50148c
mov ecx, ebp
mov byte [esp + 0x24], 4
call fcn.00401e60
mov edx, dword [esp + 0x28]
cmp edx, edi
je 0x4832ca
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x28], ecx
jmp 0x4832b0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4832b0
sub eax, dword [esp + 0x28]
mov ecx, ebp
sar eax, 1
push eax
push edx
call fcn.00401e60
push edi
push 0x50148c
lea ecx, [esi + 0x38]
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
call fcn.00401e60
push edi
push 0x50148c
mov ecx, ebx
call fcn.00401e60
push 0x80
lea edx, [esi + 0x48]
push edi
push edx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.004d1c40
add esp, 0xc
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xd8], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x485ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ecdb8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push 0xa
mov ecx, esi
call fcn.004c5cff
mov dword [esi], vtable.CTypedPtrList_class_CPtrList__class_CPropRegKey__.0
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
call fcn.00458270
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x486610
Capabilities:
Resume thread

Disassembly:
cmp dword [esi + 0x20], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
jne 0x48662a
push 0
push 0
push 0
push 0
call edi
mov dword [esi + 0x20], eax
cmp dword [esi + 0x24], 0
jne 0x48663d
push 0
push 0
push 0
push 0
call edi
mov dword [esi + 0x24], eax
push 0
push 4
push 0
push 0
push esi
push 0x486350
call fcn.004c3db0
mov edi, eax
test edi, edi
je 0x486689
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
push 0
lea eax, [esi + 0x1c]
push eax
call ebx
mov ecx, dword [edi + 0x2c]
push eax
push ecx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edx, dword [edi + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [esi + 0x28], 1
pop ebx
pop edi
ret
Function at 0x48c5c0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
test ebx, ebx
push esi
mov esi, eax
je 0x48c656
lea ecx, [esp + 0x14]
push 0x50148c
push ecx
call fcn.0044fed0
add esp, 8
test al, al
jne 0x48c5fd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x48c66a
mov eax, esi
mov edx, ebx
mov dword [esp + 8], 0
call fcn.0048d370
test eax, eax
jne 0x48c62e
mov eax, esi
call fcn.0048cf00
test eax, eax
jne 0x48c62e
lea ecx, [esp + 0x14]
call fcn.00401fb0
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
mov ecx, esi
or ecx, 2
push reloc.OLEAUT32.dll_SysReAllocString
mov edx, ebx
lea esi, [esp + 0xc]
call fcn.0042c080
test eax, eax
je 0x48c67e
mov eax, dword [esp + 8]
test eax, eax
je 0x48c656
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c676
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 8]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0
push eax
push esi
mov dword [esp + 0x24], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x48c6c1
test esi, esi
je 0x48c6b0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
call fcn.00401fb0
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
test esi, esi
je 0x48c6cc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
call fcn.00401fb0
pop esi
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x48c770
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f2db8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
test edi, edi
je 0x48c862
mov dword [esp + 0x14], 0
mov esi, ecx
lea ebx, [esp + 0xc]
mov dword [esp + 0x20], 0
call fcn.0048cdf0
lea eax, [esp + 0x10]
push eax
push 2
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48c842
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push eax
mov eax, dword [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or edx, 0xffffffff
test eax, eax
mov eax, dword [esp + 0xc]
je 0x48c876
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c823
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x48c82e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c862
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c88f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x48c89a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret

Function at 0x48c8c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f4f68
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28]
xor edi, edi
push eax
mov dword [esp + 0x1c], edi
mov esi, dword [esp + 0x28]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x30], esp
mov ebx, esp
push esi
call fcn.00401850
mov ecx, dword [esp + 0x2c]
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov eax, edi
call fcn.0048c5c0
add esp, 8
mov edi, eax
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c93d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x48c950
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f0fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
cmp edi, ebp
je 0x48ca80
mov dword [esp + 0x20], ebp
mov esi, edx
lea ebx, [esp + 0x14]
mov dword [esp + 0x30], ebp
call fcn.0048cdf0
lea eax, [esp + 0x18]
push eax
push 3
push ebp
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x48ca60
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
push ebp
push ecx
mov edi, 4
push esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebp
jne 0x48c9ff
cmp dword [esp + 0x24], edi
jne 0x48c9ff
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x38]
je 0x48ca96
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push edi
lea ecx, [esp + 0x28]
push ecx
push edi
push ebp
push edx
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x48ca96
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ca3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebp
je 0x48ca4a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ca80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cab6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebp
je 0x48cac1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret