Function at 0x407eea
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x41eebc
call fcn.00414b54
mov eax, 0x2044
call fcn.00414d30
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 + 0x1078], 1
jbe 0x407ff0
cmp dword [ebx + 0x1480], 0
jne 0x407ff0
cmp dword [ebx + 0x1488], 5
je 0x407ff0
mov esi, 0x424b78
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 + 0x1080]
push eax
push edi
call fcn.00415640
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x407f9a
lea eax, [ebp - 0x3c]
push 0x424b6c
push eax
call fcn.004145c0
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.00415640
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407fcf
lea eax, [ebp - 0x3c]
push eax
call fcn.00414fe0
pop ecx
add eax, esi
and byte [esi], 0
push eax
lea eax, [ebx + 0xc78]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x3c]
push eax
push edi
lea eax, [ebp - 0x450]
push 0x424b60
push eax
call esi
add esp, 0x18
jmp 0x40800e
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebx + 0xc78]
push eax
push edi
lea eax, [ebp - 0x450]
push 0x424b4c
push eax
call esi
add esp, 0x10
jmp 0x40800e
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebx + 0x1080]
push eax
lea eax, [ebp - 0x450]
push 0x424170
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 - 0x2050], 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 - 0x204f]
and byte [ebp - 0x1050], 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 - 0x104f]
push 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1050]
push eax
push dword [0x42b31c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x2050]
push eax
lea eax, [ebp - 0x850]
push eax
lea eax, [ebp - 0x1050]
push eax
call fcn.0040f672
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 0x4080a8
and byte [eax], 0
cmp dword [ebp + 0x10], 0
jne 0x40811f
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 [0x4205bc]
push 0x424b44
push eax
call fcn.004156f4
add esp, 0x10
lea eax, [ebp - 0xc50]
mov ecx, ebx
push 1
push eax
push 0x424144
call fcn.0040dd5f
lea eax, [ebp - 0xc50]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x450]
push 0x424b3c
push eax
call fcn.004156f4
add esp, 0x10
and byte [ebp - 0x1c50], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x1c4f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0x1488]
dec eax
je 0x408214
dec eax
je 0x4081f6
dec eax
je 0x4081cc
dec eax
je 0x4081b5
dec eax
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 8]
push dword [0x424f54]
je 0x40816f
push 0x424b2c
jmp 0x408229
lea eax, [ebp - 0x1850]
push 0x424b1c
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x1c50]
push dword [ebp + 8]
push 0x424b10
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x1c50]
mov ecx, ebx
push 1
push eax
push 0x424144
call fcn.0040dd5f
jmp 0x408235
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 8]
push dword [0x424f54]
push 0x424b00
jmp 0x408229
lea eax, [ebp - 0x450]
push eax
lea eax, [ebx + 0x148c]
push dword [ebp + 8]
push eax
push dword [0x424f54]
push 0x424af0
lea eax, [ebp - 0x1850]
push eax
call esi
add esp, 0x18
jmp 0x408235
lea eax, [ebp - 0x450]
push eax
lea eax, [ebx + 0x148c]
push dword [ebp + 8]
push eax
push dword [0x424f54]
push 0x424ae0
jmp 0x4081e8
lea eax, [ebp - 0x450]
push eax
push dword [ebp + 8]
push dword [0x424f54]
push 0x424ad0
lea eax, [ebp - 0x1850]
push eax
call esi
add esp, 0x14
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x408251
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x450]
push esi
push eax
call fcn.00408497
jmp 0x408483
mov edi, dword [ebp - 0x1c]
cmp dword [edi + 0x10], esi
je 0x408432
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp + 0x10], esi
push esi
lea eax, [ebp + 0x10]
push esi
push eax
push 0x424ac0
push 0x420a08
mov dword [ebp - 4], esi
call fcn.004046e6
cmp eax, esi
jge 0x4082d3
mov ecx, 0x80029c4a
cmp eax, ecx
jne 0x4082a7
mov eax, 0x66f
push ecx
push 0x648
push eax
mov dword [0x42b314], eax
call fcn.0040f11a
add esp, 0xc
jmp 0x4082bb
mov ecx, 0x648
push eax
push ecx
mov dword [0x42b314], ecx
call fcn.0040f0b1
pop ecx
pop ecx
mov eax, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x4082cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x408486
mov dword [ebp - 0x10], esi
cmp dword [ebx + 0x1488], 5
mov byte [ebp - 4], 1
je 0x4082fb
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00402b07
pop ecx
mov dword [ebp - 0x10], eax
pop ecx
jmp 0x408346
and byte [ebp - 0x50], 0
push 0xc
pop ecx
xor eax, eax
lea edi, [ebp - 0x4f]
push 0x42a448
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x50]
push 0x32
push eax
push 0x428770
push dword [0x420580]
push dword [0x420574]
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.00402b07
mov edi, dword [ebp - 0x1c]
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x1484]
cmp eax, esi
je 0x408363
cmp dword [ebx + 0x1078], 1
jbe 0x408363
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.0040bb86
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 + 0x28d8]
mov dword [ebp - 0x14], esi
call fcn.0040b0a3
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
lea ebx, [ebp - 0x14]
mov edx, dword [ecx]
push ebx
push eax
push esi
push dword [ebp - 0x10]
push ecx
call dword [edx + 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
jne 0x4083b7
cmp eax, esi
je 0x4083ff
or ecx, 0xffffffff
mov dword [ebp - 0x14], ecx
cmp ecx, 0xfffffff8
je 0x4083ea
cmp ecx, 0xfffffff9
je 0x4083e3
cmp ecx, 0xfffffffc
je 0x4083dc
cmp ecx, 0xfffffffd
je 0x4083ff
cmp ecx, esi
je 0x4083ff
push 0x65c
call fcn.0040f0b1
pop ecx
jmp 0x4083ff
push 0x65d
jmp 0x4083d4
push 0x66c
jmp 0x4083d4
push 1
mov ecx, edi
pop eax
mov dword [edi + 0xc], eax
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.00408497
mov eax, dword [ebp - 0x14]
mov dword [0x42b314], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x40842a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x408483
call fcn.00405cd1
mov ecx, ebx
call fcn.0040dd39
test eax, eax
lea eax, [ebp - 0x1850]
push 1
push eax
je 0x408470
call fcn.0040faf7
cmp eax, 0xcccccccc
jne 0x408461
mov dword [0x42b314], 0x485
push dword [ebp + 8]
mov ecx, edi
call fcn.00408f78
mov dword [edi + 0xc], eax
jmp 0x408483
call fcn.0040fbd4
test eax, eax
jne 0x408483
mov dword [0x42b314], 0x485
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc