Function at 0x4272d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68b7c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x71a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi - 0x84]
lea edi, [esi - 0x84]
mov ecx, edi
call dword [eax]
test eax, eax
je 0x427336
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x427336
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov al, 1
jmp 0x427525
lea eax, [esi + 0xc]
push eax
lea ecx, [esi + 0x8c0]
call fcn.0042d8f0
test al, al
je 0x427525
push 0xc
push 0x6af974
lea ecx, [esi - 0x64]
call fcn.004023e0
push 0xf
push str.DPVariableClass
lea ecx, [esi - 0x7c]
call fcn.004023e0
push 0x12c
push dword [esi + 8]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [esi - 0x80]
push 0x12d
mov dword [ecx + 0x14], eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_LoadMenuA]
mov dword [esi - 0x30], eax
mov dword [esi - 0x34], 0
mov dword [esi - 0x48], 0x2cf0000
mov dword [esi - 0x14], 0x400
mov dword [esi - 0x10], 0x300
mov dword [ebp - 0x30], vtable.win32only::CRegistry.0
mov dword [ebp - 0x2c], 0
push 0x6af98c
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004022b0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4273e3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x2c]
push ecx
push 0x20019
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [ebp - 0x14]
test eax, eax
sete bl
cmp edx, 0x10
jb 0x427420
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.004020c0
add esp, 4
test bl, bl
je 0x4274d6
push 0x6af984
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], 0x400
mov dword [ebp - 0x38], 0x300
call fcn.004022b0
lea eax, [esi - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
call fcn.00669980
lea ecx, [ebp - 0x28]
call fcn.00402270
push 0x6af9c0
lea ecx, [ebp - 0x28]
call fcn.004022b0
lea eax, [esi - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
call fcn.00669980
lea ecx, [ebp - 0x28]
call fcn.00402270
push 0x6af9b4
lea ecx, [ebp - 0x28]
call fcn.004022b0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
call fcn.00669980
lea ecx, [ebp - 0x28]
call fcn.00402270
push 0x6af9d4
lea ecx, [ebp - 0x28]
call fcn.004022b0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
call fcn.00669980
lea ecx, [ebp - 0x28]
call fcn.00402270
mov eax, dword [ebp - 0x34]
mov dword [esi - 0x14], eax
mov eax, dword [ebp - 0x38]
mov dword [esi - 0x10], eax
push dword [esi + 8]
mov ecx, edi
call fcn.00432f30
test al, al
jne 0x4274e8
xor bl, bl
jmp 0x42750e
mov ecx, edi
call fcn.00433660
push 5
push dword [edi + 0x5c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x5c]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [esi - 0x28]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov bl, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], vtable.win32only::CRegistry.0
test ecx, ecx
je 0x427523
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066bc45
mov esp, ebp
pop ebp
ret