Function at 0x53511d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14b4
call fcn.0054c740
push edi
mov dword [ebp - 0x14a4], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14a0]
push eax
call fcn.00529440
add esp, 4
push 0x5cc550
lea ecx, [ebp - 0x14a0]
push ecx
call fcn.0054bea0
add esp, 8
lea edx, [ebp - 0x14a0]
push edx
push 0
push 0x5cc568
push 0x5cc574
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
mov dword [ebp - 0xb94], 0
jmp 0x535196
mov eax, dword [ebp - 0xb94]
add eax, 1
mov dword [ebp - 0xb94], eax
cmp dword [ebp - 0xb94], 0x200
jge 0x53521f
push pe_nt_image_headers32
call fcn.00562630
add esp, 4
mov dword [ebp - 0x14a8], eax
mov ecx, dword [ebp - 0xb94]
mov edx, dword [ebp - 0x14a8]
mov dword [ebp + ecx*4 - 0x1398], edx
push pe_nt_image_headers32
call fcn.00562630
add esp, 4
mov dword [ebp - 0x14ac], eax
mov eax, dword [ebp - 0xb94]
mov ecx, dword [ebp - 0x14ac]
mov dword [ebp + eax*4 - 0xb0c], ecx
mov ecx, 0x40
xor eax, eax
mov edx, dword [ebp - 0xb94]
mov edi, dword [ebp + edx*4 - 0x1398]
rep stosd dword es:[edi], eax
mov ecx, 0x40
xor eax, eax
mov edx, dword [ebp - 0xb94]
mov edi, dword [ebp + edx*4 - 0xb0c]
rep stosd dword es:[edi], eax
jmp 0x535187
mov dword [ebp - 0xb10], 0x578a00
lea eax, [ebp - 0x1398]
push eax
mov ecx, dword [ebp - 0xb10]
push ecx
call fcn.0053fddb
add esp, 8
mov dword [ebp - 0xb10], 0x578a10
lea edx, [ebp - 0xb0c]
push edx
mov eax, dword [ebp - 0xb10]
push eax
call fcn.0053fddb
add esp, 8
mov dword [ebp - 0xb94], 0
jmp 0x53527a
mov ecx, dword [ebp - 0xb94]
add ecx, 1
mov dword [ebp - 0xb94], ecx
mov edx, dword [ebp - 0xb94]
cmp edx, dword [ebp - 4]
jge 0x53548c
mov eax, dword [ebp - 0xb94]
push eax
push 0x5cc580
lea ecx, [ebp - 0xb90]
push ecx
call fcn.0054c6e3
add esp, 0xc
lea edx, [ebp - 0x14a0]
push edx
push 0
lea eax, [ebp - 0xb90]
push eax
push 0x5cc588
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x139c], eax
mov dword [ebp - 0xb98], 1
jmp 0x5352e0
mov ecx, dword [ebp - 0xb98]
add ecx, 1
mov dword [ebp - 0xb98], ecx
mov edx, dword [ebp - 0xb98]
cmp edx, dword [ebp - 0x139c]
jg 0x53547c
mov eax, dword [ebp - 0xb98]
push eax
mov ecx, dword [ebp - 0xb94]
push ecx
push 0x5cc594
lea edx, [ebp - 0xb90]
push edx
call fcn.0054c6e3
add esp, 0x10
lea eax, [ebp - 0x14a0]
push eax
push 0
lea ecx, [ebp - 0xb90]
push ecx
push 0x5cc5a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x535335
jmp 0x5352d1
mov edx, dword [ebp - 0xb98]
push edx
mov eax, dword [ebp - 0xb94]
push eax
push 0x5cc5b0
lea ecx, [ebp - 0xb90]
push ecx
call fcn.0054c6e3
add esp, 0x10
lea edx, [ebp - 0x14a0]
push edx
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
push 0x6858ec
lea ecx, [ebp - 0xb90]
push ecx
push 0x5cc5c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0xb98]
push edx
mov eax, dword [ebp - 0xb94]
push eax
push 0x5cc5cc
lea ecx, [ebp - 0xb90]
push ecx
call fcn.0054c6e3
add esp, 0x10
lea edx, [ebp - 0x14a0]
push edx
push 0
lea eax, [ebp - 0xb90]
push eax
push 0x5cc5dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.0053fee9
add esp, 8
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x30c], 0
je 0x535477
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
test ecx, ecx
jne 0x53543b
mov eax, dword [ebp - 0x30c]
push eax
lea ecx, [ebp - 0xb0c]
push ecx
lea edx, [ebp - 0x1398]
push edx
call fcn.005340f3
add esp, 0xc
movsx eax, al
movsx ecx, byte [ebp + 8]
cmp eax, ecx
jne 0x535439
mov edx, dword [ebp - 0xb94]
imul edx, edx, 0xa
add edx, dword [ebp - 0xb98]
mov dword [ebp - 0x14a4], edx
jmp 0x53547c
jmp 0x535477
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x30c]
push ecx
lea edx, [ebp - 0xb0c]
push edx
lea eax, [ebp - 0x1398]
push eax
call fcn.00533ce4
add esp, 0x10
test eax, eax
je 0x535477
mov ecx, dword [ebp - 0xb94]
imul ecx, ecx, 0xa
add ecx, dword [ebp - 0xb98]
mov dword [ebp - 0x14a4], ecx
jmp 0x53547c
jmp 0x5352d1
cmp dword [ebp - 0x14a4], 0
je 0x535487
jmp 0x53548c
jmp 0x53526b
mov dword [ebp - 0xb94], 0
jmp 0x5354a7
mov edx, dword [ebp - 0xb94]
add edx, 1
mov dword [ebp - 0xb94], edx
cmp dword [ebp - 0xb94], 0x200
jge 0x5354f9
mov eax, dword [ebp - 0xb94]
mov ecx, dword [ebp + eax*4 - 0x1398]
mov dword [ebp - 0x14b0], ecx
mov edx, dword [ebp - 0x14b0]
push edx
call fcn.00562659
add esp, 4
mov eax, dword [ebp - 0xb94]
mov ecx, dword [ebp + eax*4 - 0xb0c]
mov dword [ebp - 0x14b4], ecx
mov edx, dword [ebp - 0x14b4]
push edx
call fcn.00562659
add esp, 4
jmp 0x535498
cmp dword [ebp - 0x14a4], 0
jne 0x53550c
mov eax, 0x63
jmp 0x535661
mov dword [ebp - 0x14a4], 0x63
lea eax, [ebp - 0x14a0]
push eax
call fcn.00529440
add esp, 4
push 0x5cc5e8
lea ecx, [ebp - 0x14a0]
push ecx
call fcn.0054bea0
add esp, 8
mov dword [ebp - 0xb94], 0
jmp 0x535554
mov edx, dword [ebp - 0xb94]
add edx, 1
mov dword [ebp - 0xb94], edx
cmp dword [ebp - 0xb94], 0x200
jge 0x535643
mov eax, dword [ebp - 0xb94]
push eax
push 0x5cc5fc
lea ecx, [ebp - 0xb90]
push ecx
call fcn.0054c6e3
add esp, 0xc
mov ecx, 0x80
xor eax, eax
lea edi, [ebp - 0x308]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x14a0]
push edx
push pe_nt_image_headers32
lea eax, [ebp - 0x308]
push eax
push 0x6858f0
lea ecx, [ebp - 0xb90]
push ecx
push 0x5cc608
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x308]
push edx
call fcn.005350af
add esp, 4
lea eax, [ebp - 0x108]
push eax
call fcn.005350af
add esp, 4
lea ecx, [ebp - 0x105]
push ecx
lea edx, [ebp - 0x305]
push edx
call fcn.0054cf00
add esp, 8
test eax, eax
je 0x5355f5
jmp 0x535545
mov eax, dword [ebp - 0xb94]
push eax
push 0x5cc610
lea ecx, [ebp - 0xb90]
push ecx
call fcn.0054c6e3
add esp, 0xc
lea edx, [ebp - 0x14a0]
push edx
push 0
lea eax, [ebp - 0xb90]
push eax
push 0x5cc61c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, dword [ebp - 8]
jne 0x53563e
mov ecx, dword [ebp - 0xb94]
mov dword [ebp - 0x14a4], ecx
jmp 0x535643
jmp 0x535545
cmp dword [ebp - 0x14a4], 0x63
je 0x53565b
mov edx, dword [ebp - 0x14a4]
add edx, 1
mov dword [ebp - 0x14a4], edx
mov eax, dword [ebp - 0x14a4]
pop edi
mov esp, ebp
pop ebp
ret