Function at 0x4359d8
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x45e6b8
call fcn.0045cfc0
sub esp, 0x954
push ebx
and byte [ebp - 0x44c], 0
push esi
push edi
push 0x40
mov dword [ebp - 0x30], ecx
pop edx
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x44b]
rep stosd dword es:[edi], eax
and byte [ebp - 0x348], 0
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x347]
rep stosd dword es:[edi], eax
and byte [ebp - 0x140], 0
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x13f]
rep stosd dword es:[edi], eax
and byte [ebp - 0x960], 0
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x95f]
rep stosd dword es:[edi], eax
and byte [ebp - 0x758], 0
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x757]
rep stosd dword es:[edi], eax
and byte [ebp - 0x244], 0
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x243]
rep stosd dword es:[edi], eax
and byte [ebp - 0x654], 0
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
and byte [ebp - 0x550], 0
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x54f]
rep stosd dword es:[edi], eax
and byte [ebp - 0x85c], 0
mov ecx, edx
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x85b]
rep stosd dword es:[edi], eax
push dword [ebp + 8]
mov ebx, 0x45f128
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x44c]
push 0x103
push eax
push ebx
push 0xbc
call fcn.00424a93
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop ecx
push eax
push 0x40b8e8
call esi
lea edi, [ebp - 0x44c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x435b16
push dword [ebp + 8]
lea eax, [ebp - 0x44c]
mov edi, 0x40b8e8
push 0x103
push eax
push ebx
push 0x40ba1c
push edi
call esi
jmp 0x435b1b
mov edi, 0x40b8e8
push dword [ebp + 8]
lea eax, [ebp - 0x348]
push 0x103
push eax
push ebx
push 0x40ba10
push edi
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x140]
push 0x103
push eax
push ebx
push 0x40ba08
push edi
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x758]
push 0x103
push eax
push ebx
push 0x40b9fc
push edi
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x654]
push 0x103
push eax
push ebx
push 0x40b138
push edi
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x550]
push 0x103
push eax
push ebx
push 0x40b130
push edi
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x85c]
push 0x103
push eax
push ebx
push 0x40b8f0
push edi
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x960]
push 0x103
push eax
push ebx
push 0x40b148
push edi
call esi
push dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x40b9f0
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x244]
push eax
push dword [ebp + 8]
call fcn.00441f5c
mov esi, dword [sym.imp.MSVCRT.dll__stricmp]
lea eax, [ebp - 0x140]
push 0x40b9dc
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
call esi
pop ecx
test eax, eax
pop ecx
je 0x435ca1
lea eax, [ebp - 0x140]
push 0x40b9d4
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x435ca1
lea eax, [ebp - 0x140]
push 0x40b9c4
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x435c98
lea eax, [ebp - 0x140]
push 0x40b9bc
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x435c98
lea eax, [ebp - 0x140]
push 0x40b9ac
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x435c98
lea eax, [ebp - 0x140]
push 0x40b99c
push eax
call esi
pop ecx
test eax, eax
pop ecx
jne 0x435c7b
mov dword [ebp - 0x24], 5
jmp 0x435ca8
lea eax, [ebp - 0x140]
push 0x40b990
push eax
call esi
pop ecx
test eax, eax
pop ecx
jne 0x435ca8
mov dword [ebp - 0x24], 4
jmp 0x435ca8
mov dword [ebp - 0x24], 2
jmp 0x435ca8
mov dword [ebp - 0x24], 1
mov ecx, dword [ebp - 0x30]
push dword [ebp - 0x24]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x348]
push 0x40b98c
push eax
call esi
pop ecx
test eax, eax
pop ecx
jne 0x435cd3
mov dword [ebp - 0x28], 2
jmp 0x435d0b
lea eax, [ebp - 0x348]
push 0x40b984
push eax
call esi
pop ecx
test eax, eax
pop ecx
jne 0x435cf0
mov dword [ebp - 0x28], 1
jmp 0x435d0b
lea eax, [ebp - 0x348]
push 0x40b980
push eax
call esi
pop ecx
test eax, eax
pop ecx
jne 0x435d0b
mov dword [ebp - 0x28], 3
lea eax, [ebp - 0x758]
lea ecx, [ebp - 0x20]
push eax
call fcn.00414105
push dword [0x46179c]
mov dword [ebp - 4], ebx
mov ebx, 0x40b978
lea ecx, [ebp - 0x20]
push ebx
call fcn.004149cc
push dword [0x461794]
mov esi, 0x40b970
lea ecx, [ebp - 0x20]
push esi
call fcn.004149cc
cmp dword [ebp - 0x10], 0
je 0x4360b4
lea edi, [ebp - 0x654]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x435d75
lea edi, [ebp - 0x550]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x435e8d
mov eax, dword [0x40a0f8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x654]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.00414267
push dword [0x46179c]
lea ecx, [ebp - 0x18]
push ebx
call fcn.004149cc
push dword [0x461794]
lea ecx, [ebp - 0x18]
push esi
call fcn.004149cc
push 0
push dword [ebp - 0x18]
call fcn.004260d1
pop ecx
mov edi, 0x40aab0
test eax, eax
pop ecx
jne 0x435ddf
push dword [ebp - 0x18]
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.004146b0
add esp, 0x10
jmp 0x435deb
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push eax
call fcn.004141ed
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.0041d3ac
mov esi, dword [ebp - 0x30]
mov ecx, esi
call fcn.0043655e
mov ebx, eax
test ebx, ebx
je 0x435e23
push ebx
mov ecx, esi
call fcn.0043599f
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 0x10]
push edi
mov eax, dword [ecx]
jmp 0x435e70
lea eax, [ebp - 0x550]
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.004146b0
add esp, 0xc
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.0041d3ac
mov ecx, esi
call fcn.0043655e
mov edi, eax
test edi, edi
je 0x435e73
push edi
mov ecx, esi
call fcn.0043599f
push edi
mov ebx, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 0x10]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00411a66
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00411a66
jmp 0x435e90
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x85c]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
push 1
pop ecx
cmp eax, ecx
jne 0x435eab
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4c], ecx
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
call fcn.00435132
mov ecx, dword [esi + 8]
lea ebx, [esi + 4]
xor edi, edi
cmp ecx, edi
jne 0x435ec6
xor eax, eax
jmp 0x435ece
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
mov ecx, dword [ebp - 0x10]
inc eax
push eax
call fcn.00435192
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x44c]
push eax
call fcn.0043513c
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x20]
lea ecx, [eax + 0x34]
call fcn.00414267
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x244]
push eax
call fcn.0043514b
push ecx
lea eax, [ebp - 0x960]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.00414105
mov ecx, dword [ebp - 0x10]
call fcn.0043515a
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x24], esi
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x50], ecx
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x14]
call fcn.00414105
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
mov eax, dword [eax - 8]
dec eax
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041460d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004141ed
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00411a66
push 0x5c
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll_strrchr]
pop ecx
inc eax
pop ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00414267
mov eax, dword [ebp - 0x14]
push ecx
mov dword [ebp - 0x34], esp
mov ecx, esp
cmp dword [eax - 0xc], edi
jl 0x435fa6
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x435fb5
mov eax, dword [0x40a0f8]
mov dword [ecx], eax
push dword [ebp - 0x14]
call fcn.00414267
mov ecx, dword [ebp - 0x10]
call fcn.004376fd
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], edi
push SysReAllocString
mov dword [eax + 0x40], 1
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
push 0x40ade4
call fcn.00424471
add esp, 0x10
test eax, eax
je 0x435ffb
cmp dword [ebp - 0x3c], edi
mov eax, dword [ebp - 0x10]
je 0x435ff8
mov dword [eax + 0x40], 1
jmp 0x435ffb
mov dword [eax + 0x40], edi
push dword [ebp + 8]
push edi
push 0x40b964
push 0x40b8e8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x3c], eax
cmp eax, edi
mov eax, dword [ebp - 0x10]
je 0x436022
mov dword [eax + 0x44], 1
jmp 0x436025
mov dword [eax + 0x44], edi
mov eax, dword [0x40a0f8]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00419685
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.004141ed
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.00411a66
cmp esi, 3
jne 0x436091
push edi
push dword [ebp - 0x20]
call fcn.004260d1
pop ecx
test eax, eax
pop ecx
jne 0x436091
push edi
push dword [ebp - 0x38]
call fcn.004260d1
pop ecx
test eax, eax
pop ecx
jne 0x436091
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
je 0x43609c
mov eax, dword [ecx]
push 1
call dword [eax + 0x4c]
jmp 0x43609c
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004374e1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00411a66
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00411a66
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00411a66
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4