Function at 0x10006922
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x100181a4
call fcn.10011b90
push ecx
mov eax, 0x2d60
call fcn.100122c0
mov eax, dword [ebp + 8]
push ebx
mov ecx, eax
push esi
shr ecx, 0x10
push edi
xor ebx, ebx
test cx, cx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
je 0x10006ca2
lea ecx, [eax + 0x315c]
call fcn.1000a2bf
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
cmp ax, 0x804
jne 0x10006973
mov dword [ebp - 0x14], str.gbk_
jmp 0x10006990
cmp ax, 0x404
je 0x10006989
cmp ax, 0xc04
je 0x10006989
cmp ax, 0x1004
jne 0x10006ca2
mov dword [ebp - 0x14], 0x1001dea4
cmp dword [ebp - 0x14], ebx
je 0x10006ca2
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x188a]
mov word [ebp - 0x188c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, 0x81
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x432]
mov word [ebp - 0x434], bx
mov word [ebp - 0x22c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x22a]
mov word [ebp - 0x844], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x842]
mov word [ebp - 0x63c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x63a]
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x22c]
push esi
push eax
push dword [0x1001f6cc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x22e], 0x5c
je 0x10006a5a
lea eax, [ebp - 0x22c]
push 0x1001dea0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x22c]
push str.spkw.dat
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x22c]
push eax
push ebx
push 0x1001de84
push str.KEYWORDS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebx
mov dword [ebp - 0x20], eax
jbe 0x10006ca2
cmp eax, 0x100
jae 0x10006ca2
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, 0x10026a70
mov eax, dword [eax + 0x3160]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
xor eax, eax
cmp eax, dword [ebp - 0x20]
jae 0x10006ca2
inc eax
push eax
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x434]
push str._s_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x188c]
push esi
push eax
mov eax, str.name
push ebx
push eax
lea eax, [ebp - 0x434]
push eax
call edi
lea eax, [ebp - 0x188c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x40
jg 0x10006c94
push 0x14e4
lea eax, [ebp - 0x2d70]
push 0
push eax
call fcn.10011ff0
add esp, 0xc
lea eax, [ebp - 0x188c]
push eax
lea eax, [ebp - 0x2d70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x188c]
push esi
push eax
mov eax, str.info
push ebx
push eax
lea eax, [ebp - 0x434]
push eax
call edi
lea eax, [ebp - 0x188c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, esi
jg 0x10006b92
lea eax, [ebp - 0x188c]
push eax
lea eax, [ebp - 0x1a9a]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x188c]
push 0x824
push eax
mov eax, 0x1001de44
push ebx
push eax
lea eax, [ebp - 0x434]
push eax
call edi
lea eax, [ebp - 0x188c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x824
jg 0x10006bdd
lea eax, [ebp - 0x188c]
push eax
lea eax, [ebp - 0x2ae4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x188c]
push esi
push eax
mov eax, str.icon
push ebx
push eax
lea eax, [ebp - 0x434]
push eax
call edi
cmp word [ebp - 0x188a], 0x3a
je 0x10006c4c
cmp word [ebp - 0x1888], 0x5c
je 0x10006c4c
lea eax, [ebp - 0x188c]
push eax
lea eax, [ebp - 0x63c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x188c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x188c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x188c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, esi
jg 0x10006c71
lea eax, [ebp - 0x188c]
push eax
lea eax, [ebp - 0x2cee]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x2d70]
or dword [ebp - 0x1890], 0xffffffff
push eax
lea eax, [ebp - 0x24]
push dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x315c]
call fcn.1000a1d1
mov eax, dword [ebp - 0x1c]
jmp 0x10006ac9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4