Function at 0x1001161e
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1001b7e2
call fcn.1001a990
sub esp, 0x308
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_DefWindowProcA]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [ebp - 0x14], esi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edi
lea ecx, [esi + 0x24]
mov dword [ebp - 4], ebx
call fcn.100184ac
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 1
call fcn.1000106a
push ebx
lea ecx, [esi + 0x354]
push 0xa
mov byte [ebp - 4], 2
call fcn.10017ca6
lea eax, [esi + 0x354]
mov dword [eax], 0x1001d270
mov dword [eax + 0x4c], ebx
push ebx
lea ecx, [esi + 0x3a8]
push 0xa
mov byte [ebp - 4], 3
call fcn.10017ca6
lea eax, [esi + 0x3a8]
mov dword [eax], 0x1001d264
mov dword [eax + 0x44], ebx
lea ecx, [esi + 0x3f0]
mov byte [ebp - 4], 4
call fcn.1000ce36
mov dword [esi + 0xb54], ebx
mov eax, dword [0x10021024]
mov dword [esi + 0xb5c], eax
lea eax, [esi + 0xb74]
mov dword [esi + 0xb70], ebx
mov dword [eax + 0x18], edi
mov edi, 0x104
mov dword [eax], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], 1
mov dword [eax + 0x24], ebx
or dword [esi + 0xb58], 0xffffffff
lea eax, [esi + 0x7c]
push edi
push ebx
push eax
mov dword [esi], 0x1001d258
mov dword [esi + 0x20], 0x1001d254
mov dword [esi + 0x78], ebx
mov byte [esi + 0x200], bl
mov dword [esi + 0x34c], ebx
mov dword [esi + 0x348], ebx
mov dword [esi + 0x350], ebx
mov dword [esi + 0x3a4], ebx
mov byte [esi + 0x6c9], bl
mov dword [esi + 0xb60], ebx
mov byte [esi + 0xb64], bl
mov byte [esi + 0xb65], 1
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [esi + 0x7c]
push edi
push eax
push dword [0x100229bc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor eax, eax
lea edi, [ebp - 0xf]
mov byte [ebp - 0x10], bl
mov byte [ebp - 0x114], bl
stosw word es:[edi], ax
push 0x3f
lea edi, [ebp - 0x113]
pop ecx
mov byte [ebp - 0x314], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x313]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x213]
mov byte [ebp - 0x214], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x7c]
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
mov edi, 0x104
lea eax, [esi + 0x7c]
push edi
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x7c]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x114]
push eax
lea eax, [esi + 0x7c]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [esi + 0x6ca]
push edi
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [esi + 0x7ce]
push edi
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x48
lea eax, [esi + 0x8d2]
push edi
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [esi + 0x9d6]
push edi
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x100
lea eax, [esi + 0x242]
push ebx
push eax
call sub.MSVCRT.dll_memset
lea edi, [esi + 0x7c]
lea eax, [esi + 0x7ce]
push edi
push eax
call sub.MSVCRT.dll_strcpy
push str.search.ini
lea eax, [esi + 0x7ce]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [esi + 0x8d2]
push edi
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [esi + 0x8d2]
push str.searchkey.dat
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x44
lea eax, [esi + 0x6ca]
push edi
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [esi + 0x6ca]
push str.hot.dat
push eax
call sub.MSVCRT.dll_strcat
push edi
lea edi, [esi + 0x9d6]
push edi
call sub.MSVCRT.dll_strcpy
push str.winskyieset.ini
push edi
call sub.MSVCRT.dll_strcat
add esp, 0x20
push edi
push ebx
push str.Count
push 0x10021390
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x344], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret