Function at 0x10001430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100175c6
mov eax, dword fs:[0]
push eax
sub esp, 0x4dc
mov eax, dword [0x1001d080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push ebx
lea eax, [ebp - 0x4d0]
xor esi, esi
push eax
mov dword [ebp - 0x4e0], ebx
mov dword [ebp - 0x4dc], esi
mov dword [ebp - 0x4d8], 0x3448
call fcn.10002ff0
mov eax, dword [ebp - 0x4d0]
cmp eax, dword [0x10023364]
jne 0x10001a1a
push 0x208
lea ecx, [ebp - 0x420]
push esi
push ecx
call fcn.1000c3f0
mov eax, dword [0x10023114]
add esp, 0xc
cmp eax, esi
je 0x100014f4
mov eax, dword [eax]
cmp eax, esi
je 0x100014ca
lea edx, [ebp - 0x420]
push edx
call fcn.100013f0
add esp, 4
cmp byte [0x100220b8], 0
je 0x100014f4
lea eax, [ebp - 0x420]
push eax
push str.pesDir___s
push 0x1001e0b0
call dword [sym.imp.kload.dll__LogX]
add esp, 0xc
mov byte [0x100220b8], 0
push ebx
lea edi, [ebp - 0x4d0]
mov dword [ebp - 0x4d0], 0x5c
call fcn.10002d90
cmp eax, 0xffffffff
je 0x1000152f
push 0xffffffffffffffff
lea ecx, [eax + 1]
lea esi, [ebp - 0x43c]
mov edx, ebx
call fcn.10002b80
mov dword [ebp - 4], 0
mov ebx, 1
jmp 0x1000156a
xor ecx, ecx
push esi
mov word [ebp - 0x458], cx
push ebx
or eax, 0xffffffff
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], esi
call fcn.10002c90
lea eax, [ebp - 0x458]
mov dword [ebp - 4], 1
mov ebx, 2
xor edx, edx
mov edi, eax
lea esi, [ebp - 0x4cc]
mov dword [ebp - 0x4dc], ebx
mov dword [ebp - 0x4b8], 7
mov dword [ebp - 0x4bc], 0
mov word [ebp - 0x4cc], dx
call fcn.10002c20
mov dword [ebp - 4], 2
test bl, 2
je 0x100015de
and ebx, 0xfffffffd
cmp dword [ebp - 0x444], 8
jb 0x100015c1
mov eax, dword [ebp - 0x458]
push eax
call fcn.10007dc9
add esp, 4
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], edi
mov word [ebp - 0x458], cx
jmp 0x100015e0
xor edi, edi
mov byte [ebp - 4], 4
test bl, 1
je 0x1000161a
cmp dword [ebp - 0x428], 8
jb 0x10001601
mov edx, dword [ebp - 0x43c]
push edx
call fcn.10007dc9
add esp, 4
xor eax, eax
mov dword [ebp - 0x428], 7
mov dword [ebp - 0x42c], edi
mov word [ebp - 0x43c], ax
lea ecx, [ebp - 0x218]
push ecx
push edi
push edi
push 0x23
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x10001660
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.KONAMI
lea edx, [ebp - 0x218]
push edx
call esi
push str.Pro_Evolution_Soccer_2013
lea eax, [ebp - 0x218]
push eax
call esi
push str.download
lea ecx, [ebp - 0x218]
push ecx
call esi
xor edx, edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x494], dx
mov dword [ebp - 0x480], 7
mov dword [ebp - 0x484], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10001682
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x494]
call fcn.100036f0
mov eax, esi
push eax
lea ecx, [ebp - 0x4b0]
push ecx
mov byte [ebp - 4], 5
call fcn.10004340
add esp, 8
mov ecx, eax
lea eax, [ebp - 0x4cc]
lea ebx, [ebp - 0x43c]
mov byte [ebp - 4], 6
call fcn.100043f0
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x100016dc
mov eax, dword [eax]
push eax
push str.trying:__s
push 0x1001e0b0
call dword [sym.imp.kload.dll__LogX]
add esp, 0xc
cmp dword [ebp - 0x428], esi
jb 0x10001707
mov edx, dword [ebp - 0x43c]
push edx
call fcn.10007dc9
add esp, 4
xor eax, eax
mov ebx, 7
mov byte [ebp - 4], 5
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x42c], 0
mov word [ebp - 0x43c], ax
cmp dword [ebp - 0x49c], esi
jb 0x10001740
mov ecx, dword [ebp - 0x4b0]
push ecx
call fcn.10007dc9
add esp, 4
lea edx, [ebp - 0x494]
push edx
lea eax, [ebp - 0x458]
push eax
call fcn.10004340
add esp, 8
mov ecx, eax
mov byte [ebp - 4], bl
lea eax, [ebp - 0x4cc]
lea ebx, [ebp - 0x43c]
call fcn.100043f0
mov ebx, 8
cmp dword [eax + 0x14], ebx
jb 0x10001778
mov eax, dword [eax]
push 0x1001a290
push eax
call fcn.100078bb
add esp, 8
mov esi, eax
cmp dword [ebp - 0x428], ebx
jb 0x1000179f
mov ecx, dword [ebp - 0x43c]
push ecx
call fcn.10007dc9
add esp, 4
xor edx, edx
mov edi, 7
mov byte [ebp - 4], 5
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x42c], 0
mov word [ebp - 0x43c], dx
cmp dword [ebp - 0x444], ebx
jb 0x100017d8
mov eax, dword [ebp - 0x458]
push eax
call fcn.10007dc9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x444], edi
mov dword [ebp - 0x448], 0
mov word [ebp - 0x458], cx
test esi, esi
jne 0x10001968
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001802
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x420]
lea esi, [ebp - 0x494]
call fcn.100036f0
mov edi, dword [ebp - 0x4e0]
mov edx, esi
push edx
lea eax, [ebp - 0x4b0]
push eax
mov ebx, edi
call fcn.10004430
mov ebx, 8
add esp, 8
cmp dword [eax + 0x14], ebx
jb 0x10001849
mov eax, dword [eax]
push 0x1001a290
push eax
call fcn.100078bb
add esp, 8
mov esi, eax
cmp dword [ebp - 0x49c], ebx
jb 0x10001870
mov ecx, dword [ebp - 0x4b0]
push ecx
call fcn.10007dc9
add esp, 4
xor edx, edx
mov dword [ebp - 0x49c], 7
mov dword [ebp - 0x4a0], 0
mov word [ebp - 0x4b0], dx
test esi, esi
jne 0x1000196e
xor eax, eax
push eax
mov word [ebp - 0x478], ax
push edi
or eax, 0xffffffff
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x464], 7
mov dword [ebp - 0x468], edx
call fcn.10002c90
mov dword [ebp - 0x45c], 0x3448
lea ecx, [ebp - 0x478]
push ecx
lea edi, [ebp - 0x4d4]
mov byte [ebp - 4], 9
call fcn.100044e0
cmp dword [ebp - 0x464], 8
jb 0x100018f6
mov edx, dword [ebp - 0x478]
push edx
call fcn.10007dc9
add esp, 4
mov ebx, 8
cmp dword [ebp - 0x480], ebx
jb 0x10001912
mov eax, dword [ebp - 0x494]
push eax
call fcn.10007dc9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x480], 7
mov dword [ebp - 0x484], 0
mov word [ebp - 0x494], cx
cmp dword [ebp - 0x4b8], ebx
jb 0x10001946
mov edx, dword [ebp - 0x4cc]
push edx
call fcn.10007dc9
add esp, 4
mov eax, dword [ebp - 0x4d8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10007054
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x4e0]
xor eax, eax
push esi
push 1
mov dword [ebp - 0x4d4], eax
mov dword [ebp - 0x4d0], eax
lea eax, [ebp - 0x4d4]
push ebx
push eax
call fcn.10007dac
add esp, 0x10
cmp dword [ebp - 0x4d4], 0x534641
jne 0x10001a0c
xor ecx, ecx
push ecx
mov word [ebp - 0x478], cx
push edi
or eax, 0xffffffff
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x464], 7
mov dword [ebp - 0x468], 0
call fcn.10002c90
mov edx, dword [ebp - 0x4d0]
mov dword [ebp - 0x45c], edx
lea eax, [ebp - 0x478]
push eax
lea edi, [ebp - 0x4e4]
mov byte [ebp - 4], bl
call fcn.100044e0
cmp dword [ebp - 0x464], ebx
jb 0x10001a00
mov ecx, dword [ebp - 0x478]
push ecx
call fcn.10007dc9
add esp, 4
mov edx, dword [ebp - 0x4d0]
mov dword [ebp - 0x4d8], edx
push esi
call fcn.10007ed9
add esp, 4
jmp 0x100018fb
mov eax, dword [eax + 0x24]
jmp 0x1000194c