Function at 0x10017cd0
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 0x10017d6a
xor eax, eax
mov word [ebp - 0x464], ax
lea eax, [ebp - 0x464]
push eax
push 0xadfe
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x464], 0
jne 0x10017dbd
push 0x104
lea eax, [ebp - 0x464]
push eax
push 0xadfe
jmp 0x10017da6
xor eax, eax
mov word [ebp - 0x464], ax
lea eax, [ebp - 0x464]
push eax
push 0xae15
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x464], 0
jne 0x10017dbd
push 0x104
lea eax, [ebp - 0x464]
push eax
push 0xae15
mov esi, dword [0x1004332c]
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 0x10017df0
push ebx
push 0x104
lea eax, [ebp - 0x8c4]
push eax
push 0x10043328
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0xb20]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10017e54
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 0x10017df0
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 0x10017ee4
jmp 0x10017e80
push ebx
push 0x104
lea eax, [ebp - 0x8c4]
push eax
push 0x10043328
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0xb20]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10017ef9
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 0x10017e80
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xb24]
mov esi, dword [eax + 0x14]
test esi, esi
je 0x10017f6d
push dword [esi + 8]
lea eax, [ebp - 0x6bc]
push 0x100027e8
push 0x100027f4
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 0x10043328
push 0
lea eax, [ebp - 0x6bc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10017f61
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 0x10017f02
jmp 0x10017ee4
mov eax, dword [ebp - 0xb24]
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x10018051
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 0x10017ff7
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 0x10018022
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 0x10017f76
jmp 0x10017ee4
mov edx, dword [ebp - 0xb24]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x10017ee4
push eax
push 0x100027e8
push 0x100027f4
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 ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret 8