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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x103dda04]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x108]
mov esi, ecx
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1002df46
mov eax, dword [esi]
lea ecx, [ebp - 0x108]
mov dword [esi + 0x10], 0
mov byte [eax], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002df60
sub ecx, edx
lea eax, [ebp - 0x108]
push ecx
push eax
mov ecx, esi
call fcn.10029c60
mov dword [ebp - 0x130], 0x4525a349
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x12c], 0x9407110f
lea edx, [ecx + 1]
mov dword [ebp - 0x128], 0x7aad87b6
mov dword [ebp - 0x124], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x130]
mov dword [ebp - 0x120], 0x294af015
mov dword [ebp - 0x11c], 0xf153627a
mov dword [ebp - 0x118], 0x1383efd5
mov dword [ebp - 0x114], 0xc1e15e00
pxor xmm1, xmmword [ebp - 0x120]
movaps xmmword [ebp - 0x120], xmm1
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002dfe7
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
mov ecx, esi
call fcn.10029c60
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov dword [ebp - 0x120], 0x4525a33b
mov dword [ebp - 0x11c], 0x9407110f
mov dword [ebp - 0x118], 0x7aad87b6
mov dword [ebp - 0x114], 0xc1e1376e
mov dword [ebp - 0x130], 0x4525a349
mov dword [ebp - 0x12c], 0x9407110f
mov dword [ebp - 0x128], 0x7aad87b6
mov dword [ebp - 0x124], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x130]
pxor xmm1, xmmword [ebp - 0x120]
movaps xmmword [ebp - 0x120], xmm1
jb 0x1002e06f
mov eax, dword [esi]
lea ecx, [ebp - 0x120]
push ecx
push eax
call fcn.100bcdfb
add esp, 8
test eax, eax
je 0x1002e091
push eax
call fcn.100bcc31
add esp, 4
jmp 0x1002e2df
mov dword [ebp - 0x120], 0x214bca1e
lea eax, [ebp - 0x120]
mov dword [ebp - 0x11c], 0xf0626660
mov ecx, esi
mov dword [ebp - 0x118], 0x7aad87b6
mov dword [ebp - 0x114], 0xc1e1376e
mov dword [ebp - 0x130], 0x4525a349
mov dword [ebp - 0x12c], 0x9407110f
mov dword [ebp - 0x128], 0x7aad87b6
mov dword [ebp - 0x124], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x130]
pxor xmm1, xmmword [ebp - 0x120]
push 1
push eax
movaps xmmword [ebp - 0x120], xmm1
call fcn.1002ea80
mov dword [ebp - 0x120], 0x2244ce00
lea eax, [ebp - 0x120]
mov dword [ebp - 0x11c], 0xe762436a
mov ecx, esi
mov dword [ebp - 0x118], 0xed8ebd9
mov dword [ebp - 0x114], 0xc18f5807
mov dword [ebp - 0x130], 0x4525a349
mov dword [ebp - 0x12c], 0x9407110f
mov dword [ebp - 0x128], 0x7aad87b6
mov dword [ebp - 0x124], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x130]
pxor xmm1, xmmword [ebp - 0x120]
push 0
push eax
movaps xmmword [ebp - 0x120], xmm1
call fcn.1002ea80
mov dword [ebp - 0x120], 0x4525961f
lea eax, [ebp - 0x120]
mov dword [ebp - 0x11c], 0x9407110f
mov ecx, esi
mov dword [ebp - 0x118], 0x7aad87b6
mov dword [ebp - 0x114], 0xc1e1376e
mov dword [ebp - 0x130], 0x4525a349
mov dword [ebp - 0x12c], 0x9407110f
mov dword [ebp - 0x128], 0x7aad87b6
mov dword [ebp - 0x124], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x130]
pxor xmm1, xmmword [ebp - 0x120]
push 0
push eax
movaps xmmword [ebp - 0x120], xmm1
call fcn.1002ea80
mov dword [ebp - 0x120], 0x3149d604
lea eax, [ebp - 0x120]
mov dword [ebp - 0x11c], 0xe66f4566
mov ecx, esi
mov dword [ebp - 0x118], 0x7ac9e6d3
mov dword [ebp - 0x114], 0xc1e1376e
mov dword [ebp - 0x130], 0x4525a349
mov dword [ebp - 0x12c], 0x9407110f
mov dword [ebp - 0x128], 0x7aad87b6
mov dword [ebp - 0x124], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x130]
pxor xmm1, xmmword [ebp - 0x120]
push 1
push eax
movaps xmmword [ebp - 0x120], xmm1
call fcn.1002ea80
mov dword [ebp - 0x120], 0x2b5cd008
lea eax, [ebp - 0x120]
mov dword [ebp - 0x11c], 0xf5685d6c
mov ecx, esi
mov dword [ebp - 0x118], 0xeccc3d2
mov dword [ebp - 0x114], 0xc1e1370f
mov dword [ebp - 0x130], 0x4525a349
mov dword [ebp - 0x12c], 0x9407110f
mov dword [ebp - 0x128], 0x7aad87b6
mov dword [ebp - 0x124], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x130]
pxor xmm1, xmmword [ebp - 0x120]
push 0
push eax
movaps xmmword [ebp - 0x120], xmm1
call fcn.1002ea80
cmp dword [esi + 0x10], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x120], 0x214bca1e
mov dword [ebp - 0x11c], 0xf0626660
mov dword [ebp - 0x118], 0x7aad87b6
mov dword [ebp - 0x114], 0xc1e1376e
mov dword [ebp - 0x130], 0x4525a349
mov dword [ebp - 0x12c], 0x9407110f
mov dword [ebp - 0x128], 0x7aad87b6
mov dword [ebp - 0x124], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x130]
pxor xmm1, xmmword [ebp - 0x120]
movaps xmmword [ebp - 0x120], xmm1
jne 0x1002e358
xor eax, eax
jmp 0x1002e3db
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1002e362
mov eax, dword [esi]
push eax
mov dword [ebp - 0x130], 0x234bcc0a
lea eax, [ebp - 0x120]
mov dword [ebp - 0x12c], 0x94077666
mov dword [ebp - 0x128], 0x7aad87b6
mov dword [ebp - 0x124], 0xc1e1376e
push 1
mov dword [ebp - 0x140], 0x4525a349
mov dword [ebp - 0x13c], 0x9407110f
mov dword [ebp - 0x138], 0x7aad87b6
mov dword [ebp - 0x134], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x140]
pxor xmm1, xmmword [ebp - 0x130]
push eax
lea eax, [ebp - 0x130]
movaps xmmword [ebp - 0x130], xmm1
push eax
call edi
test eax, eax
mov dword [ebp - 0x130], 0x2244ce00
mov dword [ebp - 0x12c], 0xe762436a
mov dword [ebp - 0x128], 0xed8ebd9
setne byte [0x102af68c]
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x124], 0xc18f5807
mov dword [ebp - 0x140], 0x4525a349
mov dword [ebp - 0x13c], 0x9407110f
mov dword [ebp - 0x138], 0x7aad87b6
mov dword [ebp - 0x134], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x140]
pxor xmm1, xmmword [ebp - 0x130]
movaps xmmword [ebp - 0x130], xmm1
jne 0x1002e457
xor eax, eax
jmp 0x1002e4da
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1002e461
mov eax, dword [esi]
push eax
mov dword [ebp - 0x120], 0x234bcc0a
lea eax, [ebp - 0x130]
mov dword [ebp - 0x11c], 0x94077666
mov dword [ebp - 0x118], 0x7aad87b6
mov dword [ebp - 0x114], 0xc1e1376e
push 0
mov dword [ebp - 0x140], 0x4525a349
mov dword [ebp - 0x13c], 0x9407110f
mov dword [ebp - 0x138], 0x7aad87b6
mov dword [ebp - 0x134], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x140]
pxor xmm1, xmmword [ebp - 0x120]
push eax
lea eax, [ebp - 0x120]
movaps xmmword [ebp - 0x120], xmm1
push eax
call edi
mov dword [ebp - 0x130], 0x4525961f
mov dword [ebp - 0x12c], 0x9407110f
mov dword [ebp - 0x128], 0x7aad87b6
mov dword [ebp - 0x124], 0xc1e1376e
mov dword [0x102af688], eax
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x140], 0x4525a349
mov dword [ebp - 0x13c], 0x9407110f
mov dword [ebp - 0x138], 0x7aad87b6
mov dword [ebp - 0x134], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x140]
pxor xmm1, xmmword [ebp - 0x130]
movaps xmmword [ebp - 0x130], xmm1
jne 0x1002e552
xor eax, eax
jmp 0x1002e5d5
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1002e55c
mov eax, dword [esi]
push eax
mov dword [ebp - 0x120], 0x234bcc0a
lea eax, [ebp - 0x130]
mov dword [ebp - 0x11c], 0x94077666
mov dword [ebp - 0x118], 0x7aad87b6
mov dword [ebp - 0x114], 0xc1e1376e
push 0
mov dword [ebp - 0x140], 0x4525a349
mov dword [ebp - 0x13c], 0x9407110f
mov dword [ebp - 0x138], 0x7aad87b6
mov dword [ebp - 0x134], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x140]
pxor xmm1, xmmword [ebp - 0x120]
push eax
lea eax, [ebp - 0x120]
movaps xmmword [ebp - 0x120], xmm1
push eax
call edi
test eax, eax
mov dword [ebp - 0x130], 0x3149d604
mov dword [ebp - 0x12c], 0xe66f4566
mov dword [ebp - 0x128], 0x7ac9e6d3
setne byte [0x102af68d]
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x124], 0xc1e1376e
mov dword [ebp - 0x140], 0x4525a349
mov dword [ebp - 0x13c], 0x9407110f
mov dword [ebp - 0x138], 0x7aad87b6
mov dword [ebp - 0x134], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x140]
pxor xmm1, xmmword [ebp - 0x130]
movaps xmmword [ebp - 0x130], xmm1
jne 0x1002e651
xor eax, eax
jmp 0x1002e6d4
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1002e65b
mov eax, dword [esi]
push eax
mov dword [ebp - 0x120], 0x234bcc0a
lea eax, [ebp - 0x130]
mov dword [ebp - 0x11c], 0x94077666
mov dword [ebp - 0x118], 0x7aad87b6
mov dword [ebp - 0x114], 0xc1e1376e
push 1
mov dword [ebp - 0x140], 0x4525a349
mov dword [ebp - 0x13c], 0x9407110f
mov dword [ebp - 0x138], 0x7aad87b6
mov dword [ebp - 0x134], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x140]
pxor xmm1, xmmword [ebp - 0x120]
push eax
lea eax, [ebp - 0x120]
movaps xmmword [ebp - 0x120], xmm1
push eax
call edi
test eax, eax
mov dword [ebp - 0x130], 0x2b5cd008
mov dword [ebp - 0x12c], 0xf5685d6c
mov dword [ebp - 0x128], 0xeccc3d2
setne byte [0x102af68f]
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x124], 0xc1e1370f
mov dword [ebp - 0x140], 0x4525a349
mov dword [ebp - 0x13c], 0x9407110f
mov dword [ebp - 0x138], 0x7aad87b6
mov dword [ebp - 0x134], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x140]
pxor xmm1, xmmword [ebp - 0x130]
movaps xmmword [ebp - 0x130], xmm1
jne 0x1002e750
xor eax, eax
jmp 0x1002e7d3
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1002e75a
mov eax, dword [esi]
push eax
mov dword [ebp - 0x120], 0x234bcc0a
lea eax, [ebp - 0x130]
mov dword [ebp - 0x11c], 0x94077666
mov dword [ebp - 0x118], 0x7aad87b6
mov dword [ebp - 0x114], 0xc1e1376e
push 0
mov dword [ebp - 0x140], 0x4525a349
mov dword [ebp - 0x13c], 0x9407110f
mov dword [ebp - 0x138], 0x7aad87b6
mov dword [ebp - 0x134], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x140]
pxor xmm1, xmmword [ebp - 0x120]
push eax
lea eax, [ebp - 0x120]
movaps xmmword [ebp - 0x120], xmm1
push eax
call edi
test eax, eax
mov dword [ebp - 0x130], 0x2456ca0d
mov dword [ebp - 0x12c], 0xd0627d6d
mov dword [ebp - 0x128], 0x3dfe4d3
setne byte [0x102af690]
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x124], 0xc1e1431e
mov dword [ebp - 0x140], 0x4525a349
mov dword [ebp - 0x13c], 0x9407110f
mov dword [ebp - 0x138], 0x7aad87b6
mov dword [ebp - 0x134], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x140]
pxor xmm1, xmmword [ebp - 0x130]
movaps xmmword [ebp - 0x130], xmm1
jne 0x1002e84f
xor eax, eax
jmp 0x1002e8d0
cmp dword [esi + 0x14], 0x10
jb 0x1002e857
mov esi, dword [esi]
push esi
mov dword [ebp - 0x120], 0x234bcc0a
lea eax, [ebp - 0x130]
mov dword [ebp - 0x11c], 0x94077666
mov dword [ebp - 0x118], 0x7aad87b6
mov dword [ebp - 0x114], 0xc1e1376e
push 0
mov dword [ebp - 0x140], 0x4525a349
mov dword [ebp - 0x13c], 0x9407110f
mov dword [ebp - 0x138], 0x7aad87b6
mov dword [ebp - 0x134], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x140]
pxor xmm1, xmmword [ebp - 0x120]
push eax
lea eax, [ebp - 0x120]
movaps xmmword [ebp - 0x120], xmm1
push eax
call edi
test eax, eax
mov eax, dword [0x102af688]
setne byte [0x102af68e]
cmp eax, 5
ja case.default.0x1002e8e7
jmp dword [eax*4 + 0x1002e9c0]
mov eax, 0x5efa45
movd xmm1, eax
mov eax, 0x5efe45
movd xmm0, eax
mov eax, 0x5ef945
jmp 0x1002e98f
mov eax, 0x5efa45
movd xmm1, eax
mov eax, 0x5eff45
movd xmm0, eax
mov eax, 0x5ef895
jmp 0x1002e98f
mov eax, 0x5efa45
movd xmm1, eax
mov eax, 0x5eff13
movd xmm0, eax
mov eax, 0x5ef945
jmp 0x1002e98f
mov eax, 0x5efa45
movd xmm1, eax
mov eax, 0x5efc05
movd xmm0, eax
mov eax, 0x5ef9c1
jmp 0x1002e98f
mov eax, 0x5efa45
movd xmm1, eax
mov eax, 0x5efcad
movd xmm0, eax
mov eax, 0x5ef9a5
jmp 0x1002e98f
mov dword [0x102af688], 0
mov eax, 0x5efa45
movd xmm1, eax
mov eax, 0x5ef965
movd xmm0, eax
mov eax, 0x5ef81d
mov ecx, dword [ebp - 4]
pxor xmm0, xmm1
movd dword [0x102af680], xmm0
xor ecx, ebp
movd xmm0, eax
pxor xmm0, xmm1
pop edi
movd dword [0x102af684], xmm0
pop esi
call fcn.100b684e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret