joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e7b0
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0xa0
push esi
lea eax, [esp + 0x10]
push edi
mov edi, ecx
push eax
xor esi, esi
mov dword [esp + 0x18], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40e7fc
cmp dword [esp + 0x24], 2
jne 0x40e7fc
cmp dword [esp + 0x18], 6
jb 0x40e80a
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov esi, 1
push str..IDMWFP
jmp 0x40e81e
mov eax, dword [edi + 0x1c]
pop edi
pop esi
add esp, 0xa0
ret 4
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..IDMTDI
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x40e84d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xac]
pop edi
mov eax, 1
pop esi
mov dword [ecx], 1
add esp, 0xa0
ret 4
call fcn.004351a0
mov edi, dword [esp + 0xac]
neg eax
sbb eax, eax
mov dword [edi], 0
and eax, 0x100
add eax, 0x20019
test esi, esi
je 0x40e880
lea edx, [esp + 8]
push edx
push eax
push 0
push str.SYSTEMCurrentControlSetServicesIDMWFP
jmp 0x40e88d
lea ecx, [esp + 8]
push ecx
push eax
push 0
push str.SYSTEMCurrentControlSetServicesIDMTDI
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40e8e5
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0x6541b4
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40e8da
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x40e8da
cmp eax, 2
je 0x40e8da
mov dword [edi], 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
add esp, 0xa0
ret 4
Function at 0x40f700
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
mov dword [esi + 0x34], edi
je 0x40f71f
call fcn.0040f950
test eax, eax
jne 0x40f71f
mov ecx, esi
call fcn.004112a0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40f7e9
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x40f7e9
push edi
push str.IntegrateMIE
mov ecx, esi
call fcn.0040fc70
mov ecx, dword [0x67e58c]
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push str.IDMBIIEXPLORE
push ecx
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40f798
lea edx, [esp + 0x10]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x1c]
push 0x6535f4
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
ret 8
mov eax, dword [0x67e58c]
lea edx, [esp + 0xc]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x67df58
push 0
push str.IDMBIIEXPLORE
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40f7e9
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push eax
push 0x6535f4
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
ret 8

Function at 0x40f800
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5afd00
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMenuExt_
push reloc.WSOCK32.dll_accept
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x40f84e
mov ecx, dword [esp + 0xc]
push str.Download_with_IDMan
push ecx
call edi
lea edx, [esp + 0xc]
push edx
push 0xf003f
push 0
push str.SoftwareClassesPROTOCOLSName_Space_Handler_
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
je 0x40f87d
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.http_
push ecx
call esi
test eax, eax
jne 0x40f8bf
mov edx, dword [esp + 8]
push 0x654420
push edx
call edi
mov eax, dword [esp + 8]
push 0x65441c
push eax
call edi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.https_
push edx
call esi
test eax, eax
jne 0x40f8ef
mov eax, dword [esp + 8]
push 0x654420
push eax
call edi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.ftp_
push edx
call esi
test eax, eax
jne 0x40f92b
mov eax, dword [esp + 8]
push 0x654420
push eax
call edi
mov ecx, dword [esp + 8]
push 0x65441c
push ecx
call edi
mov ecx, dword [esp + 0x14]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x40f950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5afd1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push reloc.WSOCK32.dll_bind
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x40facb
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push edx
call esi
test eax, eax
jne 0x40facb
mov edx, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push str.NoExplorer
push edx
mov dword [ebp - 0x24], 4
call edi
test eax, eax
jne 0x40facb
cmp dword [ebp - 0x1c], 1
jne 0x40facb
mov eax, dword [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebx
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
call fcn.004351a0
test eax, eax
je 0x40fa7f
lea edx, [ebp - 0x18]
push edx
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x40facb
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push 0x20119
push 0
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push ecx
call esi
test eax, eax
jne 0x40facb
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push str.NoExplorer
push ecx
mov dword [ebp - 0x20], 4
call edi
test eax, eax
jne 0x40facb
cmp dword [ebp - 0x1c], 1
jne 0x40facb
mov edx, dword [ebp - 0x14]
push edx
call ebx
mov eax, dword [ebp - 0x18]
push eax
call ebx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40fae0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5afd61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
push ebx
mov edx, dword [0x67e58c]
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
mov ebx, 4
push edi
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x40fb4c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, 2
jne 0x40fbe6
mov ecx, dword [0x67e58c]
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push 0
push edi
push ecx
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
je 0x40fbce
lea ecx, [ebp - 0x22c]
call fcn.00481cc0
mov edx, dword [0x679a04]
mov dword [ebp + 8], edx
push esi
lea eax, [ebp + 8]
push str.RegSetValueEx_err__ld_in_CBrInt:ReadIntFrReg_n
push eax
mov byte [ebp - 4], 2
call fcn.00596d08
mov ecx, dword [ebp + 8]
add esp, 0xc
push 1
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00481de0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0059df40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.00481dd0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x22c]
call fcn.00481cc0
mov edx, dword [0x679a04]
mov dword [ebp + 8], edx
push esi
lea eax, [ebp + 8]
push str.Error__ld_in_CBrInt:ReadIntFrReg_n
push eax
mov byte [ebp - 4], bl
call fcn.00596d08
mov ecx, dword [ebp + 8]
add esp, 0xc
push 1
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00481de0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0059df40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
jmp 0x40fbc9

Function at 0x40fc70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5afd8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
push 4
xor ebx, ebx
push ecx
mov dword [ebp - 0x14], eax
mov eax, dword [0x67e58c]
push 4
push ebx
push edx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
cmp esi, ebx
jne 0x40fcd6
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x224]
call fcn.00481cc0
mov ecx, dword [0x679a04]
mov dword [ebp + 0xc], ecx
push esi
lea edx, [ebp + 0xc]
push str.RegSetValueEx_err__ld_in_CBrInt:SaveIntToReg_n
push edx
mov byte [ebp - 4], 2
call fcn.00596d08
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x224]
push 1
push eax
call fcn.00481de0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0059df40
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], bl
call fcn.00481dd0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x410110
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebx
push esi
mov esi, dword [esp + 0x21c]
push edi
mov ecx, esi
call fcn.00401070
mov eax, 0x67df58
test eax, eax
je 0x410180
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x410180
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push 0x67df58
push eax
push eax
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x410180
lea ecx, [eax + eax + 2]
push ecx
call fcn.0059a2da
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x410180
mov edx, dword [esi + 8]
push edx
push eax
push 0xffffffffffffffff
push 0x67df58
push 0
push 0
call edi
mov dword [esi + 8], eax
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareOpera_Software
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4101ae
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret 4
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
mov ebx, 0x208
push str.Last_Directory
push eax
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x410260
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.Last_CommandLine
push eax
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x410231
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.Last_Directory2
push eax
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x410260
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret 4
lea ecx, [esp + 0x14]
push 0x6546e8
push ecx
call int.00582347
add esp, 8
test eax, eax
je 0x4102b9
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.00581a6a
add esp, 8
test eax, eax
je 0x410260
mov word [eax + 2], 0
lea eax, [esp + 0x14]
push eax
call fcn.00581b1a
add esp, 4
cmp word [esp + eax*2 + 0x12], 0x5c
je 0x410287
lea ecx, [esp + 0x14]
push 0x653058
push ecx
call fcn.00581c90
add esp, 8
lea edx, [esp + 0x14]
push str.ProgramPlugins_
push edx
push 0x653050
mov ecx, esi
call fcn.004102f0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x210
ret 4
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push str.Last_Directory2
push edx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x410260
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret 4
Function at 0x4112a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1c
lea eax, [esp + 4]
push ebx
push ebp
push esi
push edi
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0x67df58
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
mov edi, ecx
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x4112f9
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push eax
push 0xf003f
push eax
push 0x67df58
push eax
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push edx
call esi
test eax, eax
je 0x411317
cmp eax, 5
je 0x411436
push eax
push str.Err__ld_CBIr::IntIE__s7_n
mov ecx, edi
call fcn.00411440
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [str.IDM_Helper]
mov ecx, dword [0x654924]
mov dx, word [0x654928]
mov dword [esp + 0x20], eax
mov al, byte [0x65492a]
mov dword [esp + 0x24], ecx
mov byte [esp + 0x2a], al
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
mov word [esp + 0x28], dx
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
lea ecx, [esp + 0x24]
push ecx
push 1
push eax
push eax
push edx
call ebx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push 4
push eax
push 4
push 0
push str.NoExplorer
push ecx
mov dword [esp + 0x30], 1
call ebx
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebp
call fcn.004351a0
test eax, eax
je 0x411436
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0x67df58
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x411436
lea edx, [esp + 0x10]
push eax
push edx
push eax
push 0xf013f
push eax
push 0x67df58
push eax
mov eax, dword [esp + 0x30]
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push eax
call esi
test eax, eax
jne 0x411436
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
push ecx
lea ecx, [esp + 0x24]
push ecx
push 1
push eax
push eax
push edx
call ebx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push 4
push eax
push 4
push 0
push str.NoExplorer
push ecx
mov dword [esp + 0x34], 1
call ebx
mov edx, dword [esp + 0x10]
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4128c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x67e58c]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.intAOFRWE
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x412900
mov eax, dword [esp + 4]
test eax, eax
je 0x412900
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x4152c0
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
push esi
push 0
push 0x2000000
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x415332
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea edx, [esp + 4]
lea eax, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
lea eax, [esp + 4]
mov dword [esp + 0xc], ecx
push eax
lea ecx, [esp + 0x10]
push 0
push ecx
push esi
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x20
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
add esp, 0x20
ret
Function at 0x416c90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b05be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x109c
call fcn.00581f60
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x18], bx
call fcn.004028e0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
mov ecx, eax
jne 0x416ce5
lea ecx, [ebp - 0x18]
mov eax, dword [0x67e540]
cmp eax, ebx
jne 0x416cf3
mov eax, 0x67e544
push ecx
push eax
lea eax, [ebp - 0xe9c]
push 0x653e00
push eax
call fcn.00582a2e
add esp, 0x10
lea ecx, [ebp - 0xe9c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x416ee0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x416ee0
push ebx
lea ecx, [ebp - 0xc94]
call fcn.00433a40
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xc18]
push edx
mov byte [ebp - 4], 2
call fcn.0059e0c9
push esi
lea ecx, [ebp - 0xc1c]
call fcn.0059e0c9
lea eax, [ebp - 0xe9c]
lea ecx, [ebp - 0xc30]
push eax
call fcn.00401fc0
lea ecx, [ebp - 0xc94]
mov byte [ebp - 0xc24], bl
mov dword [ebp - 0xc38], 0x67e150
call fcn.00599ed3
cmp eax, 1
jne 0x416e36
lea ecx, [ebp - 0xbd4]
mov byte [ebp - 4], 0xa
call fcn.0054c620
lea ecx, [ebp - 0xc10]
mov byte [ebp - 4], 9
call fcn.005a5a49
lea ecx, [ebp - 0xc14]
mov byte [ebp - 4], 8
call fcn.0059df40
lea ecx, [ebp - 0xc18]
mov byte [ebp - 4], 7
call fcn.0059df40
lea ecx, [ebp - 0xc1c]
mov byte [ebp - 4], 6
call fcn.0059df40
lea ecx, [ebp - 0xc20]
mov byte [ebp - 4], 5
call fcn.0059df40
lea ecx, [ebp - 0xc30]
mov byte [ebp - 4], 4
call fcn.00401070
lea ecx, [ebp - 0xc34]
mov byte [ebp - 4], 3
call fcn.0059df40
lea ecx, [ebp - 0xc94]
mov byte [ebp - 4], 1
call fcn.00599b14
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00401070
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0xbd4]
mov byte [ebp - 4], 0x12
call fcn.0054c620
lea ecx, [ebp - 0xc10]
mov byte [ebp - 4], 0x11
call fcn.005a5a49
lea ecx, [ebp - 0xc14]
mov byte [ebp - 4], 0x10
call fcn.0059df40
lea ecx, [ebp - 0xc18]
mov byte [ebp - 4], 0xf
call fcn.0059df40
lea ecx, [ebp - 0xc1c]
mov byte [ebp - 4], 0xe
call fcn.0059df40
lea ecx, [ebp - 0xc20]
mov byte [ebp - 4], 0xd
call fcn.0059df40
lea ecx, [ebp - 0xc30]
mov byte [ebp - 4], 0xc
call fcn.00401070
lea ecx, [ebp - 0xc34]
mov byte [ebp - 4], 0xb
call fcn.0059df40
lea ecx, [ebp - 0xc94]
mov byte [ebp - 4], 1
call fcn.00599b14
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00401070
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00401070
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41f5a0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5b1290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x64]
mov dword [esp + 0x14], 0x18
call fcn.0059df40
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0x17
call fcn.0059df40
lea ecx, [esi + 0x5c]
mov byte [esp + 0x14], 0x16
call fcn.0059df40
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 0x15
call fcn.0059df40
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 0x14
call fcn.0059df40
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 0x13
call fcn.0059df40
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 0x12
call fcn.0059df40
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 0x11
call fcn.0059df40
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 0x10
call fcn.0059df40
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 0xf
call fcn.0059df40
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 0xe
call fcn.0059df40
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 0xd
call fcn.0059df40
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 0xc
call fcn.0059df40
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0xb
call fcn.0059df40
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 0xa
call fcn.0059df40
mov eax, dword [esi + 0x28]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call edi
mov ecx, dword [esi + 0x24]
push ecx
call edi
mov edx, dword [esi + 0x20]
push edx
call edi
mov eax, dword [esi + 0x1c]
push eax
call edi
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 5
call fcn.0059df40
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 4
call fcn.0059df40
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 3
call fcn.0059df40
lea ecx, [esi + 0xc]
mov byte [esp + 0x14], 2
call fcn.0059df40
lea ecx, [esi + 8]
mov byte [esp + 0x14], 1
call fcn.0059df40
lea ecx, [esi + 4]
mov byte [esp + 0x14], 0
call fcn.0059df40
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0059df40
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4275a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1d16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [esi + 4], 0x5d054c
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x679a04]
lea edi, [esi + 0x1c]
mov dword [ebp - 4], ebx
mov dword [edi], eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x120]
push ecx
push edx
mov dword [esi], 0x5d0548
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], ebx
mov eax, dword [0x67e58c]
push ebx
push ebx
push str.ToolbarStyle
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x427674
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x427653
lea ecx, [ebp - 0x120]
lea eax, [esi + 0x1c]
push ecx
push 0x652fd0
push eax
call fcn.00596d08
add esp, 0xc
lea edx, [ebp - 0x120]
push str.ClassicOld
push edx
call fcn.0058b0a0
add esp, 8
test eax, eax
jne 0x427682
mov dword [esi + 0x28], 1
jmp 0x427682
push str.3D_Style
push edi
call fcn.00596d08
add esp, 8
mov edx, dword [0x67e58c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push ebx
push ebx
push str.LargeButtons
push edx
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4276af
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x24], eax
mov ecx, esi
mov dword [esi + 0x18], ebx
call fcn.00427940
cmp dword [esi + 0x28], ebx
jne 0x427708
cmp dword [esi + 0x20], ebx
jne 0x427708
xor edi, edi
cmp edi, dword [esi + 0xc]
jge 0x427708
mov edx, dword [esi + 8]
lea ecx, [edi + edi*4]
push str.3D_Style
mov eax, dword [edx + ecx*4]
push eax
call fcn.005831c4
add esp, 8
test eax, eax
jne 0x4276fc
inc edi
mov eax, esi
mov dword [esi + 0x20], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc edi
jmp 0x4276c5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret