Function at 0x4088ec
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x421a18
call fcn.004175a4
mov eax, 0x1c44
call fcn.004176a0
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
call fcn.00401046
and byte [ebp - 0x450], 0
mov ebx, eax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x44f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebx + 0x10ac], 1
jbe 0x4089f2
cmp dword [ebx + 0x14b4], 0
jne 0x4089f2
cmp dword [ebx + 0x14bc], 5
je 0x4089f2
mov esi, str.TRANSFORMS_
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp - 0x2f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x3c]
lea edi, [ebx + 0x10b4]
push eax
push edi
call fcn.004180a0
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x40899c
lea eax, [ebp - 0x3c]
push str.TRANSFORMS
push eax
call fcn.00417020
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.004180a0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4089d1
lea eax, [ebp - 0x3c]
push eax
call fcn.00417a40
pop ecx
add eax, esi
and byte [esi], 0
push eax
lea eax, [ebx + 0xcac]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x3c]
push eax
push edi
lea eax, [ebp - 0x450]
push str._s_s_s__s
push eax
call esi
add esp, 0x18
jmp 0x408a10
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebx + 0xcac]
push eax
push edi
lea eax, [ebp - 0x450]
push str._s_TRANSFORMS__s_
push eax
call esi
add esp, 0x10
jmp 0x408a10
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebx + 0x10b4]
push eax
lea eax, [ebp - 0x450]
push 0x4271e4
push eax
call esi
add esp, 0xc
and byte [ebp - 0x850], 0
mov edx, 0xff
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x84f]
and byte [ebp - 0x1c50], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x1c4f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1c50]
mov ecx, ebx
push eax
lea eax, [ebp - 0x850]
push eax
call fcn.0040f451
push eax
call fcn.00411dcb
lea eax, [ebp - 0x850]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x851], 0x5c
lea eax, [ebp + eax - 0x851]
jne 0x408a7d
and byte [eax], 0
cmp dword [ebp + 0x10], 0
jne 0x408af4
and byte [ebp - 0xc50], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0xc4f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x850]
push eax
lea eax, [ebp - 0xc50]
push dword [0x423600]
push str._s__s_
push eax
call fcn.004181f8
add esp, 0x10
lea eax, [ebp - 0xc50]
mov ecx, ebx
push 1
push eax
push 0x4271b0
call fcn.004102a0
lea eax, [ebp - 0xc50]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x450]
push str._s__s
push eax
call fcn.004181f8
add esp, 0x10
and byte [ebp - 0x1050], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x104f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0x14bc]
dec eax
je 0x408be9
dec eax
je 0x408bcb
dec eax
je 0x408ba1
dec eax
je 0x408b8a
dec eax
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 8]
push dword [0x4281e8]
je 0x408b44
push str._s__i___s___s
jmp 0x408bfe
lea eax, [ebp - 0x1850]
push str._s__p___s___s
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x1050]
push dword [ebp + 8]
push str._p__s___s
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x1050]
mov ecx, ebx
push 1
push eax
push 0x4271b0
call fcn.004102a0
jmp 0x408c0a
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 8]
push dword [0x4281e8]
push str._s__x___s___s
jmp 0x408bfe
lea eax, [ebp - 0x450]
push eax
lea eax, [ebx + 0x14c0]
push dword [ebp + 8]
push eax
push dword [0x4281e8]
push str._s__j_s___s___s
lea eax, [ebp - 0x1850]
push eax
call esi
add esp, 0x18
jmp 0x408c0a
lea eax, [ebp - 0x450]
push eax
lea eax, [ebx + 0x14c0]
push dword [ebp + 8]
push eax
push dword [0x4281e8]
push str._s__f_s___s___s
jmp 0x408bbd
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 8]
push dword [0x4281e8]
push str._s__a___s__s
lea eax, [ebp - 0x1850]
push eax
call esi
add esp, 0x14
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x408c26
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x450]
push esi
push eax
call fcn.00408f12
jmp 0x408ef2
mov edi, dword [ebp - 0x1c]
cmp dword [edi + 0x10], esi
je 0x408e53
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x10], esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.00408f06
test al, al
je 0x408c5e
push 1
push esi
lea eax, [ebp - 0x10]
push esi
push eax
push 0x427a18
push 0x423a68
jmp 0x408c85
push 0x42db88
push esi
push str.RunAsLaunchingUser
push str.Startup
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push esi
lea eax, [ebp - 0x10]
push esi
push eax
push 0x427a18
push 0x423a58
call fcn.00404ede
cmp eax, esi
jge 0x408cde
mov ecx, 0x80029c4a
cmp eax, ecx
jne 0x408cb2
mov eax, 0x66f
push ecx
push 0x648
push eax
mov dword [0x42ea5c], eax
call fcn.00411873
add esp, 0xc
jmp 0x408cc6
mov ecx, 0x648
push eax
push ecx
mov dword [0x42ea5c], ecx
call fcn.0041180a
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x408cd7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x408ef5
mov dword [ebp - 0x14], esi
cmp dword [ebx + 0x14bc], 5
mov byte [ebp - 4], 1
je 0x408cfc
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xffffffffffffffff
push dword [ebp + 8]
jmp 0x408d3a
and byte [ebp - 0x50], 0
push 0xc
pop ecx
xor eax, eax
lea edi, [ebp - 0x4f]
push 0x42db88
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x50]
push 0x32
push eax
push 0x42bab0
push dword [0x4235c4]
push dword [0x4235b8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x50]
push 0xffffffffffffffff
push eax
call fcn.00403322
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14b8]
pop ecx
cmp eax, esi
pop ecx
je 0x408d61
cmp dword [ebx + 0x10ac], 1
jbe 0x408d61
mov ecx, dword [ebp - 0x10]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x20]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
call fcn.0040dc19
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x64]
lea ecx, [ebx + 0x2e14]
mov dword [ebp + 0x10], esi
call fcn.0040c6b3
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
lea edi, [ebp + 0x10]
mov edx, dword [ecx]
push edi
push eax
push esi
push dword [ebp - 0x14]
push ecx
call dword [edx + 0x28]
cmp dword [ebp + 0x10], esi
jne 0x408db1
cmp eax, esi
je 0x408db1
or dword [ebp + 0x10], 0xffffffff
mov ecx, ebx
call fcn.0041028c
test eax, eax
je 0x408dd1
cmp dword [ebp + 0x10], 0xfffffff8
je 0x408e07
cmp dword [ebp + 0x10], 0xfffffffd
jne 0x408dd1
push 1
mov ecx, ebx
call fcn.0041027f
mov eax, dword [ebp + 0x10]
cmp eax, 0xfffffff8
je 0x408e07
cmp eax, 0xfffffff9
je 0x408e00
cmp eax, 0xfffffffc
je 0x408df9
cmp eax, 0xfffffffd
je 0x408e1d
cmp eax, esi
je 0x408e1d
push 0x65c
call fcn.0041180a
pop ecx
jmp 0x408e1d
push 0x65d
jmp 0x408df1
push 0x66c
jmp 0x408df1
mov ecx, dword [ebp - 0x1c]
push 1
pop eax
mov dword [ecx + 0xc], eax
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.00408f12
mov eax, dword [ebp + 0x10]
mov dword [0x42ea5c], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x408e48
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x408ef2
call fcn.0040649e
call fcn.00406464
mov ecx, ebx
call fcn.0041024f
test eax, eax
jne 0x408e91
mov ecx, ebx
call fcn.0041028c
test eax, eax
jne 0x408e91
lea eax, [ebp - 0x1850]
push 1
push eax
call fcn.004123bf
test eax, eax
jne 0x408ef2
mov dword [0x42ea5c], 0x485
jmp 0x408ef2
lea eax, [ebp - 0x1850]
push 1
push eax
call fcn.004122e2
mov esi, eax
cmp esi, 0xcccccccc
jne 0x408eb3
mov dword [0x42ea5c], 0x485
mov ecx, ebx
call fcn.0041028c
test eax, eax
je 0x408ed7
cmp esi, 0x669
je 0x408ed7
cmp esi, 0x642
jne 0x408ed7
push 1
mov ecx, ebx
call fcn.0041027f
push dword [ebp + 8]
mov ecx, edi
call fcn.0040bf7c
test eax, eax
je 0x408ef2
push dword [ebp + 8]
mov ecx, edi
call fcn.00409aa7
mov dword [edi + 0xc], eax
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc