Function at 0x1002fdac
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb105
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x284
mov dword [ebp - 0x288], ecx
push 1
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.100493f8
lea ecx, [ebp - 0x218]
call fcn.10016850
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x214]
call fcn.10016850
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.10016850
mov byte [ebp - 4], 2
mov dword [ebp - 0x228], 0x50
lea eax, [ebp - 0x210]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x100cc6b4
lea ecx, [ebp - 0x210]
push ecx
call fcn.1009fb30
add esp, 8
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004b0b8
mov ecx, 0x100d2d54
call fcn.1002ad80
push eax
push 0x100cc6c4
call fcn.100351d6
add esp, 8
push eax
lea ecx, [ebp - 0x218]
call fcn.100af066
mov ecx, 0x100d2d54
call fcn.1002ad80
push eax
push 0x100cc6d8
call fcn.100351d6
add esp, 8
push eax
lea ecx, [ebp - 0x214]
call fcn.100af066
push 0x100cc6f0
lea ecx, [ebp - 0x220]
call fcn.100af066
lea edx, [ebp - 0x210]
push edx
push 0x50
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x220]
call fcn.1002ad80
push eax
lea ecx, [ebp - 0x214]
call fcn.1002ad80
push eax
lea ecx, [ebp - 0x218]
call fcn.1002ad80
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x27c]
push ecx
call fcn.1009fb0f
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x224], 0
jmp 0x1002ff0d
mov edx, dword [ebp - 0x224]
add edx, 1
mov dword [ebp - 0x224], edx
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x10]
jge 0x1002ff7e
cmp dword [ebp - 0x224], 0
jne 0x1002ff7c
push 1
lea ecx, [ebp - 0x218]
call fcn.1002ad80
push eax
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.10048271
push 0
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004b08d
sub eax, 1
push eax
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004832d
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004b08d
sub eax, 1
push eax
mov ecx, dword [ebp - 0x288]
call fcn.100305fe
jmp 0x1002fefe
mov ecx, 0x100d2d54
call fcn.1002ad80
push eax
push 0x100cc6f4
call fcn.100351d6
add esp, 8
push eax
lea ecx, [ebp - 0x218]
call fcn.100af066
mov ecx, 0x100d2d54
call fcn.1002ad80
push eax
push 0x100cc708
call fcn.100351d6
add esp, 8
push eax
lea ecx, [ebp - 0x214]
call fcn.100af066
push 0x100cc71c
lea ecx, [ebp - 0x220]
call fcn.100af066
lea ecx, [ebp - 0x210]
push ecx
push 0x50
lea edx, [ebp - 0x27c]
push edx
lea ecx, [ebp - 0x220]
call fcn.1002ad80
push eax
lea ecx, [ebp - 0x214]
call fcn.1002ad80
push eax
lea ecx, [ebp - 0x218]
call fcn.1002ad80
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x27c]
push eax
call fcn.1009fb0f
add esp, 4
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x224], 0
jmp 0x10030040
mov ecx, dword [ebp - 0x224]
add ecx, 1
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x224]
cmp edx, dword [ebp - 0x22c]
jge 0x100300b7
cmp dword [ebp - 0x224], 0
jne 0x100300b2
push 1
lea ecx, [ebp - 0x218]
call fcn.1002ad80
push eax
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.10048271
push 0
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004b08d
sub eax, 1
push eax
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004832d
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004b08d
sub eax, 1
push eax
mov ecx, dword [ebp - 0x288]
call fcn.100305fe
jmp 0x10030031
mov ecx, 0x100d2d54
call fcn.1002ad80
push eax
push 0x100cc720
call fcn.100351d6
add esp, 8
push eax
lea ecx, [ebp - 0x218]
call fcn.100af066
mov ecx, 0x100d2d54
call fcn.1002ad80
push eax
push 0x100cc738
call fcn.100351d6
add esp, 8
push eax
lea ecx, [ebp - 0x214]
call fcn.100af066
push 0x100cc74c
lea ecx, [ebp - 0x220]
call fcn.100af066
lea eax, [ebp - 0x210]
push eax
push 0x50
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.1002ad80
push eax
lea ecx, [ebp - 0x214]
call fcn.1002ad80
push eax
lea ecx, [ebp - 0x218]
call fcn.1002ad80
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x27c]
push edx
call fcn.1009fb0f
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x224], 0
jmp 0x10030179
mov eax, dword [ebp - 0x224]
add eax, 1
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
cmp ecx, dword [ebp - 0x21c]
jge 0x100301f0
cmp dword [ebp - 0x224], 0
jne 0x100301eb
push 1
lea ecx, [ebp - 0x218]
call fcn.1002ad80
push eax
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.10048271
push 0
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004b08d
sub eax, 1
push eax
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004832d
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004b08d
sub eax, 1
push eax
mov ecx, dword [ebp - 0x288]
call fcn.100305fe
jmp 0x1003016a
mov ecx, 0x100d2d54
call fcn.1002ad80
push eax
push 0x100cc750
call fcn.100351d6
add esp, 8
push eax
lea ecx, [ebp - 0x218]
call fcn.100af066
mov ecx, 0x100d2d54
call fcn.1002ad80
push eax
push 0x100cc768
call fcn.100351d6
add esp, 8
push eax
lea ecx, [ebp - 0x214]
call fcn.100af066
push 0x100cc780
lea ecx, [ebp - 0x220]
call fcn.100af066
lea edx, [ebp - 0x210]
push edx
push 0x50
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x220]
call fcn.1002ad80
push eax
lea ecx, [ebp - 0x214]
call fcn.1002ad80
push eax
lea ecx, [ebp - 0x218]
call fcn.1002ad80
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x27c]
push ecx
call fcn.1009fb0f
add esp, 4
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x224], 0
jmp 0x100302b2
mov edx, dword [ebp - 0x224]
add edx, 1
mov dword [ebp - 0x224], edx
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x280]
jge 0x10030329
cmp dword [ebp - 0x224], 0
jne 0x10030324
push 1
lea ecx, [ebp - 0x218]
call fcn.1002ad80
push eax
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.10048271
push 0
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004b08d
sub eax, 1
push eax
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004832d
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004b08d
sub eax, 1
push eax
mov ecx, dword [ebp - 0x288]
call fcn.100305fe
jmp 0x100302a3
mov dword [ebp - 0x224], 0
jmp 0x10030344
mov ecx, dword [ebp - 0x224]
add ecx, 1
mov dword [ebp - 0x224], ecx
mov edx, dword [0x101aa744]
mov eax, dword [ebp - 0x224]
cmp eax, dword [edx]
jge 0x1003046b
mov ecx, dword [ebp - 0x224]
add ecx, 1
push ecx
mov ecx, 0x100d2d54
call fcn.1002ad80
push eax
push 0x100cc784
call fcn.100351d6
add esp, 8
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.100ae2e1
add esp, 0xc
mov ecx, 0x100d2d54
call fcn.1002ad80
push eax
push 0x100cc79c
call fcn.100351d6
add esp, 8
push eax
lea ecx, [ebp - 0x214]
call fcn.100af066
push 0x100cc7b0
lea ecx, [ebp - 0x220]
call fcn.100af066
lea eax, [ebp - 0x210]
push eax
push 0x50
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.1002ad80
push eax
lea ecx, [ebp - 0x214]
call fcn.1002ad80
push eax
lea ecx, [ebp - 0x218]
call fcn.1002ad80
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x27c]
push edx
call fcn.1009fb0f
add esp, 4
test eax, eax
jle 0x10030466
push 1
lea ecx, [ebp - 0x218]
call fcn.1002ad80
push eax
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.10048271
push 0
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004b08d
sub eax, 1
push eax
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004832d
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004b08d
sub eax, 1
push eax
mov ecx, dword [ebp - 0x288]
call fcn.100305fe
jmp 0x10030335
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004b08d
cmp eax, 1
jle 0x10030490
push 1
push 0
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.100482a0
push 0
mov ecx, dword [ebp - 0x288]
add ecx, 0xa0
call fcn.10048412
push 0
mov ecx, dword [ebp - 0x288]
add ecx, 0xa0
call fcn.10048444
push 0
mov ecx, dword [ebp - 0x288]
add ecx, 0xa0
call fcn.100481ec
push 1
mov ecx, dword [ebp - 0x288]
add ecx, 0xa0
call fcn.10048217
mov dword [ebp - 0x224], 0
jmp 0x100304f7
mov eax, dword [ebp - 0x224]
add eax, 1
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004b08d
cmp dword [ebp - 0x224], eax
jge 0x10030592
push 1
mov ecx, dword [ebp - 0x288]
add ecx, 0xa0
call fcn.100491e7
mov cx, word [ebp - 0x224]
push ecx
lea edx, [ebp - 0x284]
push edx
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.100497a7
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x290]
call fcn.1002ad80
push eax
push 0
mov cx, word [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x288]
add ecx, 0xa0
call fcn.100484a7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x284]
call fcn.100aeedd
jmp 0x100304e8
mov ecx, dword [ebp - 0x288]
add ecx, 0xa0
call fcn.10048862
push 1
push 0
mov ecx, dword [ebp - 0x288]
add ecx, 0x64
call fcn.1004832d
mov ecx, dword [ebp - 0x288]
call fcn.100316b3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.100aeedd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x214]
call fcn.100aeedd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.100aeedd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret