Function at 0x436d9b
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x460014
call fcn.0045e9d0
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, 0x460a68
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x44c]
push 0x103
push eax
push ebx
push 0xbc
call fcn.004252ac
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop ecx
push eax
push 0x40b980
call esi
lea edi, [ebp - 0x44c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x436ed9
push dword [ebp + 8]
lea eax, [ebp - 0x44c]
mov edi, 0x40b980
push 0x103
push eax
push ebx
push 0x40bab4
push edi
call esi
jmp 0x436ede
mov edi, 0x40b980
push dword [ebp + 8]
lea eax, [ebp - 0x348]
push 0x103
push eax
push ebx
push 0x40baa8
push edi
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x140]
push 0x103
push eax
push ebx
push 0x40baa0
push edi
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x758]
push 0x103
push eax
push ebx
push 0x40ba94
push edi
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x654]
push 0x103
push eax
push ebx
push 0x40b0dc
push edi
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x550]
push 0x103
push eax
push ebx
push 0x40b0d4
push edi
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x85c]
push 0x103
push eax
push ebx
push 0x40b988
push edi
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x960]
push 0x103
push eax
push ebx
push 0x40b0ec
push edi
call esi
push dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x40ba88
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.004435e6
mov esi, dword [sym.imp.MSVCRT.dll__stricmp]
lea eax, [ebp - 0x140]
push 0x40ba74
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 0x437064
lea eax, [ebp - 0x140]
push 0x40ba6c
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x437064
lea eax, [ebp - 0x140]
push 0x40ba5c
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x43705b
lea eax, [ebp - 0x140]
push 0x40ba54
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x43705b
lea eax, [ebp - 0x140]
push 0x40ba44
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x43705b
lea eax, [ebp - 0x140]
push 0x40ba34
push eax
call esi
pop ecx
test eax, eax
pop ecx
jne 0x43703e
mov dword [ebp - 0x24], 5
jmp 0x43706b
lea eax, [ebp - 0x140]
push 0x40ba28
push eax
call esi
pop ecx
test eax, eax
pop ecx
jne 0x43706b
mov dword [ebp - 0x24], 4
jmp 0x43706b
mov dword [ebp - 0x24], 2
jmp 0x43706b
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 0x40ba24
push eax
call esi
pop ecx
test eax, eax
pop ecx
jne 0x437096
mov dword [ebp - 0x28], 2
jmp 0x4370ce
lea eax, [ebp - 0x348]
push 0x40ba1c
push eax
call esi
pop ecx
test eax, eax
pop ecx
jne 0x4370b3
mov dword [ebp - 0x28], 1
jmp 0x4370ce
lea eax, [ebp - 0x348]
push 0x40ba18
push eax
call esi
pop ecx
test eax, eax
pop ecx
jne 0x4370ce
mov dword [ebp - 0x28], 3
lea eax, [ebp - 0x758]
lea ecx, [ebp - 0x20]
push eax
call fcn.004148d6
push dword [0x46476c]
mov dword [ebp - 4], ebx
mov ebx, 0x40ba10
lea ecx, [ebp - 0x20]
push ebx
call fcn.0041519d
push dword [0x464764]
mov esi, 0x40ba08
lea ecx, [ebp - 0x20]
push esi
call fcn.0041519d
cmp dword [ebp - 0x10], 0
je 0x437477
lea edi, [ebp - 0x654]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x437138
lea edi, [ebp - 0x550]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x437250
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.00414a38
push dword [0x46476c]
lea ecx, [ebp - 0x18]
push ebx
call fcn.0041519d
push dword [0x464764]
lea ecx, [ebp - 0x18]
push esi
call fcn.0041519d
push 0
push dword [ebp - 0x18]
call fcn.0042692e
pop ecx
mov edi, 0x40aa14
test eax, eax
pop ecx
jne 0x4371a2
push dword [ebp - 0x18]
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.00414e81
add esp, 0x10
jmp 0x4371ae
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push eax
call fcn.004149be
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.0041dc4c
mov esi, dword [ebp - 0x30]
mov ecx, esi
call fcn.00437921
mov ebx, eax
test ebx, ebx
je 0x4371e6
push ebx
mov ecx, esi
call fcn.00436d62
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 0x10]
push edi
mov eax, dword [ecx]
jmp 0x437233
lea eax, [ebp - 0x550]
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.00414e81
add esp, 0xc
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.0041dc4c
mov ecx, esi
call fcn.00437921
mov edi, eax
test edi, edi
je 0x437236
push edi
mov ecx, esi
call fcn.00436d62
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.00412266
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00412266
jmp 0x437253
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 0x43726e
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4c], ecx
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
call fcn.004364f5
mov ecx, dword [esi + 8]
lea ebx, [esi + 4]
xor edi, edi
cmp ecx, edi
jne 0x437289
xor eax, eax
jmp 0x437291
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
mov ecx, dword [ebp - 0x10]
inc eax
push eax
call fcn.00436555
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x44c]
push eax
call fcn.004364ff
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x20]
lea ecx, [eax + 0x34]
call fcn.00414a38
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x244]
push eax
call fcn.0043650e
push ecx
lea eax, [ebp - 0x960]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.004148d6
mov ecx, dword [ebp - 0x10]
call fcn.0043651d
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.004148d6
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.00414dde
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004149be
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00412266
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.00414a38
mov eax, dword [ebp - 0x14]
push ecx
mov dword [ebp - 0x34], esp
mov ecx, esp
cmp dword [eax - 0xc], edi
jl 0x437369
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x437378
mov eax, dword [0x40a0f8]
mov dword [ecx], eax
push dword [ebp - 0x14]
call fcn.00414a38
mov ecx, dword [ebp - 0x10]
call fcn.0043891c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], edi
push SysReAllocStringLen
mov dword [eax + 0x40], 1
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
push 0x40ad48
call fcn.00424c7c
add esp, 0x10
test eax, eax
je 0x4373be
cmp dword [ebp - 0x3c], edi
mov eax, dword [ebp - 0x10]
je 0x4373bb
mov dword [eax + 0x40], 1
jmp 0x4373be
mov dword [eax + 0x40], edi
push dword [ebp + 8]
push edi
push 0x40b9fc
push 0x40b980
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x3c], eax
cmp eax, edi
mov eax, dword [ebp - 0x10]
je 0x4373e5
mov dword [eax + 0x44], 1
jmp 0x4373e8
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.00419f24
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.004149be
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.00412266
cmp esi, 3
jne 0x437454
push edi
push dword [ebp - 0x20]
call fcn.0042692e
pop ecx
test eax, eax
pop ecx
jne 0x437454
push edi
push dword [ebp - 0x38]
call fcn.0042692e
pop ecx
test eax, eax
pop ecx
jne 0x437454
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
je 0x43745f
mov eax, dword [ecx]
push 1
call dword [eax + 0x4c]
jmp 0x43745f
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004388d0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00412266
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00412266
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00412266
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4