Function at 0x5349f4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12c0
call fcn.0054c740
push esi
push edi
mov dword [ebp - 0x12ac], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x12a8]
push eax
call fcn.00529440
add esp, 4
push 0x5cc490
lea ecx, [ebp - 0x12a8]
push ecx
call fcn.0054bea0
add esp, 8
lea edx, [ebp - 0x12a8]
push edx
push 0
push 0x5cc4a8
push 0x5cc4b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
mov dword [ebp - 0x99c], 0
jmp 0x534a6e
mov eax, dword [ebp - 0x99c]
add eax, 1
mov dword [ebp - 0x99c], eax
cmp dword [ebp - 0x99c], 0x200
jge 0x534af7
push pe_nt_image_headers32
call fcn.00562630
add esp, 4
mov dword [ebp - 0x12b4], eax
mov ecx, dword [ebp - 0x99c]
mov edx, dword [ebp - 0x12b4]
mov dword [ebp + ecx*4 - 0x11a0], edx
push pe_nt_image_headers32
call fcn.00562630
add esp, 4
mov dword [ebp - 0x12b8], eax
mov eax, dword [ebp - 0x99c]
mov ecx, dword [ebp - 0x12b8]
mov dword [ebp + eax*4 - 0x90c], ecx
mov ecx, 0x40
xor eax, eax
mov edx, dword [ebp - 0x99c]
mov edi, dword [ebp + edx*4 - 0x11a0]
rep stosd dword es:[edi], eax
mov ecx, 0x40
xor eax, eax
mov edx, dword [ebp - 0x99c]
mov edi, dword [ebp + edx*4 - 0x90c]
rep stosd dword es:[edi], eax
jmp 0x534a5f
mov dword [ebp - 0x910], 0x578a00
lea eax, [ebp - 0x11a0]
push eax
mov ecx, dword [ebp - 0x910]
push ecx
call fcn.0053fddb
add esp, 8
mov dword [ebp - 0x910], 0x578a10
lea edx, [ebp - 0x90c]
push edx
mov eax, dword [ebp - 0x910]
push eax
call fcn.0053fddb
add esp, 8
mov dword [ebp - 0x99c], 0
jmp 0x534b52
mov ecx, dword [ebp - 0x99c]
add ecx, 1
mov dword [ebp - 0x99c], ecx
mov edx, dword [ebp - 0x99c]
cmp edx, dword [ebp - 4]
jge 0x534d64
mov eax, dword [ebp - 0x99c]
push eax
push 0x5cc4c0
lea ecx, [ebp - 0x990]
push ecx
call fcn.0054c6e3
add esp, 0xc
lea edx, [ebp - 0x12a8]
push edx
push 0
lea eax, [ebp - 0x990]
push eax
push 0x5cc4c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x11a4], eax
mov dword [ebp - 0x9a0], 1
jmp 0x534bb8
mov ecx, dword [ebp - 0x9a0]
add ecx, 1
mov dword [ebp - 0x9a0], ecx
mov edx, dword [ebp - 0x9a0]
cmp edx, dword [ebp - 0x11a4]
jg 0x534d54
mov eax, dword [ebp - 0x9a0]
push eax
mov ecx, dword [ebp - 0x99c]
push ecx
push 0x5cc4d4
lea edx, [ebp - 0x990]
push edx
call fcn.0054c6e3
add esp, 0x10
lea eax, [ebp - 0x12a8]
push eax
push 0
lea ecx, [ebp - 0x990]
push ecx
push 0x5cc4e4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x534c0d
jmp 0x534ba9
mov edx, dword [ebp - 0x9a0]
push edx
mov eax, dword [ebp - 0x99c]
push eax
push 0x5cc4f0
lea ecx, [ebp - 0x990]
push ecx
call fcn.0054c6e3
add esp, 0x10
lea edx, [ebp - 0x12a8]
push edx
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
push 0x6858e8
lea ecx, [ebp - 0x990]
push ecx
push 0x5cc500
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x9a0]
push edx
mov eax, dword [ebp - 0x99c]
push eax
push 0x5cc50c
lea ecx, [ebp - 0x990]
push ecx
call fcn.0054c6e3
add esp, 0x10
lea edx, [ebp - 0x12a8]
push edx
push 0
lea eax, [ebp - 0x990]
push eax
push 0x5cc51c
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 - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x534d4f
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 0x534d13
mov eax, dword [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x90c]
push ecx
lea edx, [ebp - 0x11a0]
push edx
call fcn.005340f3
add esp, 0xc
movsx eax, al
movsx ecx, byte [ebp + 8]
cmp eax, ecx
jne 0x534d11
mov edx, dword [ebp - 0x99c]
imul edx, edx, 0xa
add edx, dword [ebp - 0x9a0]
mov dword [ebp - 0x12ac], edx
jmp 0x534d54
jmp 0x534d4f
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x90c]
push edx
lea eax, [ebp - 0x11a0]
push eax
call fcn.00533ce4
add esp, 0x10
test eax, eax
je 0x534d4f
mov ecx, dword [ebp - 0x99c]
imul ecx, ecx, 0xa
add ecx, dword [ebp - 0x9a0]
mov dword [ebp - 0x12ac], ecx
jmp 0x534d54
jmp 0x534ba9
cmp dword [ebp - 0x12ac], 0
je 0x534d5f
jmp 0x534d64
jmp 0x534b43
mov dword [ebp - 0x99c], 0
jmp 0x534d7f
mov edx, dword [ebp - 0x99c]
add edx, 1
mov dword [ebp - 0x99c], edx
cmp dword [ebp - 0x99c], 0x200
jge 0x534dd1
mov eax, dword [ebp - 0x99c]
mov ecx, dword [ebp + eax*4 - 0x11a0]
mov dword [ebp - 0x12bc], ecx
mov edx, dword [ebp - 0x12bc]
push edx
call fcn.00562659
add esp, 4
mov eax, dword [ebp - 0x99c]
mov ecx, dword [ebp + eax*4 - 0x90c]
mov dword [ebp - 0x12c0], ecx
mov edx, dword [ebp - 0x12c0]
push edx
call fcn.00562659
add esp, 4
jmp 0x534d70
cmp dword [ebp - 0x12ac], 0
jne 0x534de4
mov eax, 0x63
jmp 0x5350a9
mov dword [ebp - 0x998], 0
mov dword [ebp - 0x994], 0x63
mov dword [ebp - 0x99c], 0
jmp 0x534e13
mov eax, dword [ebp - 0x99c]
add eax, 1
mov dword [ebp - 0x99c], eax
cmp dword [ebp - 0x99c], 4
jae 0x534ea2
mov ecx, dword [ebp - 0x99c]
cmp dword [ecx*4 + 0x673a84], 0
jne 0x534e45
cmp dword [ebp - 0x994], 0x63
jne 0x534e45
mov edx, dword [ebp - 0x99c]
mov dword [ebp - 0x994], edx
mov eax, dword [ebp - 0x12ac]
cdq
mov ecx, 0xa
idiv ecx
add eax, 1
mov edx, dword [ebp - 0x99c]
cmp eax, dword [edx*4 + 0x673a84]
jne 0x534e9d
mov dword [ebp - 0x998], 1
mov eax, dword [ebp - 0x99c]
push eax
push 0x673a74
call fcn.00534939
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0x12ac]
cdq
mov esi, 0xa
idiv esi
add ecx, edx
mov dword [ebp - 0x12ac], ecx
jmp 0x534ea2
jmp 0x534e04
cmp dword [ebp - 0x998], 0
jne 0x5350a3
mov dword [ebp - 0x99c], 0
jmp 0x534eca
mov edx, dword [ebp - 0x99c]
add edx, 1
mov dword [ebp - 0x99c], edx
mov eax, dword [ebp - 0x99c]
cmp eax, dword [ebp - 4]
jg 0x5350a3
mov ecx, dword [ebp - 0x99c]
cmp dword [ecx*4 + 0x673a94], 0
je 0x535092
mov eax, dword [ebp - 0x12ac]
cdq
mov ecx, 0xa
idiv ecx
add eax, 1
mov edx, dword [ebp - 0x99c]
cmp dword [edx*4 + 0x673a94], eax
jne 0x535090
cmp dword [ebp - 0x994], 0x63
je 0x534fb8
mov eax, dword [ebp - 0x12ac]
cdq
mov ecx, 0xa
idiv ecx
add eax, 1
mov edx, dword [ebp - 0x994]
mov dword [edx*4 + 0x673a84], eax
mov eax, dword [ebp - 0x12ac]
cdq
mov ecx, 0xa
idiv ecx
push eax
push 0x5cc528
lea edx, [ebp - 0x990]
push edx
call fcn.0054c6e3
add esp, 0xc
lea eax, [ebp - 0x12a8]
push eax
push 0
lea ecx, [ebp - 0x990]
push ecx
push 0x5cc530
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x994]
mov dword [edx*4 + 0x673a74], eax
mov eax, dword [ebp - 0x994]
push eax
push 0x673a74
call fcn.00534939
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0x12ac]
cdq
mov esi, 0xa
idiv esi
add ecx, edx
mov dword [ebp - 0x12ac], ecx
jmp 0x5350a3
mov dword [ebp - 0x12b0], 0
jmp 0x534fd3
mov edx, dword [ebp - 0x12b0]
add edx, 1
mov dword [ebp - 0x12b0], edx
cmp dword [ebp - 0x12b0], 4
jae 0x535090
mov eax, dword [ebp - 0x12b0]
cmp dword [eax*4 + 0x673a84], 0
jne 0x53508b
mov eax, dword [ebp - 0x12ac]
cdq
mov ecx, 0xa
idiv ecx
push eax
push 0x5cc53c
lea edx, [ebp - 0x990]
push edx
call fcn.0054c6e3
add esp, 0xc
lea eax, [ebp - 0x12a8]
push eax
push 0
lea ecx, [ebp - 0x990]
push ecx
push 0x5cc544
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x12b0]
mov dword [edx*4 + 0x673a74], eax
mov eax, dword [ebp - 0x12ac]
cdq
mov ecx, 0xa
idiv ecx
add eax, 1
mov edx, dword [ebp - 0x12b0]
mov dword [edx*4 + 0x673a84], eax
mov eax, dword [ebp - 0x99c]
push eax
push 0x673a74
call fcn.00534939
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0x12ac]
cdq
mov esi, 0xa
idiv esi
add ecx, edx
mov dword [ebp - 0x12ac], ecx
jmp 0x535090
jmp 0x534fc4
jmp 0x53509e
mov dword [ebp - 0x12ac], 0x63
jmp 0x5350a3
jmp 0x534ebb
mov eax, dword [ebp - 0x12ac]
pop edi
pop esi
mov esp, ebp
pop ebp
ret