Function at 0x480fb0
Capabilities:
Inspect load icon resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2f05
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x513b94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 1
lea ecx, [ebx + 0x20]
push 1
call fcn.00480980
push 0x65
push dword [ebx + 4]
call fcn.00420600
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 8
push 0x414
push dword [ebx + 4]
call esi
push eax
call fcn.0046fbd0
add esp, 4
push 0x414
push dword [ebx + 4]
call esi
push eax
call fcn.00471710
mov esi, dword [0x5134c8]
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
mov ecx, edi
call fcn.00452560
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x30
push eax
call esi
mov ecx, edi
call fcn.00472010
push 0x32
push 3
push 0x403
push eax
call esi
mov ecx, edi
call fcn.00472010
push 0xf4240
push 2
push 0x403
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x32
call esi
push 0x31
mov edi, eax
call esi
push 1
push 1
push 0xff
push edi
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 5
mov esi, eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
push 0x77
push dword [0x518ee0]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 1
push eax
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_SetOverlayImage]
push 0
push esi
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00474d50
push 0x4eec2c
push dword [0x518ab4]
push dword [ebx + 4]
call fcn.0048a8e0
add esp, 0xc
mov dword [ebp - 0x20], 0
mov ecx, 0x518f0c
mov dword [ebp - 4], 0
call fcn.0049c770
test eax, eax
je 0x481157
push 0x4eec50
call fcn.0049c580
push eax
push 0x4eec50
call fcn.0049c710
add esp, 0xc
mov dword [ebp - 0x18], eax
push 0x518f0c
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x18]
call fcn.0049c250
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0049c120
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x481151
call fcn.0049c750
mov byte [ebp - 4], 4
jmp 0x48118c
push 0x4eec70
call fcn.0049c580
push eax
push 0x4eec70
call fcn.0049c710
add esp, 0xc
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0049c120
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x481198
call fcn.0049c750
push 9
push 0x4eeb58
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00472950
push 0x4eec8c
push dword [0x518ab4]
mov ecx, esi
call fcn.00474a20
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push eax
push 0
push 0
push 0x4eecb4
push dword [0x518ab4]
mov byte [ebp - 0xe], 0
mov dword [ebp - 0x14], 1
call esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
lea eax, [ebp - 0xe]
push eax
push 0
push 0
push 0x4eecec
push dword [0x518ab4]
call esi
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
xor eax, eax
cmp byte [ebp - 0xd], al
setne al
push eax
push 0x44b
push dword [ebx + 4]
call esi
xor eax, eax
cmp byte [ebp - 0xe], al
sete al
push eax
push 0x44c
push dword [ebx + 4]
call esi
push 0
push 0x44b
push 0x111
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10