Function at 0xd29aa40
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x640
mov eax, dword [0xd2b0418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
mov esi, dword [eax + 0x30]
push edi
mov dword [ebp - 0x640], eax
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x2c]
push 0x90
push ecx
mov dword [ebp - 0x620], ecx
mov dword [ebp - 0x630], esi
mov dword [ebp - 0x628], eax
call ebx
mov dword [ebp - 0x624], eax
mov eax, dword [ebp - 0x620]
push 0x8e
push eax
call ebx
mov dword [ebp - 0x634], eax
test edi, edi
je 0xd29aae3
cmp word [edi], 0
je 0xd29aae3
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29aab3
sub eax, edx
sar eax, 1
cmp word [edi + eax*2 - 2], 0x5c
jne 0xd29aae3
push 0xd2b05e0
push edi
push 0xd271a60
push 0x104
lea ecx, [ebp - 0x61c]
push ecx
jmp 0xd29aafa
push 0xd2b05e0
push edi
push 0xd271a6c
push 0x104
lea edx, [ebp - 0x61c]
push edx
call sub.msvcrt.dll_swprintf_s
add esp, 0x14
push 0x1c
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x62c], ebx
test ebx, ebx
jne 0xd29ab3a
mov eax, dword [ebp - 0x620]
push eax
call fcn.0d2c3e73
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 4
xor eax, eax
mov dword [esi + 0x10], ebx
mov dword [ebx], eax
push eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
push 0x104
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
lea edx, [ebp - 0x20c]
push edx
mov dword [ebx + 0x14], eax
push 0xd2b061c
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x628]
push 0xd2b04c8
mov ecx, 0xfffe
and word [ebx + 0xe], cx
push eax
call fcn.0d292370
test ax, ax
jne 0xd29ad73
xor edi, edi
lea ebx, [ebx]
mov ecx, dword [ebp - 0x624]
push 0
push edi
push 0x150
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x104
lea edx, [ebp - 0x414]
mov esi, eax
push edx
push esi
call fcn.0d29fa20
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
je 0xd29ac6d
cmp esi, 0xaea2
jne 0xd29ac61
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29abf0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0xd29ac61
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29ac24
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x20e], 0x29
jne 0xd29ac61
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29ac47
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x20c], 0x28
je 0xd29ac6d
inc edi
cmp edi, 4
jl 0xd29ab90
jmp 0xd29ac75
cmp edi, 4
mov dword [ebx + 8], esi
jl 0xd29aca9
mov ecx, dword [ebp - 0x624]
push 0
push 0
push 0x150
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0x620]
push 0xd2b04b4
mov ecx, 0xd2b04c8
lea edi, [ebp - 0x61c]
mov dword [ebx + 8], eax
call fcn.0d2c3e73
cmp dword [ebx + 8], 0xaea2
jne 0xd29ad8c
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29acc0
sub eax, edx
sar eax, 1
xor edx, edx
mov word [ebp + eax*2 - 0x20e], dx
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29ace2
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 0x20a]
lea edx, [eax + 2]
jmp 0xd29ad00
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29ad00
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [ebp - 0x414]
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29ad20
mov ecx, dword [ebp - 0x628]
sub eax, esi
lea esi, [ecx + 0x6c]
mov ecx, dword [ecx + 0x7c]
push esi
sar eax, 1
push edx
lea eax, [ebp + eax*2 - 0x20a]
push eax
push ecx
call fcn.0d29f000
mov dword [ebx + 4], eax
test eax, eax
jne 0xd29ad8c
mov edx, dword [ebp - 0x620]
push edx
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 4
mov eax, dword [ebp - 0x624]
push 0
push 0
push 0x150
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 8], eax
mov esi, dword [ebp - 0x628]
push 0
lea ecx, [ebp - 0x63c]
push ecx
push 0x19
push 0xd2b0568
push esi
call fcn.0d292460
mov dx, word [ebp - 0x63c]
push 0
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xd2b061c
push 0xd2b052c
push esi
mov word [ebx + 0xc], dx
call fcn.0d292370
mov eax, 0xd2b04f0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29ade0
mov edi, dword [sym.imp.msvcrt.dll__wcsnicmp]
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x20c]
push 0xd2b04f0
push ecx
call edi
add esp, 0xc
test eax, eax
jne 0xd29ae12
or word [ebx + 0xe], 4
jmp 0xd29ae1b
mov edx, 0xfffb
and word [ebx + 0xe], dx
push 0
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xd2b061c
push 0xd2b05a4
push esi
call fcn.0d292370
mov eax, 0xd2b0518
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29ae41
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x20c]
push 0xd2b0518
push ecx
call edi
add esp, 0xc
test eax, eax
jne 0xd29ae6d
or word [ebx + 0xe], 2
jmp 0xd29ae76
mov edx, 0xfffd
and word [ebx + 0xe], dx
mov esi, dword [ebp - 0x634]
push 0
push 0
push 0x18b
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
dec edi
test edi, edi
jg 0xd29aeba
push ebx
push 0
push 0x19a
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
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
lea ebx, [edi*8]
sub ebx, edi
add ebx, ebx
add ebx, ebx
push ebx
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0xd29ab19
push ebx
push 0
push esi
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x630]
mov word [eax + 0xc], di
inc edi
add esp, 0xc
mov dword [eax + 0x14], esi
mov dword [ebp - 0x624], 0
mov dword [ebp - 0x638], edi
test edi, edi
jle 0xd29aea2
lea ebx, [esi + 0xe]
mov esi, dword [ebp - 0x624]
mov edx, dword [ebp - 0x634]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push esi
push edx
call fcn.0d283770
mov eax, dword [ebp - 0x630]
mov edx, dword [eax + 8]
mov eax, edx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29af40
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0xd29af87
mov edx, dword [ebp - 0x630]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x634]
push eax
push esi
push 0x19a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0xd29b3da
mov edx, dword [ebp - 0x634]
lea eax, [ebx - 0xe]
push eax
push esi
push 0x19a
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29afa7
sub eax, edx
mov edx, dword [ebp - 0x628]
lea ecx, [edx + 0x6c]
push ecx
mov ecx, dword [edx + 0x7c]
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
push ecx
call fcn.0d29f000
mov dword [ebx - 0xe], eax
test eax, eax
je 0xd29ad52
mov dx, word [ebx]
mov ecx, 0xfffe
and dx, cx
or dx, 8
mov word [ebx], dx
lea edx, [ebp - 0x61c]
push edx
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0xd2b061c
push 0xd2b04c8
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0xd29b1d8
mov edx, 0xfff7
and word [ebx], dx
xor esi, esi
mov edi, 0xaea0
lea esp, [esp]
push 0x104
lea eax, [ebp - 0x414]
push eax
push edi
call fcn.0d29fa20
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
je 0xd29b0fd
cmp edi, 0xaea2
jne 0xd29b0ed
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29b076
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0xd29b0ed
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29b0b0
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x20e], 0x29
jne 0xd29b0ed
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29b0d3
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x20c], 0x28
je 0xd29b0fd
inc edi
inc esi
cmp edi, 0xaea4
jl 0xd29b030
jmp 0xd29b105
cmp esi, 4
mov dword [ebx - 6], edi
jl 0xd29b12b
mov edx, dword [ebx - 0xe]
mov esi, dword [ebp - 0x620]
push edx
mov ecx, 0xd2b04c8
lea edi, [ebp - 0x61c]
call fcn.0d298290
mov eax, dword [ebp - 0x62c]
mov ecx, dword [eax + 8]
mov dword [ebx - 6], ecx
cmp dword [ebx - 6], 0xaea2
jne 0xd29b224
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29b141
sub eax, edx
sar eax, 1
xor edx, edx
mov word [ebp + eax*2 - 0x20e], dx
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29b163
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 0x20a]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29b180
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [ebp - 0x414]
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29b1a0
mov esi, dword [ebp - 0x628]
sub eax, edi
lea ecx, [esi + 0x6c]
push ecx
mov ecx, dword [esi + 0x7c]
sar eax, 1
push edx
lea eax, [ebp + eax*2 - 0x20a]
push eax
push ecx
call fcn.0d29f000
mov dword [ebx - 0xa], eax
test eax, eax
je 0xd29ab19
jmp 0xd29b224
mov edx, dword [ebp - 0x62c]
mov eax, dword [edx + 8]
mov dword [ebx - 6], eax
cmp eax, 0xaea2
jne 0xd29b224
mov eax, edx
mov edx, dword [eax + 4]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29b1f5
mov esi, dword [ebp - 0x628]
sub eax, edi
lea ecx, [esi + 0x6c]
push ecx
mov ecx, dword [esi + 0x7c]
sar eax, 1
push eax
push edx
push ecx
call fcn.0d29f000
mov dword [ebx - 0xa], eax
test eax, eax
je 0xd29b3f2
mov ecx, dword [ebx - 0xe]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x61c]
push edx
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xd2b061c
push 0xd2b0568
push ecx
call edi
test eax, eax
je 0xd29b275
lea eax, [ebp - 0x20c]
mov edx, 0xfff7
and word [ebx], dx
push eax
call dword [sym.imp.msvcrt.dll__wtol]
mov esi, dword [ebp - 0x62c]
add esp, 4
mov word [ebx - 2], ax
jmp 0xd29b283
mov esi, dword [ebp - 0x62c]
mov cx, word [esi + 0xc]
mov word [ebx - 2], cx
mov ecx, dword [ebx - 0xe]
lea edx, [ebp - 0x61c]
push edx
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xd2b061c
push 0xd2b052c
push ecx
call edi
test eax, eax
je 0xd29b2f9
mov edx, 0xfff7
and word [ebx], dx
mov eax, 0xd2b04f0
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29b2c0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push 0xd2b04f0
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0xd29b2ef
or word [ebx], 4
jmp 0xd29b312
mov ecx, 0xfffb
and word [ebx], cx
jmp 0xd29b312
mov edx, 0xfffb
and word [ebx], dx
movzx eax, word [ebx]
mov cx, word [esi + 0xe]
and cx, 4
or cx, ax
mov word [ebx], cx
mov ecx, dword [ebx - 0xe]
lea edx, [ebp - 0x61c]
push edx
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xd2b061c
push 0xd2b05a4
push ecx
call edi
test eax, eax
je 0xd29b389
mov edx, 0xfff7
and word [ebx], dx
mov eax, 0xd2b0518
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd29b350
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push 0xd2b0518
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0xd29b37f
or word [ebx], 2
jmp 0xd29b3a2
mov ecx, 0xfffd
and word [ebx], cx
jmp 0xd29b3a2
mov edx, 0xfffd
and word [ebx], dx
movzx eax, word [ebx]
mov cx, word [esi + 0xe]
and cx, 2
or cx, ax
mov word [ebx], cx
mov edx, dword [ebp - 0x640]
mov eax, dword [ebp - 0x620]
push edx
push eax
lea edx, [ebp - 0x61c]
lea ecx, [ebx - 0xe]
call fcn.0d2994f0
test eax, eax
jne 0xd29b3d1
mov ecx, dword [ebp - 0x630]
lea edi, [ebx + 2]
push ecx
call fcn.0d2980b0
mov esi, dword [ebp - 0x624]
add ebx, 0x1c
inc esi
cmp esi, dword [ebp - 0x638]
mov dword [ebp - 0x624], esi
jl 0xd29af12
jmp 0xd29aea2
mov ecx, dword [ebp - 0x620]
push ecx
call fcn.0d29dc60
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