Function at 0x407b80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a90a6
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x636148]
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 esi, ecx
mov dword [ebp - 0xe8], esi
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xd8], eax
lea ebx, [esi + 0x4c]
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
mov dword [ebp - 0xe0], ebx
cmp ebx, eax
je 0x407be2
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00403860
lea edi, [esi + 0x64]
cmp edi, ebx
je 0x407bf5
push 0xffffffffffffffff
push 0
push ebx
mov ecx, edi
call fcn.00403860
lea eax, [ebp - 0x28]
push str.32185914104406480907206359706767
push eax
call fcn.00437496
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push str.73252617081062242710305505536348
push eax
call fcn.00437496
push esi
push eax
push edi
mov byte [ebp - 4], 2
call fcn.004353ab
mov eax, dword [ebp - 0x5c]
add esp, 0x1c
cmp eax, 8
jb 0x407c3b
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004036f0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x407c67
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004036f0
call fcn.004367c1
test al, al
je 0x407c8c
push ecx
push esi
push edx
pop edx
push ecx
pop edi
push ecx
push esp
push edx
pop ecx
pop ebx
push esp
push esi
push eax
push ecx
push ebp
pop ebx
push esi
pop esp
push edi
pop esi
pop esi
mov ebx, dword [ebp - 0xe0]
xor eax, eax
mov dword [ebp - 0xbc], 7
push eax
push 0x62be94
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
call fcn.00403090
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x62be94
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
call fcn.00403090
cmp dword [ebx + 0x14], 8
mov byte [ebp - 4], 4
jb 0x407cf8
mov ebx, dword [ebx]
lea eax, [ebp - 0x88]
push ebx
push eax
call fcn.004399ee
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00439903
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x88]
cmp eax, esi
je 0x407d71
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x407d4e
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004036f0
xor eax, eax
mov dword [ebp - 0x74], 7
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.00405d40
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x407d8a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004036f0
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00440b61
push 0
call fcn.00452bc3
mov dword [ebp - 0xe4], eax
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 9
mov dword [ebp - 0xdc], eax
call fcn.00436599
test al, al
je 0x407e08
push edi
push ebx
pop edx
pop esi
push ebx
push eax
push eax
push edi
push esi
pop ecx
push ebx
pop ebx
pop esi
pop edx
push ecx
pop ecx
push esp
pop edi
push esp
pop edx
push ebp
push ebp
push eax
push ebx
pop esi
push edx
pop eax
push edx
pop ecx
push ecx
push esi
pop ebp
call fcn.00436623
test al, al
je 0x407e23
pop esi
push ebx
pop eax
pop ebp
pop eax
push esp
push ecx
push edx
pop ebp
push eax
push esp
push ebx
push ebx
push esi
push ebp
pop ecx
pop ecx
push esp
call fcn.004361d3
test al, al
je 0x407e3e
push esi
pop ebp
pop edx
push ebx
push esp
pop ebx
pop ecx
pop edi
pop edx
pop eax
push ebx
push ebx
push edx
push edx
push edi
push edx
pop ebp
push ecx
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa0]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x407e7e
mov eax, dword [ecx]
jmp 0x407e80
mov eax, ecx
mov esi, dword [ebp - 0xe0]
xor edx, edx
push 0xffffffffffffffff
push edx
push esi
mov word [eax], dx
call fcn.00403860
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0xe8]
mov ecx, edi
push ebx
call fcn.004087d0
test al, al
je 0x40804f
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xdc], 1
cmovae eax, dword [ebp - 0xd0]
push eax
call fcn.00452af0
add eax, dword [edi]
add esp, 4
cmp eax, dword [ebp - 0xe4]
jl 0x407f03
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xb8]
cmp eax, ecx
je 0x408027
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00403860
jmp 0x408027
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.00440b61
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xa
jb 0x407f1c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00436c79
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.00407b00
lea ecx, [ebp - 0x28]
call fcn.00402d30
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.00402dd0
cmp dword [ebp - 0x48], 0
jne 0x407fa3
lea ebx, [edi + 0x64]
push ebx
push esi
call fcn.00407850
add esp, 8
test al, al
je 0x407fa0
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.00440b61
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xb
jb 0x407f76
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00436c79
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.00407b00
lea ecx, [ebp - 0x28]
call fcn.00402d30
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.00402dd0
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00407810
add esp, 8
test al, al
je 0x40804f
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xb8]
cmp eax, ecx
je 0x407fda
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00403860
sub esp, 0x18
lea eax, [ebp - 0xb8]
mov ecx, esp
mov dword [ebp - 0xec], esp
push eax
call fcn.00407960
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xe4], esp
mov ecx, esp
push eax
call fcn.00407960
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
push esi
call fcn.00407960
push ebx
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00408f20
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
call fcn.00408ea0
mov ecx, eax
call fcn.0041a8a0
mov esi, 1
jmp 0x40830b
cmp dword [ebp + 0x28], 0
jne 0x40806a
mov ecx, dword [ebp - 0xd8]
push 0x62be94
call fcn.00403040
jmp 0x408309
mov ebx, dword [ebp - 0xd8]
cmp dword [ebx + 0x10], 0
jne 0x408122
cmp dword [ebp + 8], 0
je 0x4080c6
cmp dword [edi + 0x30], 8
lea eax, [edi + 0x1c]
jb 0x40808b
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00439e66
add esp, 8
mov ecx, ebx
push eax
call fcn.00407b00
lea ecx, [ebp - 0x28]
call fcn.00402d30
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00439bf7
add esp, 8
mov byte [ebp - 4], 0xe
jmp 0x40810a
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
jb 0x4080d1
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00439e66
add esp, 8
mov ecx, ebx
push eax
call fcn.00407b00
lea ecx, [ebp - 0x28]
call fcn.00402d30
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00439bf7
add esp, 8
mov byte [ebp - 4], 0xf
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00406020
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00402d30
call fcn.00436623
test al, al
je 0x408157
pop edx
push edx
pop ebx
pop edi
pop eax
push ebp
push edi
push edx
push eax
push eax
pop ebx
pop ebx
push esi
pop ebx
pop ecx
push ebp
pop ebx
push edi
push eax
pop ecx
push edx
push eax
push ecx
pop esi
push eax
push esp
mov ebx, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xe0]
mov edi, dword [ebp - 0xe8]
cmp dword [ebx + 0x14], 8
jb 0x408161
mov eax, dword [ebx]
jmp 0x408163
mov eax, ebx
push eax
call fcn.00437d70
lea eax, [edi + 0x64]
push esi
push eax
call fcn.00407810
add esp, 0xc
mov ecx, edi
push ebx
test al, al
jne 0x408196
push 0
call fcn.004083e0
test eax, eax
setne al
mov byte [ebp - 0xd1], al
test al, al
jne 0x4081a6
push ebx
mov ecx, edi
push 1
call fcn.004083e0
test eax, eax
setne byte [ebp - 0xd1]
cmp dword [ebx + 0x14], 8
jb 0x4081b0
mov eax, dword [ebx]
jmp 0x4081b2
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4082eb
cmp byte [ebp - 0xd1], 0
je 0x4082eb
cmp dword [ebp - 0xdc], 0
lea eax, [ebp - 0x40]
jne 0x4081de
push 2
jmp 0x4081e0
push 3
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
call fcn.00408ea0
mov ecx, eax
call fcn.0041a8a0
cmp dword [ebp - 0x48], 0
jne 0x4082a3
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.00440b61
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x10
jb 0x40821c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00436c79
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.00407b00
lea ecx, [ebp - 0x28]
call fcn.00402d30
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.00402dd0
cmp dword [ebp - 0x48], 0
jne 0x4082a3
lea eax, [edi + 0x64]
push eax
push esi
call fcn.00407850
add esp, 8
test al, al
je 0x4082a3
lea eax, [edi + 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00440b61
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x11
jb 0x408279
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00436c79
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.00407b00
lea ecx, [ebp - 0x28]
call fcn.00402d30
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.00402dd0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xec], esp
push ebx
call fcn.00407960
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x58]
mov dword [ebp - 0xe4], esp
mov ecx, esp
push eax
call fcn.00407960
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
push esi
call fcn.00407960
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00408f20
jmp 0x408309
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 1
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
call fcn.00408ea0
mov ecx, eax
call fcn.0041a8a0
xor esi, esi
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x408320
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004036f0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x408352
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.004036f0
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x90], 0
cmp eax, 0x10
jb 0x408384
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403750
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00402d30
lea ecx, [ebp - 0xb8]
call fcn.00402d30
lea ecx, [ebp - 0xd0]
call fcn.00402d30
lea ecx, [ebp + 0xc]
call fcn.00402d30
mov eax, esi
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.0042cd1d
mov esp, ebp
pop ebp
ret 0x24