Function at 0x416780
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 8], 0
jne 0x4167a5
push 0x8d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00429610
test eax, eax
je 0x4167a5
int3
cmp dword [ebp + 0xc], 0
jne 0x4167bf
push 0x8e
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00429610
test eax, eax
je 0x4167bf
int3
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x58], 0
je 0x416861
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004166d0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4167eb
mov eax, dword [ebp + 0x10]
jmp 0x416897
mov dword [ebp - 0xc], 4
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
jne 0x41685a
cmp dword [ebp - 4], 4
je 0x41683b
push 0x9c
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00429610
test eax, eax
je 0x41683b
int3
cmp dword [ebp - 0xc], 4
je 0x416855
push 0x9d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00429610
test eax, eax
je 0x416855
int3
mov eax, dword [ebp - 0x14]
jmp 0x416897
mov eax, dword [ebp + 0x10]
jmp 0x416897
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x6c], 0
jne 0x41687e
push 0xa4
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00429610
test eax, eax
je 0x41687e
int3
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x6c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x417e30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.0041cfa0
mov dword [ebp - 8], eax
push 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x417e88
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x417ea2
push 0x113
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
call fcn.00429610
test eax, eax
je 0x417ea2
int3
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00417ee0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004087a0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8