joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cdb60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f92e8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, edx
mov esi, ecx
lea edx, [esp + 0x18]
mov dword [esp + 8], 0
mov ecx, eax
call fcn.00411090
push str.FlatViewArc
lea ecx, [esp + 0x10]
call fcn.00412680
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 0
push ecx
mov edx, eax
mov ecx, esi
call fcn.004124e0
mov dword [esp + 0x44], 0xffffffff
push dword [esp + 0xc]
call fcn.004df97b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004df96c
add esp, 0x40
ret

Function at 0x4cdc00
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f9318
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
xor bl, bl
lea eax, [esp + 0x1c]
mov dword [esp + 0x38], 0
push eax
push 0x20019
push 0
push str.SoftwareFileExtr.actorFM
push SysReAllocStringLen
mov dword [esp + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4cdccc
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
mov edx, edi
mov dword [esp + 0x28], esi
call fcn.004cdb60
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], 0
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 4
push ecx
push 0
push dword [eax]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4cdcb5
cmp dword [esp + 0x1c], eax
setne bl
push dword [esp + 0x10]
call fcn.004df97b
add esp, 4
test esi, esi
je 0x4cdccc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004df96c
add esp, 0x2c
ret
Function at 0x4cdd80
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4f4328
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea edx, [esi + 0x3c]
lea ecx, [esp + 8]
call fcn.004cdcf0
push eax
lea ecx, [esi + 0xc]
mov dword [esp + 0x2c], 0
call fcn.004128e0
mov dword [esp + 0x28], 0xffffffff
push dword [esp + 8]
call fcn.004df97b
add esp, 4
lea edx, [esi + 0x40]
lea ecx, [esp + 8]
call fcn.004cdd50
push eax
lea ecx, [esi + 0x18]
mov dword [esp + 0x2c], 1
call fcn.004128e0
mov dword [esp + 0x28], 0xffffffff
push dword [esp + 8]
call fcn.004df97b
add esp, 4
lea edx, [esi + 0x44]
lea ecx, [esp + 0x14]
call fcn.004cdd20
push eax
lea ecx, [esi + 0x24]
mov dword [esp + 0x2c], 2
call fcn.004128e0
mov dword [esp + 0x28], 0xffffffff
push dword [esp + 0x14]
call fcn.004df97b
add esp, 4
lea ecx, [esi + 0x30]
push 0x506888
call fcn.00412a60
mov ecx, 0x11
call fcn.004cf6b0
mov dword [esi + 0x48], eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret
Function at 0x4cf1d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov ebx, ecx
mov dword [ebp + 4], 0
xor esi, esi
mov dword [esp + 0x18], ebp
xor al, al
mov dword [esp + 0x2c], ebx
cmp dword [ebx + 4], esi
jbe 0x4cf2fd
lea ecx, [ecx]
mov edx, dword [ebx]
movzx ecx, word [edx + esi*2]
inc esi
cmp ecx, 0x20
je 0x4cf2f4
cmp ecx, 0x2d
je 0x4cf2fd
test al, al
je case.0x4cf24f.99
lea eax, [ecx - 0x41]
mov byte [esp + 0x17], 0
cmp ax, 0x19
ja 0x4cf237
lea eax, [ecx + 0x20]
movzx eax, ax
jmp 0x4cf239
mov eax, ecx
movzx eax, ax
add eax, 0xffffff9e
cmp eax, 0x12
ja case.0x4cf24f.99
movzx eax, byte [eax + 0x4cf380]
jmp dword [eax*4 + 0x4cf368]
mov edi, 0xa
jmp 0x4cf270
mov edi, 0x14
jmp 0x4cf270
mov edi, 0x1e
jmp 0x4cf270
mov edi, 0x28
mov ecx, dword [ebp + 4]
xor edx, edx
mov eax, dword [ebp]
lea eax, [eax + ecx*8]
mov ecx, dword [eax - 8]
add eax, 0xfffffff8
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
xor ecx, ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov eax, 0x40
sub eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
cmp dword [esp + 0x20], ecx
ja 0x4cf35e
mov eax, dword [esp + 0x1c]
jb 0x4cf2c2
cmp eax, edx
jae 0x4cf35e
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.004ea9e0
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [ebx + 4]
cmp esi, ecx
jae case.0x4cf24f.98
mov eax, dword [ebx]
lea eax, [eax + esi*2]
cmp word [eax], 0x20
je case.0x4cf24f.98
inc esi
add eax, 2
cmp esi, ecx
jb 0x4cf2e2
mov al, byte [esp + 0x17]
cmp esi, dword [ebx + 4]
jb 0x4cf200
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
dec esi
lea ebx, [edx + esi*2]
lea edx, [esp + 0x28]
mov ecx, ebx
call fcn.00413800
mov edi, dword [esp + 0x28]
mov ebp, eax
mov eax, edx
mov dword [esp + 0x24], eax
cmp ebx, edi
je 0x4cf35e
mov ecx, ebp
or ecx, eax
je 0x4cf35e
mov ecx, dword [esp + 0x18]
call fcn.00424120
mov eax, dword [esp + 0x18]
sub edi, ebx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
sar edi, 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ecx + eax*8], ebp
mov ebp, dword [esp + 0x18]
mov dword [ecx + eax*8 + 4], edx
mov al, 1
inc dword [ebp + 4]
add esi, edi
jmp 0x4cf2f4
pop edi
xor al, al
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cf6b0
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2c0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x2bc], eax
lea eax, [esp]
mov dword [esp], 0
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp]
test eax, eax
je 0x4cf739
push 0x4008
push 0x2b4
lea ecx, [esp + 0x10]
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4cf720
push dword [esp]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2bc]
xor ecx, esp
call fcn.004df96c
add esp, 0x2c0
ret
mov ecx, dword [esp + 0x2bc]
xor eax, eax
xor ecx, esp
call fcn.004df96c
add esp, 0x2c0
ret

Function at 0x4cf750
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x2b4], eax
push esi
mov esi, dword [esp + 0x2c0]
lea eax, [esp + 4]
push 0x4010
push 0x2b4
push eax
or edx, 0x80
push edx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [esp + 8]
mov dword [esi], ecx
mov ecx, dword [esp + 0x2b8]
pop esi
xor ecx, esp
call fcn.004df96c
add esp, 0x2b8
ret 4
Function at 0x4cfca0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4ed458
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, ecx
mov edi, dword [esp + 0x3c]
cmp dword [edi + 4], 0
jne 0x4cfce6
or eax, 0xffffffff
jmp 0x4cfdea
mov ebx, dword [esp + 0x40]
xor eax, eax
xorps xmm0, xmm0
mov dword [esp + 0x24], eax
cmp ebx, 0xffffffff
movq qword [esp + 0x1c], xmm0
push 8
cmove ebx, eax
mov dword [esp + 0x20], eax
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4cfd24
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 3
mov word [eax], cx
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x1c]
push 0x110
call fcn.00412210
mov esi, dword [esp + 0x1c]
push 0x10e
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ecx, ecx
mov word [esi + 0x21c], cx
cmp word [esi], cx
je 0x4cfd78
nop
inc ecx
cmp word [esi + ecx*2], 0
jne 0x4cfd70
mov dword [esp + 0x20], ecx
test eax, eax
je 0x4cfd87
cmp eax, 0x10e
jb 0x4cfd95
push edi
lea ecx, [esp + 0x20]
call fcn.004128e0
mov esi, dword [esp + 0x1c]
push 1
lea eax, [esp + 0x1c]
push eax
push 0
push ebx
push esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
cmp eax, 1
jne 0x4cfdd4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4cfdd4
push eax
push 0xffffffffffffffff
push dword [ebp + 0x30]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [ebp + 0x2c]
lea eax, [edi + 1]
mov dword [ebp + 0x2c], eax
jmp 0x4cfdd7
or edi, 0xffffffff
push esi
mov dword [esp + 0x38], 0xffffffff
call fcn.004df97b
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004df96c
add esp, 0x24
ret 8
Function at 0x4d0be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4efcd8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, ecx
xor edi, edi
mov dword [esp + 0x1c], 0
xorps xmm0, xmm0
mov dword [esp + 0x1c], edi
movq qword [esp + 0x14], xmm0
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
push 2
push 0xffffffffffffffff
push 0x100c
mov dword [esp + 0x38], edi
push dword [ebp + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4d0c85
lea ecx, [esp + 0x14]
call fcn.00410b20
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
push 2
push ebx
push 0x100c
mov dword [edi + esi*4], ebx
inc esi
push dword [ebp + 0x34]
mov dword [esp + 0x28], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4d0c50
test esi, esi
jne 0x4d0caf
xor esi, esi
cmp dword [ebp + 0x24], esi
jbe 0x4d0caf
lea esp, [esp]
lea ecx, [esp + 0x14]
call fcn.00410b20
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov dword [edi + eax*4], esi
inc eax
inc esi
mov dword [esp + 0x18], eax
cmp esi, dword [ebp + 0x24]
jb 0x4d0c90
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
push dword [esp + 0x38]
call fcn.004cff10
push edi
mov dword [esp + 0x30], 0xffffffff
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004df96c
add esp, 0x1c
ret 4
Function at 0x4d1c80
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f9578
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x40]
xor esi, esi
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x24], esi
lea eax, [eax + eax*2]
add eax, 3
shl eax, 2
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4d1cfc
push eax
call fcn.004df9b3
mov esi, eax
add esp, 4
test esi, esi
jne 0x4d1cf8
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
push 0x51c2c8
push eax
call fcn.004ea58e
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], 0
mov dword [esi], 1
mov eax, dword [edi + 0xc]
mov dword [esi + 4], eax
xor eax, eax
cmp byte [edi + 0x10], al
setne al
xor ebx, ebx
mov dword [esi + 8], eax
cmp dword [edi + 4], ebx
jbe 0x4d1d54
mov ebp, 0xffffffec
lea edx, [esi + 0x14]
sub ebp, esi
lea esp, [esp]
lea ecx, [edx + ebp]
add ecx, dword [edi]
lea edx, [edx + 0xc]
mov eax, dword [ecx]
mov dword [edx - 0x14], eax
xor eax, eax
cmp byte [ecx + 4], al
setne al
inc ebx
mov dword [edx - 0x10], eax
mov eax, dword [ecx + 8]
mov dword [edx - 0xc], eax
cmp ebx, dword [edi + 4]
jb 0x4d1d30
push 0x5236c8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x28]
xor edi, edi
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], edi
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push str.SoftwareFileExtr.actorFMColumns
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push dword [esp + 0x1c]
test eax, eax
mov eax, dword [esp + 0x1c]
push esi
cmove edi, dword [esp + 0x28]
push 3
push 0
push dword [eax]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x4d1db0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5236c8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov dword [esp + 0x3c], 0xffffffff
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004df96c
add esp, 0x28
ret 4
Function at 0x4d1df0
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f95b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x4c]
xorps xmm0, xmm0
xor ebp, ebp
movq qword [esp + 0x24], xmm0
mov dword [esi + 0xc], 0
mov word [esi + 0x10], 1
mov dword [esi + 4], 0
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x44], ebp
push 0x5236c8
mov dword [esp + 0x24], 0x5236c8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x1c]
mov byte [esp + 0x44], 2
push eax
push 0x20019
push ebp
push str.SoftwareFileExtr.actorFMColumns
push SysReAllocStringLen
mov dword [esp + 0x30], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d1efc
mov edi, dword [esp + 0x1c]
mov ebx, dword [ebx]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push ebp
lea eax, [esp + 0x24]
mov dword [esp + 0x38], edi
push eax
push ebp
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4d1ebf
cmp eax, 0xea
jne 0x4d1eed
push dword [esp + 0x18]
lea ecx, [esp + 0x28]
call fcn.0041b140
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
push ebp
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4d1f3e
test edi, edi
je 0x4d1efc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5236c8
mov byte [esp + 0x48], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebp
mov dword [esp + 0x48], 0xffffffff
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004df96c
add esp, 0x34
ret 4
test edi, edi
je 0x4d1f49
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5236c8
mov byte [esp + 0x48], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x18]
cmp ecx, 0xc
jb 0x4d1f0c
cmp dword [ebp], 1
jne 0x4d1f0c
mov eax, dword [ebp + 4]
mov dword [esi + 0xc], eax
cmp dword [ebp + 8], 0
mov byte [esi + 0x11], 1
setne al
sub ecx, 0xc
mov byte [esi + 0x10], al
mov eax, 0xaaaaaaab
mul ecx
mov dword [esp + 0x18], ecx
mov ebx, edx
shr ebx, 3
lea eax, [ebx + ebx*2]
shl eax, 2
sub ecx, eax
jne 0x4d1f0c
push ebx
mov ecx, esi
call fcn.004d2880
test ebx, ebx
je 0x4d1f0c
lea edi, [ebp + 0x14]
mov eax, dword [edi - 8]
lea edi, [edi + 0xc]
cmp dword [edi - 0x10], 0
mov edx, dword [edi - 0xc]
mov dword [esp + 0x24], eax
setne byte [esp + 0x28]
mov eax, dword [esi + 4]
movq xmm0, qword [esp + 0x24]
lea ecx, [eax + eax*2]
mov eax, dword [esi]
movq qword [eax + ecx*4], xmm0
mov dword [eax + ecx*4 + 8], edx
inc dword [esi + 4]
dec ebx
jne 0x4d1fb0
jmp 0x4d1f0c
Function at 0x4d1ff0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push 0x5236c8
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0xc]
xor esi, esi
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareFileExtr.actorFM
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
cmove esi, dword [esp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
xor eax, eax
cmp byte [ebx + 0x10], al
push 0x14
setne al
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
push 3
push 0
push str.Position
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
push 0xc
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
push 3
push 0
push str.Panels
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x4d20b2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5236c8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x24]
pop esi
pop ebx
xor ecx, esp
call fcn.004df96c
add esp, 0x20
ret
Function at 0x4d20d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f95f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x48]
push 0x5236c8
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], 0x5236c8
mov byte [eax], 0
mov byte [0x5230d2], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x18]
mov dword [esp + 0x40], 1
push eax
push 0x20019
push 0
push str.SoftwareFileExtr.actorFM
push SysReAllocStringLen
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d2297
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor esi, esi
push eax
push esi
lea eax, [esp + 0x24]
mov dword [esp + 0x38], ebx
push eax
push esi
xorps xmm0, xmm0
mov dword [esp + 0x2c], esi
push str.Position
movq qword [esp + 0x38], xmm0
push ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], esi
call ebp
test eax, eax
je 0x4d21a5
cmp eax, 0xea
jne 0x4d21cf
push dword [esp + 0x18]
lea ecx, [esp + 0x28]
call fcn.0041b140
lea eax, [esp + 0x18]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x24]
push eax
push esi
lea eax, [esp + 0x28]
push eax
push 0
push str.Position
push ebx
call ebp
test eax, eax
jne 0x4d2201
cmp dword [esp + 0x18], 0x14
jne 0x4d2201
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
cmp dword [esi + 0x10], 0
setne al
mov byte [edi + 0x10], al
mov eax, dword [esp + 0x14]
mov byte [eax], 1
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0
push eax
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x20], 0
push eax
push 0
push str.Panels
push ebx
call ebp
test eax, eax
je 0x4d2232
cmp eax, 0xea
jne 0x4d2260
push dword [esp + 0x18]
lea ecx, [esp + 0x28]
call fcn.0041b140
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
push str.Panels
push ebx
call ebp
test eax, eax
jne 0x4d2283
cmp dword [esp + 0x18], 0xc
jne 0x4d2283
mov eax, dword [esi]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x1c], eax
mov byte [0x5230d2], 1
push esi
call fcn.004df97b
add esp, 4
test ebx, ebx
je 0x4d2297
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5236c8
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004df96c
add esp, 0x30
ret 8
Function at 0x4d22d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20019
push 0
push str.SoftwareFileExtr.actorFM
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d234d
push ebx
push esi
mov esi, dword [esp + 8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x506aac
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
test esi, esi
je 0x4d2343
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
test bl, bl
pop esi
pop ebx
jne 0x4d2352
mov eax, InitCommonControls
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004df96c
add esp, 0x14
ret

Function at 0x4d2370
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
push edi
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0x20019
mov edi, ecx
push 0
push str.SoftwareFileExtr.actorFM
push SysReAllocStringLen
mov dword [edi + 4], 3
mov dword [edi], 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d240d
push ebx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.ListMode
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
test esi, esi
je 0x4d23f5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
test bl, bl
pop ebx
je 0x4d240d
mov ecx, dword [esp + 0x10]
movzx eax, cl
shr ecx, 8
mov dword [edi], eax
movzx eax, cl
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x14]
pop edi
xor ecx, esp
call fcn.004df96c
add esp, 0x14
ret

Function at 0x4d2420
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f9639
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [esp + 0x30], 0
xorps xmm0, xmm0
mov dword [esp + 0xc], 0
movq qword [edi], xmm0
push str.PanelPath
mov dword [esp + 0x14], edi
mov dword [edi + 8], 0
call fcn.00412680
mov dword [esp + 0x30], 0
lea edx, [esp + 0x14]
mov ecx, esi
mov dword [esp + 0xc], 1
call fcn.00410e70
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00412c30
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004df96c
add esp, 0x28
ret