Function at 0xd280eb0
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x890
mov eax, dword [0xd2b0418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, edx
mov dword [ebp - 0x880], eax
mov eax, dword [esi + 4]
movzx edx, byte [eax + 0xa9]
mov eax, dword [eax + 0xac]
push edi
mov edi, dword [esi + 0x30]
mov dword [ebp - 0x88c], ecx
mov ecx, dword [eax + edx*4 + 0x1c]
push ecx
lea edx, [ebp - 0x66c]
push 0x104
push edx
mov dword [ebp - 0x884], ebx
mov dword [ebp - 0x87c], edi
call sub.msvcrt.dll_wcscpy_s
mov eax, dword [0xd2aae48]
push eax
lea ecx, [ebp - 0x66c]
push ecx
call dword [sym.imp.msvcrt.dll_wcsstr]
add esp, 0x14
test eax, eax
je 0xd280f30
xor edx, edx
mov word [eax], dx
lea eax, [edi + 0x910]
mov dword [ebp - 0x890], eax
call fcn.0d280e60
test eax, eax
jne 0xd281315
lea eax, [edi + 0x908]
push eax
mov dword [ebp - 0x888], eax
call fcn.0d28d790
mov ebx, eax
mov dword [ebp - 0x878], ebx
test ebx, ebx
jne 0xd280f8c
mov ebx, dword [ebp - 0x880]
mov eax, ebx
call fcn.0d280e10
test eax, eax
je 0xd280fd5
mov eax, dword [ebp - 0x888]
push eax
call fcn.0d28d790
mov dword [ebp - 0x878], eax
mov ebx, eax
mov edi, dword [ebp - 0x884]
mov eax, edi
mov dword [ebx + 8], 0
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd280fa0
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebx + 0xc], eax
test eax, eax
jne 0xd280ff0
mov edx, dword [ebp - 0x880]
push edx
call fcn.0d29dc60
jmp 0xd281348
push ebx
call fcn.0d29dc60
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 8
mov ecx, edi
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0xd280ff5
sub ecx, ebx
sar ecx, 1
push edi
inc ecx
push ecx
push eax
call sub.msvcrt.dll_wcscpy_s
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2c]
add esp, 0xc
test ecx, ecx
je 0xd281051
cmp word [ecx], 0
je 0xd281051
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0xd281025
sub eax, esi
sar eax, 1
cmp word [ecx + eax*2 - 2], 0x5c
jne 0xd281051
push edi
push ecx
push str._s_s.inf
push 0x104
lea ecx, [ebp - 0x464]
push ecx
jmp 0xd281064
push edi
push ecx
push 0xd2aae70
push 0x104
lea edx, [ebp - 0x464]
push edx
call sub.msvcrt.dll_swprintf_s
add esp, 0x14
mov esi, 1
push esi
push str.NDX_u
lea eax, [ebp - 0x25c]
push 0x12c
push eax
call sub.msvcrt.dll_swprintf_s
add esp, 0x10
lea ecx, [ebp - 0x464]
push ecx
push 0x104
lea edx, [ebp - 0x874]
push edx
push 0xd2b0464
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x66c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
test edi, edi
jle 0xd2811eb
mov eax, dword [ebp - 0x87c]
add eax, 0x1518
push eax
call fcn.0d28d790
mov ebx, eax
test ebx, ebx
jne 0xd281137
mov edx, dword [ebp - 0x880]
push edx
call fcn.0d280cc0
mov ebx, eax
test ebx, ebx
je 0xd28132d
mov eax, dword [ebp - 0x888]
push eax
lea ecx, [ebx + 0x908]
push ecx
push eax
call fcn.0d28d700
mov eax, dword [ebp - 0x87c]
add eax, 0x1518
push eax
lea edx, [ebx + 0x1518]
push edx
push eax
call fcn.0d28d700
mov eax, dword [ebp - 0x87c]
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov dword [eax + 4], ebx
add eax, 0x1518
push eax
call fcn.0d28d790
mov ebx, eax
cmp edi, 0x7ffffffe
ja 0xd281342
lea eax, [edi + 1]
cmp eax, 0x3fffffff
mov dword [ebp - 0x884], eax
jg 0xd281342
lea edx, [edi + edi + 2]
push edx
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebx + 8], eax
test eax, eax
je 0xd281342
mov edx, dword [ebp - 0x884]
lea ecx, [ebp - 0x874]
push ecx
push edx
push eax
call sub.msvcrt.dll_wcscpy_s
mov eax, dword [ebp - 0x878]
add esp, 0xc
push ebx
add eax, 0x1c
push eax
call fcn.0d28d650
inc esi
movzx ecx, si
push ecx
push str.NDX_u
lea edx, [ebp - 0x25c]
push 0x12c
push edx
call sub.msvcrt.dll_swprintf_s
add esp, 0x10
lea eax, [ebp - 0x464]
push eax
push 0x104
lea ecx, [ebp - 0x874]
push ecx
push 0xd2b0464
lea edx, [ebp - 0x25c]
push edx
lea eax, [ebp - 0x66c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
test edi, edi
jg 0xd2810c1
mov esi, 1
push esi
push str.MDX_u
lea edx, [ebp - 0x25c]
push 0x12c
push edx
call sub.msvcrt.dll_swprintf_s
add esp, 0x10
lea eax, [ebp - 0x464]
push eax
push 0x104
lea ecx, [ebp - 0x874]
push ecx
push 0xd2b0464
lea edx, [ebp - 0x25c]
push edx
lea eax, [ebp - 0x66c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
test ebx, ebx
jle 0xd2812fa
mov eax, dword [ebp - 0x87c]
add eax, 0x1518
push eax
call fcn.0d28d790
mov edi, eax
test edi, edi
jne 0xd28127f
mov edi, dword [ebp - 0x87c]
mov eax, dword [ebp - 0x880]
call fcn.0d280e10
test eax, eax
je 0xd281336
mov eax, edi
add eax, 0x1518
push eax
call fcn.0d28d790
mov edi, eax
push edi
lea ecx, [ebp - 0x874]
push ecx
mov eax, ebx
call fcn.0d280db0
test eax, eax
je 0xd281342
mov edx, dword [ebp - 0x878]
push edi
add edx, 0x1c
push edx
call fcn.0d28d650
inc esi
movzx eax, si
push eax
push str.MDX_u
lea ecx, [ebp - 0x25c]
push 0x12c
push ecx
call sub.msvcrt.dll_swprintf_s
add esp, 0x10
lea edx, [ebp - 0x464]
push edx
push 0x104
lea eax, [ebp - 0x874]
push eax
push 0xd2b0464
lea ecx, [ebp - 0x25c]
push ecx
lea edx, [ebp - 0x66c]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
test ebx, ebx
jg 0xd281240
mov esi, dword [ebp - 0x878]
mov ecx, dword [ebp - 0x890]
push esi
push ecx
call fcn.0d28d650
mov edx, dword [ebp - 0x88c]
mov dword [edx], esi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x880]
push ecx
jmp 0xd28133d
mov eax, dword [ebp - 0x880]
push eax
call fcn.0d29dc60
mov ebx, dword [ebp - 0x878]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0xd281359
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x87c]
lea edi, [ebx + 0x1c]
push ecx
call fcn.0d280d60
mov edx, dword [ebp - 0x888]
push ebx
push edx
call fcn.0d28d650
mov eax, dword [ebp - 0x88c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], 0
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 8