joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423c60
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x637a6e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
push 0xa
call fcn.00422dd0
mov dword [esp + 0x24], 0
lea edi, [esi + 0x1c]
mov dword [esi], vtable.CCatchedUrlExcepionsList.0
xor eax, eax
mov dword [edi], 0
mov dword [edi + 8], 0
mov word [edi + 4], ax
mov byte [esp + 0x24], 1
lea ebp, [esi + 0x28]
mov ecx, ebp
call fcn.00423210
mov byte [esp + 0x24], 2
mov eax, dword [0x74ea5c]
test eax, eax
jne 0x423cd9
mov eax, 0x74ea60
push 0
push eax
push str._surlexclist.dat
mov ecx, edi
call fcn.004021b0
mov ecx, esi
call fcn.00422f00
mov eax, dword [0x74ea5c]
test eax, eax
jne 0x423cfd
mov eax, 0x74ea60
push 0
push eax
push str._sdefextmap.dat
lea ecx, [esi + 0x44]
call fcn.004021b0
mov ecx, ebp
call fcn.00422f00
mov ecx, esi
call fcn.00423ab0
mov eax, dword [0x74ea0c]
test eax, eax
je 0x423d7f
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push str.bRmGUCfEx
push eax
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x423d7f
mov ecx, dword [0x74ea0c]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.bRmGUCfEx
push ecx
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x423d7f
push str.https:__.googleusercontent.com_
mov ecx, esi
call fcn.004237e0
mov dword [esp + 0x24], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret

Function at 0x424060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x640718
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
test esi, esi
je 0x4240fe
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4240fe
xor eax, eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov word [esp + 0x10], ax
mov dword [esp + 0x24], eax
mov ecx, dword [0x74eb40]
push ecx
push edi
lea ecx, [esp + 0x14]
call fcn.00401980
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4240df
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004011f0
mov eax, esi
jmp 0x424100
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00613241
add esp, 0x1c
ret
Function at 0x424360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x640718
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
mov edi, ecx
xor esi, esi
xor ecx, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], esi
mov word [esp + 0x10], cx
mov dword [esp + 0x24], esi
mov edx, dword [0x74eb40]
push edx
push eax
lea ecx, [esp + 0x14]
call fcn.00401980
mov eax, dword [esp + 0xc]
cmp eax, esi
jne 0x4243c8
lea eax, [esp + 0x10]
mov ecx, dword [edi + 4]
push eax
mov eax, dword [esp + 0x30]
push eax
push 0x14d
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004011f0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00613241
add esp, 0x1c
ret 8

Function at 0x4244f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65ad88
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
xor ecx, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov word [esp + 0x14], cx
mov dword [esp + 0x28], ecx
mov edx, dword [0x74eb40]
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.00401980
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x424569
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ebx
push edi
push ecx
push edx
push eax
push esi
call fcn.00423e00
add esp, 0x18
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004011f0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00613241
add esp, 0x1c
ret
Function at 0x425c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x637c79
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x30]
push eax
push 0x159
call fcn.005e8ff4
mov dword [esp + 0x14], 0
lea ecx, [esi + 0x74]
mov dword [esi], vtable.CChooseQueueDlg.0
call fcn.00408b50
mov byte [esp + 0x14], 1
lea ecx, [esi + 0xc8]
call fcn.00403f10
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x11c]
call fcn.005f1141
mov byte [esp + 0x14], 3
lea eax, [esi + 0x194]
mov dword [esp + 0x30], eax
mov dword [eax], vtable.CIDMStaticControl.0
mov byte [esp + 0x14], 4
mov dword [eax], vtable.CIDMButton.0
mov byte [esp + 0x14], 5
lea eax, [esi + 0x1a4]
mov dword [esp + 0x30], eax
mov dword [eax], vtable.CIDMStaticControl.0
mov byte [esp + 0x14], 6
mov dword [eax], vtable.CIDMButton.0
mov byte [esp + 0x14], 7
mov dword [esi + method.CIDMWCombobox.virtual_0], vtable.CIDMWCombobox.0
mov byte [esp + 0x14], 8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esi + 0x1c0], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x1c4], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x1c8], eax
mov dword [esi + 0x1cc], ecx
mov dword [esi + 0x1d0], edx
mov dword [esi + 0x18c], 1
mov byte [esi + 0x190], 0
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x18
Function at 0x426780
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
push edi
test eax, eax
je 0x426795
push eax
call fcn.005e76a7
add esp, 4
mov edi, dword [esp + 0x10]
mov byte [esp + 0xb], 0
test edi, edi
jne 0x4267a6
lea edi, [esp + 0xb]
mov eax, edi
lea edx, [eax + 1]
jmp 0x4267b0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4267b0
sub eax, edx
inc eax
push eax
call fcn.005e76b2
add esp, 4
mov dword [esi + 8], eax
test eax, eax
jne 0x4267d5
pop edi
mov eax, 0x753b
pop esi
pop ecx
ret 8
mov ecx, edi
mov edx, eax
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4267e0
cmp dword [esp + 0x14], 0
je 0x42681f
mov edi, dword [esi + 0x478]
test edi, edi
je 0x42681f
mov edx, dword [esi + 8]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426803
sub eax, esi
inc eax
push eax
push edx
push 1
push 0
push str.FileName
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
Function at 0x4271a0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x638037
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00402500
xor edi, edi
mov dword [esp + 0x18], edi
lea ecx, [esi + 4]
call fcn.00402500
mov byte [esp + 0x18], 1
lea ecx, [esi + 8]
call fcn.00402500
mov byte [esp + 0x18], 2
lea ecx, [esi + 0xc]
call fcn.00402500
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x10]
call fcn.00402500
mov byte [esp + 0x18], 4
lea ecx, [esi + 0x14]
call fcn.00402500
mov byte [esp + 0x18], 5
lea ecx, [esi + 0x18]
call fcn.00402500
mov byte [esp + 0x18], 6
mov dword [esi + 0x1c], edi
mov byte [esp + 0x18], 7
mov dword [esi + 0x20], edi
mov byte [esp + 0x18], 8
mov dword [esi + 0x24], edi
mov byte [esp + 0x18], 9
mov dword [esi + 0x28], edi
mov byte [esp + 0x18], 0xa
lea ecx, [esi + 0x2c]
call fcn.00402500
mov byte [esp + 0x18], 0xb
lea ecx, [esi + 0x30]
call fcn.00402500
mov byte [esp + 0x18], 0xc
lea ecx, [esi + 0x34]
call fcn.00402500
mov byte [esp + 0x18], 0xd
lea ecx, [esi + 0x38]
call fcn.00402500
mov byte [esp + 0x18], 0xe
lea ecx, [esi + 0x3c]
call fcn.00402500
mov byte [esp + 0x18], 0xf
lea ecx, [esi + 0x40]
call fcn.00402500
mov byte [esp + 0x18], 0x10
lea ecx, [esi + 0x44]
call fcn.00402500
mov byte [esp + 0x18], 0x11
lea ecx, [esi + 0x48]
call fcn.00402500
mov byte [esp + 0x18], 0x12
lea ecx, [esi + 0x4c]
call fcn.00402500
mov byte [esp + 0x18], 0x13
lea ecx, [esi + 0x50]
call fcn.00402500
mov byte [esp + 0x18], 0x14
lea ecx, [esi + 0x54]
call fcn.00402500
mov byte [esp + 0x18], 0x15
lea ecx, [esi + 0x58]
call fcn.00402500
mov byte [esp + 0x18], 0x16
lea ecx, [esi + 0x5c]
call fcn.00402500
mov byte [esp + 0x18], 0x17
lea ecx, [esi + 0x60]
call fcn.00402500
mov byte [esp + 0x18], 0x18
lea ecx, [esi + 0x64]
call fcn.00402500
mov byte [esp + 0x18], 0x19
lea ecx, [esi + 0x68]
call fcn.00402500
mov byte [esp + 0x18], 0x1a
lea ecx, [esi + 0x6c]
call fcn.00402500
mov byte [esp + 0x18], 0x1b
lea ecx, [esi + 0x70]
call fcn.00402500
mov byte [esp + 0x18], 0x1c
lea ecx, [esi + 0x74]
call fcn.00402500
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x427350
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x638037
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0x1c
lea ecx, [esi + 0x74]
call fcn.00402570
mov byte [esp + 0x18], 0x1b
lea ecx, [esi + 0x70]
call fcn.00402570
mov byte [esp + 0x18], 0x1a
lea ecx, [esi + 0x6c]
call fcn.00402570
mov byte [esp + 0x18], 0x19
lea ecx, [esi + 0x68]
call fcn.00402570
mov byte [esp + 0x18], 0x18
lea ecx, [esi + 0x64]
call fcn.00402570
mov byte [esp + 0x18], 0x17
lea ecx, [esi + 0x60]
call fcn.00402570
mov byte [esp + 0x18], 0x16
lea ecx, [esi + 0x5c]
call fcn.00402570
mov byte [esp + 0x18], 0x15
lea ecx, [esi + 0x58]
call fcn.00402570
mov byte [esp + 0x18], 0x14
lea ecx, [esi + 0x54]
call fcn.00402570
mov byte [esp + 0x18], 0x13
lea ecx, [esi + 0x50]
call fcn.00402570
mov byte [esp + 0x18], 0x12
lea ecx, [esi + 0x4c]
call fcn.00402570
mov byte [esp + 0x18], 0x11
lea ecx, [esi + 0x48]
call fcn.00402570
mov byte [esp + 0x18], 0x10
lea ecx, [esi + 0x44]
call fcn.00402570
mov byte [esp + 0x18], 0xf
lea ecx, [esi + 0x40]
call fcn.00402570
mov byte [esp + 0x18], 0xe
lea ecx, [esi + 0x3c]
call fcn.00402570
mov byte [esp + 0x18], 0xd
lea ecx, [esi + 0x38]
call fcn.00402570
mov byte [esp + 0x18], 0xc
lea ecx, [esi + 0x34]
call fcn.00402570
mov byte [esp + 0x18], 0xb
lea ecx, [esi + 0x30]
call fcn.00402570
mov byte [esp + 0x18], 0xa
lea ecx, [esi + 0x2c]
call fcn.00402570
mov byte [esp + 0x18], 9
mov eax, dword [esi + 0x28]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call edi
mov byte [esp + 0x18], 8
mov ecx, dword [esi + 0x24]
push ecx
call edi
mov byte [esp + 0x18], 7
mov edx, dword [esi + 0x20]
push edx
call edi
mov byte [esp + 0x18], 6
mov eax, dword [esi + 0x1c]
push eax
call edi
mov byte [esp + 0x18], 5
lea ecx, [esi + 0x18]
call fcn.00402570
mov byte [esp + 0x18], 4
lea ecx, [esi + 0x14]
call fcn.00402570
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x10]
call fcn.00402570
mov byte [esp + 0x18], 2
lea ecx, [esi + 0xc]
call fcn.00402570
mov byte [esp + 0x18], 1
lea ecx, [esi + 8]
call fcn.00402570
mov byte [esp + 0x18], 0
lea ecx, [esi + 4]
call fcn.00402570
mov dword [esp + 0x18], 0xffffffff
mov ecx, esi
call fcn.00402570
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x42fb10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x638954
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x28]
push eax
push 0x153
call fcn.005e8ff4
mov dword [esp + 0x18], 0
lea edi, [esi + 0x74]
mov ecx, edi
mov dword [esi], vtable.CConfirmRemoveUncompletedDlg.0
call fcn.00402500
mov byte [esp + 0x18], 1
mov dword [esi + 0x7c], vtable.CIDMStaticControl.0
mov byte [esp + 0x18], 2
lea eax, [esi + 0x8c]
mov dword [esp + 0x28], eax
mov dword [eax], vtable.CIDMStaticControl.0
mov byte [esp + 0x18], 3
mov dword [eax], vtable.CIDMButton.0
mov byte [esp + 0x18], 4
mov ecx, dword [esp + 0x20]
push ecx
push 0x66ae98
push edi
call fcn.00402f80
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esi + 0x78], edx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x433f00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638d40
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 1
mov eax, dword [0x74ea5c]
cmp eax, ebx
jne 0x433f53
mov eax, 0x74ea60
push ebx
push eax
push str._sGrabber_
lea ecx, [ebp - 0x20]
call fcn.004021b0
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x433f6c
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x434046
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x433f86
lea eax, [ebp - 0x1c]
push 0x5c
add eax, 6
push eax
call fcn.00614db0
add esp, 8
mov esi, eax
cmp esi, ebx
je 0x434046
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x433fa8
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402180
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov ecx, eax
jne 0x433fc1
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x433fcb
lea eax, [ebp - 0x1c]
mov edx, esi
sub edx, eax
sar edx, 1
xor eax, eax
mov word [ecx + edx*2], ax
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x433fe1
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004a29e0
add esp, 8
test eax, eax
jne 0x434025
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x433ff9
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004a2bc0
add esp, 8
test eax, eax
jne 0x434025
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004011f0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.004011f0
mov eax, 0x7546
jmp 0x434085
push 0x5c
add esi, 2
push esi
call fcn.00614db0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004011f0
jmp 0x433f96
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x434050
lea eax, [ebp - 0x1c]
push ebx
push eax
push 0x66ae98
lea ecx, [edi + 8]
call fcn.004021b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x434085
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00613241
mov esp, ebp
pop ebp
ret 4
Function at 0x435a50
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x639068
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x14], eax
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push ebx
push str.LargeButtons
mov edx, dword [0x74ea0c]
push edx
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call edi
cmp dword [esi + 0x30], ebx
je 0x435ac8
mov dword [ebp - 0x14], 1
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push ebx
push str.bTbChOnDkMd
mov ecx, dword [0x74ea0c]
push ecx
call edi
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x435b30
dec eax
push eax
lea ecx, [esi + 4]
call fcn.00435380
add esi, 0x1c
mov edx, dword [eax]
push edx
push 0x66ae98
push esi
call fcn.00402f80
add esp, 0xc
mov esi, dword [esi]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x435af4
sub eax, edx
je 0x435b22
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x435b04
sub eax, edx
inc eax
push eax
push esi
push 1
push ebx
push str.ToolbarStyle
mov eax, dword [0x74ea0c]
push eax
call edi
jmp 0x435b8b
push str.ToolbarStyle
mov ecx, dword [0x74ea0c]
push ecx
jmp 0x435b85
cmp dword [esi + 0x2c], ebx
je 0x435b7a
push 0x6723b8
lea ecx, [ebp - 0x18]
call fcn.004030c0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x435b50
sub eax, esi
inc eax
push eax
push edx
push 1
push ebx
push str.ToolbarStyle
mov edx, dword [0x74ea0c]
push edx
call edi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.00402570
jmp 0x435b8b
push str.ToolbarStyle
mov eax, dword [0x74ea0c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x6391d6
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [esi], vtable.CCustomToolbars.0
lea ecx, [esi + 4]
call fcn.004351d0
xor ebx, ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x1c]
mov ecx, edi
call fcn.00402500
mov byte [ebp - 4], 1
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
push ebx
push ebx
push str.ToolbarStyle
mov edx, dword [0x74ea0c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x436870
lea eax, [ebp]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x436820
sub eax, edx
je 0x43683d
lea eax, [ebp]
push eax
push 0x66ae98
push edi
call fcn.00402f80
add esp, 0xc
push str.ClassicOld
lea ecx, [ebp]
push ecx
call fcn.00614d5e
add esp, 8
test eax, eax
je 0x436870
push 0x6723b8
lea edx, [ebp]
push edx
call fcn.00614d5e
add esp, 8
test eax, eax
jne 0x43687e
mov dword [esi + 0x2c], 1
jmp 0x43687e
push str.3D_Style
push edi
call fcn.00402f80
add esp, 8
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
push str.LargeButtons
mov edx, dword [0x74ea0c]
push edx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
jne 0x4368ad
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x28], eax
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push ebx
push ebx
push str.bTbChOnDkMd
mov eax, dword [0x74ea0c]
push eax
call edi
test eax, eax
jne 0x4368d5
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x18], ebx
mov ecx, esi
call fcn.00435c30
cmp dword [esi + 0x2c], ebx
jne 0x436912
cmp dword [esi + 0x20], ebx
jne 0x436912
xor edi, edi
mov dword [ebp - 0x1c], edi
cmp edi, dword [esi + 0xc]
jge 0x436912
push str.3D_Style
push edi
lea ecx, [esi + 4]
call fcn.00435380
push eax
call fcn.00421ed0
add esp, 8
inc edi
test al, al
je 0x4368eb
mov dword [esi + 0x20], edi
mov dword [ebp - 4], 1
jmp 0x43692b
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.00613241
add ebp, 0x108
mov esp, ebp
pop ebp
ret
Function at 0x436b70
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
sub esp, 0x10
cmp dword [0x74e9e8], 0
push ebx
mov ebx, ecx
je 0x436dd3
push edi
push str.RtlGetNtVersionNumbers
push 0x672574
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x436dd2
push ebp
lea ebp, [ebx + 0x3c]
push ebp
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call eax
and dword [ebp], 0xfffffff
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp]
mov edx, dword [esp + 0x14]
cmp eax, 0xa
jne 0x436bdf
test edx, edx
ja 0x436be5
cmp ecx, 0x4563
jb 0x436dd1
jmp 0x436be5
jbe 0x436dd1
mov ecx, 1
mov dword [0x74e8b0], ecx
cmp eax, 0xa
jne 0x436c04
test edx, edx
ja 0x436c06
cmp dword [ebp], 0x4f2e
jae 0x436c06
jmp 0x436c0c
jbe 0x436c0c
mov dword [0x74e8b4], ecx
push esi
push str.uxtheme.dll
call fcn.00446c90
mov esi, eax
add esp, 4
test esi, esi
je 0x436dd0
push 0x31
push esi
call edi
push 0x68
push esi
mov dword [0x74e8d8], eax
call edi
push 0x6a
push esi
mov dword [0x74e8cc], eax
call edi
push 0x84
push esi
mov dword [0x74e8d4], eax
call edi
push 0x85
push esi
mov dword [0x74e8bc], eax
call edi
push 0x87
push esi
mov dword [0x74e8c0], eax
call edi
cmp dword [ebp], 0x47ba
jae 0x436c74
mov dword [0x74e8c4], eax
jmp 0x436c79
mov dword [0x74e8e4], eax
push 0x89
push esi
call edi
push str.SetWindowCompositionAttribute
push 0x672524
mov dword [0x74e8d0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call edi
push str.SetWindowTheme
push esi
mov dword [0x74e8b8], eax
call edi
push str.OpenThemeData
push esi
mov dword [0x74e8dc], eax
call edi
push str.GetThemeColor
push esi
mov dword [0x74e8e8], eax
call edi
push str.CloseThemeData
push esi
mov dword [0x74e8ec], eax
call edi
cmp dword [0x74e8d8], 0
mov dword [0x74e8f0], eax
je 0x436dd0
call fcn.00436980
test eax, eax
je 0x436dd0
cmp dword [0x74e8cc], 0
je 0x436dd0
cmp dword [0x74e8bc], 0
je 0x436dd0
cmp dword [0x74e8dc], 0
je 0x436dd0
cmp dword [0x74e8c0], 0
je 0x436dd0
cmp dword [0x74e8c4], 0
jne 0x436d36
cmp dword [0x74e8e4], 0
je 0x436dd0
cmp dword [0x74e8d0], 0
je 0x436dd0
mov byte [ebx + 0x39], 1
call fcn.00436a70
mov byte [ebx + 0x38], al
mov eax, dword [0x74ea0c]
test eax, eax
je 0x436dbb
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push str.bDkMdAllowed
push eax
mov dword [esp + 0x34], 4
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x436d90
cmp dword [esp + 0x10], eax
setne al
mov byte [ebx + 0x34], al
cmp byte [ebx + 0x34], 0
je 0x436db7
call dword [0x74e8bc]
test al, al
je 0x436db0
cmp byte [ebx + 0x38], 0
jne 0x436db0
mov eax, 1
mov byte [ebx + 0x35], al
jmp 0x436dbb
xor eax, eax
mov byte [ebx + 0x35], al
jmp 0x436dbb
mov byte [ebx + 0x35], 0
cmp byte [ebx + 0x35], 0
je 0x436dd0
push 1
mov ecx, ebx
call fcn.00436b40
call dword [0x74e8cc]
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x10
ret