Function at 0x4402de
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x3ac]
sub esp, 0x42c
mov eax, dword [0x459848]
xor eax, ebp
mov dword [ebp + 0x3a8], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x1ff
lea eax, [ebp - 0x77]
push ebx
push eax
mov byte [ebp - 0x78], bl
call fcn.004281f0
add esp, 0xc
push 0x200
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [ebp - 0x78]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x440326
push 6
pop ecx
mov esi, 0x44cb88
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x78]
push eax
push ebx
movsw word es:[edi], word [esi]
push 0x44cba4
push 0x44cbac
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
mov esi, eax
call fcn.00427166
mov edx, eax
sub eax, esi
cmp eax, 0x2a30
pop ecx
jb 0x440510
push 7
pop ecx
xor eax, eax
mov byte [ebp + 0x388], bl
lea edi, [ebp + 0x389]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
stosb byte es:[edi], al
lea eax, [ebp + 0x388]
push 0x44cbb4
push eax
call fcn.00426d43
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x388]
push eax
push str.FLAG11
push 0x44cbc0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x1ff
lea eax, [ebp + 0x189]
push ebx
push eax
mov byte [ebp + 0x188], bl
call fcn.004281f0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x80], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x440510
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x188]
push eax
push ebx
push ebx
push str.Path
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push dword [ebp - 0x7c]
je 0x44041f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x440510
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp + 0x188], bl
je 0x440510
lea eax, [ebp + 0x188]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44043a
sub eax, edx
cmp byte [ebp + eax + 0x187], 0x3b
jne 0x440466
lea eax, [ebp + 0x188]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x440456
sub eax, edx
mov byte [ebp + eax + 0x187], bl
lea edi, [ebp + 0x188]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x44046d
mov esi, str.iexplore.exe
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x188]
push 0x44cc24
push eax
movsw word es:[edi], word [esi]
call fcn.00426ebd
cmp eax, ebx
pop ecx
pop ecx
je 0x44049f
push eax
call fcn.004270ea
pop ecx
jmp 0x4404e6
push 0x200
lea eax, [ebp + 0x188]
push ebx
push eax
call fcn.004281f0
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp + 0x188]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
cmp byte [ebp + 0x188], bl
je 0x440510
lea edi, [ebp + 0x188]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4404d4
push 8
pop ecx
mov esi, str.Internet_ExplorerIEXPLORE.EXE
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x188]
push eax
call fcn.0043f9cc
test al, al
pop ecx
je 0x440510
lea eax, [ebp - 0x78]
push eax
push 0x44cc48
push str.FLAG1
push 0x44cc54
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp + 0x3a8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426668
add ebp, 0x3ac
leave
ret