Function at 0x100179f0
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb30
mov eax, dword [0x100416e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb20], eax
xor eax, eax
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xb30], eax
mov eax, dword [ecx + 4]
push esi
push edi
mov dword [ebp - 0xb24], edx
mov edi, 1
cmp byte [eax + 0xa8], 0x15
mov dword [ebp - 0xb28], 1
mov dword [ebp - 0xb2c], 1
push 0x104
jne 0x10017a8a
xor eax, eax
mov word [ebp - 0x464], ax
lea eax, [ebp - 0x464]
push eax
push 0xadfe
push dword [0x10043578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x464], 0
jne 0x10017add
push 0x104
lea eax, [ebp - 0x464]
push eax
push 0xadfe
jmp 0x10017ac6
xor eax, eax
mov word [ebp - 0x464], ax
lea eax, [ebp - 0x464]
push eax
push 0xae15
push dword [0x10043578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x464], 0
jne 0x10017add
push 0x104
lea eax, [ebp - 0x464]
push eax
push 0xae15
mov esi, dword [0x1004338c]
mov ecx, esi
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push 1
push str.NDX_u
lea eax, [ebp - 0x25c]
mov esi, edi
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
jmp 0x10017b10
push ebx
push 0x104
lea eax, [ebp - 0x8c4]
push eax
push 0x10043388
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0xb20]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10017b74
push ebx
push 0
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0xb20]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
inc esi
mov edi, eax
movzx ecx, si
lea eax, [ebp - 0x25c]
push ecx
push str.NDX_u
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
test edi, edi
jne 0x10017b10
mov esi, 1
lea eax, [ebp - 0x25c]
push esi
push str.MDX_u
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
test edi, edi
je 0x10017dc9
lea esp, [esp]
push ebx
push 0x104
lea eax, [ebp - 0x8c4]
push eax
push 0x10043388
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0xb20]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10017c09
push ebx
push 0
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0xb20]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, eax
inc esi
movzx eax, si
push eax
push str.MDX_u
lea eax, [ebp - 0x25c]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
test edi, edi
jne 0x10017ba0
jmp 0x10017dc9
test edi, edi
je 0x10017dc9
mov eax, dword [ebp - 0xb24]
mov esi, dword [eax + 0x14]
lea ebx, [ebx]
test esi, esi
je 0x10017c8b
push dword [esi + 8]
lea eax, [ebp - 0x6bc]
push 0x10002800
push 0x1000280c
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x14
lea eax, [ebp - 0x8c4]
push ebx
push 0x104
push eax
push 0x10043388
push 0
lea eax, [ebp - 0x6bc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10017c7f
push ebx
push 0
push 0
lea eax, [ebp - 0x6bc]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, eax
mov esi, dword [esi + 4]
test edi, edi
jne 0x10017c20
jmp 0x10017dc9
test edi, edi
je 0x10017dc9
mov eax, dword [ebp - 0xb24]
mov esi, dword [eax + 0x1c]
lea esp, [esp]
test esi, esi
je 0x10017d78
push 0x102
lea eax, [ebp - 0x668]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esi + 8]
call dword [sym.imp.msvcrt.dll__wsplitpath_s]
add esp, 0x24
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
add esp, 8
test eax, eax
je 0x10017d21
mov edi, dword [ebp - 0xb28]
movzx eax, di
push eax
push str.NDX_u
lea eax, [ebp - 0x25c]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
inc edi
mov dword [ebp - 0xb28], edi
jmp 0x10017d4c
mov edi, dword [ebp - 0xb2c]
movzx eax, di
push eax
push str.MDX_u
lea eax, [ebp - 0x25c]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
inc edi
mov dword [ebp - 0xb2c], edi
push ebx
push dword [esi + 8]
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0xb20]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, eax
mov dword [ebp - 0xb30], esi
mov esi, dword [esi + 4]
test edi, edi
jne 0x10017ca0
jmp 0x10017dc9
test edi, edi
je 0x10017dc9
mov edx, dword [ebp - 0xb24]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x10017dc9
push eax
push 0x10002800
push 0x1000280c
lea eax, [ebp - 0xb1c]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
mov eax, dword [ebp - 0xb30]
add esp, 0x14
push ebx
push dword [eax + 8]
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0xb1c]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003bd00
mov esp, ebp
pop ebp
ret 8