Function at 0x430170
Capabilities:
Read .ini file
Set registry value

Disassembly:
sub esp, 0x808
mov eax, dword [0x4cbba0]
xor eax, esp
push ebx
push edi
mov dword [esp + 0x80c], eax
push 0x400
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x400
lea ecx, [esp + 0x410]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push ebx
lea eax, [esp + 0x10]
push eax
push 0x104
lea ecx, [esp + 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea edx, [esp + 0xc]
push 0x5c
push edx
call dword [sym.imp.MSVCR71.dll_strrchr]
add esp, 8
cmp eax, ebx
je 0x4301e0
mov byte [eax], bl
lea edi, [esp + 0xc]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4301e5
mov eax, dword [str.mvjfcheck.conf]
mov ecx, dword [0x4b1fac]
mov edx, dword [0x4b1fb0]
mov dword [edi], eax
mov eax, dword [0x4b1fb4]
mov dword [edi + 4], ecx
lea ecx, [esp + 0xc]
push ecx
push 0x400
mov dword [edi + 8], edx
mov edx, ecx
push edx
push 0x4acbb2
push str.path
push str.jfcheck
mov dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x430237
sub eax, edx
mov dword [esp + 8], eax
je 0x430445
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebp
push esi
lea eax, [esp + 0x10]
push eax
push 0x2001f
push ebx
push str.CLSID1A3440C6_F123_4CAB_84EE_C814E1AE0D8FInprocServer32
push SysReAllocString
xor esi, esi
mov dword [esp + 0x24], ebx
call edi
cmp eax, ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jne 0x4302a7
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea edx, [esp + 0x18]
push edx
push 1
push ebx
push 0x4acbb2
push esi
call ebp
cmp esi, ebx
je 0x4302a7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea eax, [esp + 0x10]
push eax
push 0x2001f
push ebx
push str.CLSID1E315374_71A5_471A_B683_4C4ADB5C588BInprocServer32
push SysReAllocString
mov dword [esp + 0x24], ebx
call edi
cmp eax, ebx
jne 0x430305
xor eax, eax
cmp esi, ebx
je 0x4302d3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov esi, dword [esp + 0x10]
jne 0x430305
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea edx, [esp + 0x18]
push edx
push 1
push ebx
push 0x4acbb2
push esi
call ebp
cmp esi, ebx
je 0x430305
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea eax, [esp + 0x10]
push eax
push 0x2001f
push ebx
push str.CLSID632C6705_17AB_4407_9281_F60D0A7726BEInprocServer32
push SysReAllocString
mov dword [esp + 0x24], ebx
call edi
cmp eax, ebx
jne 0x430363
xor eax, eax
cmp esi, ebx
je 0x430331
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov esi, dword [esp + 0x10]
jne 0x430363
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea edx, [esp + 0x18]
push edx
push 1
push ebx
push 0x4acbb2
push esi
call ebp
cmp esi, ebx
je 0x430363
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea eax, [esp + 0x10]
push eax
push 0x2001f
push ebx
push str.TypeLibF6887547_369E_42FB_9921_85DBD895FF761.00win32
push SysReAllocString
mov dword [esp + 0x24], ebx
call edi
cmp eax, ebx
jne 0x4303c1
xor eax, eax
cmp esi, ebx
je 0x43038f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov esi, dword [esp + 0x10]
jne 0x4303c1
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea edx, [esp + 0x18]
push edx
push 1
push ebx
push 0x4acbb2
push esi
call ebp
cmp esi, ebx
je 0x4303c1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea eax, [esp + 0x10]
push eax
push 0x2001f
push ebx
push str.CLSID632C6705_17AB_4407_9281_F60D0A7726BEToolboxBitmap32
push SysReAllocString
mov dword [esp + 0x24], ebx
call edi
cmp eax, ebx
jne 0x430438
xor eax, eax
cmp esi, ebx
je 0x4303ed
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov esi, dword [esp + 0x10]
jne 0x430438
lea edi, [esp + 0x14]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x430400
mov ecx, dword [str.__101]
mov dx, word [0x4b1e64]
lea eax, [esp + 0x14]
mov dword [edi], ecx
push eax
mov word [edi + 4], dx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea ecx, [esp + 0x18]
push ecx
push 1
push ebx
push 0x4acbb2
push esi
call ebp
cmp esi, ebx
je 0x430443
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
mov ecx, dword [esp + 0x80c]
pop edi
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0x808
ret