Function at 0xd29a550
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8d8
mov eax, dword [0xd2b0418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov edi, dword [ebx + 0x30]
movsx edx, word [edi + 0x2f0]
mov ecx, dword [ebx + 4]
push 0
push edx
push 0x199
push 0x8e
push eax
mov dword [ebp - 0x8cc], eax
mov dword [ebp - 0x8d0], ebx
mov dword [ebp - 0x8c8], ecx
mov dword [ebp - 0x8d8], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [edi + 0x2f2], 1
mov esi, eax
jne 0xd29a63a
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xaecc
call fcn.0d29fa20
push 0x12c
lea ecx, [ebp - 0x464]
push ecx
push 0xaecd
call fcn.0d29fa20
lea eax, [ebp - 0x464]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29a5f1
sub eax, edx
sar eax, 1
mov edx, 0x12c
sub edx, eax
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x464]
push 0x12c
push ecx
call sub.msvcrt.dll_wcsncat_s
mov eax, dword [ebp - 0x8cc]
add esp, 0x10
push 0x10
push 0
lea edx, [ebp - 0x464]
push edx
push eax
jmp 0xd29a9b4
mov ecx, dword [ebp - 0x8cc]
push ebx
mov ebx, esi
call fcn.0d29a090
test eax, eax
je 0xd29a9ba
mov ebx, dword [ebp - 0x8c8]
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0xd29a6a0
cmp word [ecx], 0
je 0xd29a6a0
mov eax, ecx
lea edi, [eax + 2]
jmp 0xd29a670
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0xd29a670
sub eax, edi
sar eax, 1
cmp word [ecx + eax*2 - 2], 0x5c
jne 0xd29a6a0
push 0xd2b05e0
push ecx
push 0xd271a60
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
jmp 0xd29a6b7
push 0xd2b05e0
push ecx
push 0xd271a6c
push 0x104
lea edx, [ebp - 0x20c]
push edx
call sub.msvcrt.dll_swprintf_s
mov edx, dword [esi]
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
push 0x12c
lea ecx, [ebp - 0x464]
push ecx
push 0xd2b061c
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
cmp ecx, eax
mov ecx, dword [esi]
sbb eax, eax
push 0x104
inc eax
push ebx
lea edi, [ebp - 0x8c4]
mov dword [ebp - 0x8d4], eax
call fcn.0d298de0
test eax, eax
je 0xd29a912
mov eax, dword [esi]
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0xd29a912
mov ecx, dword [esi]
push ecx
mov edx, ebx
push edx
lea ecx, [ebp - 0x20c]
mov eax, esi
call fcn.0d298330
test eax, eax
je 0xd29a912
mov eax, dword [esi]
push eax
lea edi, [ebp - 0x20c]
call fcn.0d298390
test eax, eax
je 0xd29a912
mov ecx, dword [esi]
push ecx
call fcn.0d298490
test eax, eax
je 0xd29a912
mov edx, dword [esi]
push edx
push ebx
mov ecx, edi
mov eax, esi
call fcn.0d298530
test eax, eax
je 0xd29a912
mov eax, dword [ebp - 0x8d8]
lea edi, [esi + 0x10]
push eax
call fcn.0d2980b0
mov ecx, dword [ebp - 0x8d0]
mov edx, dword [ebp - 0x8cc]
push ecx
push edx
mov ecx, esi
call fcn.0d299a40
mov ecx, dword [esi]
push ebx
lea ebx, [ebp - 0x8c4]
mov edi, eax
call fcn.0d298fa0
cmp dword [ebp - 0x8d4], 0
je 0xd29a7cd
mov ecx, dword [esi]
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test edi, edi
je 0xd29a8a8
lea eax, [esi + 0x10]
push eax
call fcn.0d28d810
mov dword [ebp - 0x8c8], eax
jmp 0xd29a7f6
mov eax, dword [ebp - 0x8c8]
test eax, eax
je 0xd29a8ea
push eax
call fcn.0d28da40
mov ebx, eax
test edi, edi
je 0xd29a88e
mov edi, edi
test ebx, ebx
je 0xd29a88e
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x8c8]
mov ecx, dword [eax + 0xc]
push edx
push ecx
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0xd29a882
push 0x12c
lea edx, [ebp - 0x6bc]
push edx
push 0xaec6
call fcn.0d29fa20
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x6bc]
push ecx
push 0x12b
lea edx, [ebp - 0x464]
push 0x12c
push edx
call sub.msvcrt.dll__snwprintf_s
mov ecx, dword [ebp - 0x8cc]
add esp, 0x14
push 0x10
push 0
lea eax, [ebp - 0x464]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor edi, edi
push ebx
call fcn.0d28da40
mov ebx, eax
test edi, edi
jne 0xd29a810
mov edx, dword [ebp - 0x8c8]
push edx
call fcn.0d28da40
mov dword [ebp - 0x8c8], eax
test edi, edi
jne 0xd29a7f0
mov eax, dword [ebp - 0x8d8]
push eax
lea edi, [esi + 0x10]
call fcn.0d2980b0
cmp dword [ebp - 0x8d4], 0
jne 0xd29a9ba
mov ecx, dword [ebp - 0x8d0]
mov edi, dword [ebp - 0x8cc]
push ecx
push edi
lea edx, [ebp - 0x20c]
mov ecx, esi
call fcn.0d2994f0
push esi
call fcn.0d2987d0
jmp 0xd29a9ba
test edi, edi
je 0xd29a8a8
mov edi, dword [ebp - 0x8cc]
push esi
call fcn.0d2987d0
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 4
push 0x12c
lea edx, [ebp - 0x6bc]
push edx
push 0xaece
call fcn.0d29fa20
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x6bc]
push ecx
push 0x12b
lea edx, [ebp - 0x464]
push 0x12c
push edx
call sub.msvcrt.dll__snwprintf_s
add esp, 0x14
push 0x12c
lea eax, [ebp - 0x6bc]
push eax
push 0xaecc
call fcn.0d29fa20
lea eax, [ebp - 0x464]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29a970
sub eax, edx
sar eax, 1
mov ecx, 0x12c
sub ecx, eax
push ecx
lea edx, [ebp - 0x6bc]
push edx
lea eax, [ebp - 0x464]
push 0x12c
push eax
call sub.msvcrt.dll_wcsncat_s
mov edx, dword [ebp - 0x8cc]
add esp, 0x10
push 0x10
push 0
lea ecx, [ebp - 0x464]
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 4