Function at 0x424870
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5761cd
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x5d8034]
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
mov dword [ebp - 0x124], ebx
lea eax, [ebx + 0x10]
mov dword [ebp - 0x120], 0
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00439aea
mov dword [ebp - 4], 0
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
cmovae eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00441ad8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00441a6e
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00439d81
mov byte [ebp - 4], 3
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
cmovae eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00438fc9
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00439d81
add esp, 0x30
mov byte [ebp - 4], 5
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x424fbd
cmp dword [esi + 0x14], 0x10
jb 0x42495e
mov edx, dword [esi]
jmp 0x424960
mov edx, esi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp byte [edx], 0
jne 0x42497b
xor ecx, ecx
jmp 0x424989
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424980
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00420e70
cmp dword [ebp - 0xa4], 0x10
lea ecx, [ebp - 0xb8]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0xb8]
cmp dword [ebp - 0x14], 0x10
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0xa8]
cmovae edx, ebx
cmp eax, edi
cmovb edi, eax
mov eax, dword [ebp - 0x14]
test edi, edi
je 0x424a23
sub edi, 4
jb 0x4249e1
nop
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4249e6
add edx, 4
add ecx, 4
sub edi, 4
jae 0x4249d0
cmp edi, 0xfffffffc
je 0x424a1a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x424a13
cmp edi, 0xfffffffd
je 0x424a1a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x424a13
cmp edi, 0xfffffffe
je 0x424a1a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x424a13
cmp edi, 0xffffffff
je 0x424a1a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x424a1a
sbb eax, eax
or eax, 1
jmp 0x424a1c
xor eax, eax
test eax, eax
jne 0x424a32
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0x18]
cmp edx, ecx
jb 0x424a32
jbe 0x424a83
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x424a66
inc eax
cmp eax, 0x1000
jb 0x424a5d
test byte [ebp - 0x28], 0x1f
jne 0x424a96
mov eax, dword [ebx - 4]
cmp eax, ebx
jae 0x424a96
sub ebx, eax
cmp ebx, 4
jb 0x424a96
cmp ebx, 0x23
ja 0x424a96
mov ebx, eax
push ebx
call fcn.0043428f
add esp, 4
mov eax, dword [ebp - 0x124]
add esi, 0x18
mov ecx, dword [ebp - 0xb8]
cmp esi, dword [eax + 4]
jne 0x424954
jmp 0x424fc3
cmp eax, 0x10
jb 0x424ac8
inc eax
cmp eax, 0x1000
jb 0x424abf
test byte [ebp - 0x28], 0x1f
je 0x424a9b
call fcn.004528a2
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x424aa7
call fcn.004528a2
sub ebx, eax
cmp ebx, 4
jae 0x424ab3
call fcn.004528a2
cmp ebx, 0x23
jbe 0x424abd
call fcn.004528a2
mov ebx, eax
push ebx
call fcn.0043428f
add esp, 4
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 0x424af3
mov eax, dword [ecx]
jmp 0x424af5
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x40]
push edx
push eax
call fcn.00420c50
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0xa0]
mov ebx, dword [ebp - 0x124]
mov ecx, ebx
push esi
push eax
call fcn.004243c0
cmp dword [ebp + 0xc], 0
mov byte [ebp - 4], 6
je 0x424bbd
cmp dword [ebx + 0xb0], 0
je 0x424b5c
push 1
lea eax, [ebp - 0xa0]
push eax
sub esp, 0x18
lea edi, [ebx + 0x10]
mov eax, esp
push edi
push eax
call fcn.00439aea
mov ecx, dword [ebx + 0xb0]
add esp, 8
push esi
call fcn.00422f60
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424df7
lea eax, [ebp - 0x120]
push eax
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0xa0]
push eax
call fcn.00420c50
call fcn.0043c130
add esp, 0x1c
mov dword [ebx + 0x64], eax
jmp 0x424df7
push 0xffffffffffffffff
push 0
lea edi, [ebx + 0x10]
mov dword [ebp - 0xd4], 0xf
push edi
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
call fcn.00420f70
push 0xffffffffffffffff
mov byte [ebp - 4], 7
lea eax, [ebp - 0xe8]
push 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00420f70
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 8
push str.31587605202944075528582630607070
push eax
call fcn.0043c705
mov esi, eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 9
push str.23167055046756381267661768492526
push eax
call fcn.0043c705
push esi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
call fcn.004397d1
add esp, 0x1c
lea ecx, [ebp - 0x100]
call fcn.004208d0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 8
call fcn.004208d0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0xe8]
cmp dword [ebp - 0xd4], 0x10
push ecx
cmovae eax, dword [ebp - 0xe8]
push dword [ebp - 0xd8]
push eax
call fcn.00425400
add esp, 0x10
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
test eax, eax
jne 0x424ce1
cmp dword [ecx + 0x14], 0x10
jb 0x424cd5
mov eax, dword [ecx]
push 0xffffffffffffffff
push 0
push edi
mov byte [eax], 0
jmp 0x424d41
mov eax, ecx
push 0xffffffffffffffff
push 0
push edi
mov byte [eax], 0
jmp 0x424d41
cmp dword [ecx + 0x14], 0x10
jb 0x424ceb
mov eax, dword [ecx]
jmp 0x424ced
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.00420f70
mov ecx, ebx
call fcn.00424560
mov dword [ebp - 0x120], eax
test eax, eax
jne 0x424d97
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], eax
jb 0x424d34
mov eax, dword [ecx]
jmp 0x424d36
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00420f70
mov ecx, ebx
call fcn.00424560
mov dword [ebp - 0x120], eax
test eax, eax
jne 0x424d97
cmp dword [ebp - 0xbc], 0x10
lea esi, [ebp - 0xd0]
mov eax, dword [0x5e7448]
cmovae esi, dword [ebp - 0xd0]
test eax, eax
jne 0x424d93
push 0xac
call fcn.004342aa
add esp, 4
mov dword [ebp - 0x11c], eax
mov ecx, eax
call fcn.00429320
mov dword [0x5e7448], eax
push 1
jmp 0x424dd5
cmp dword [ebp - 0xbc], 0x10
lea esi, [ebp - 0xd0]
mov eax, dword [0x5e7448]
cmovae esi, dword [ebp - 0xd0]
test eax, eax
jne 0x424dd3
push 0xac
call fcn.004342aa
add esp, 4
mov dword [ebp - 0x11c], eax
mov ecx, eax
call fcn.00429320
mov dword [0x5e7448], eax
push 2
push esi
sub esp, 8
mov ecx, eax
call fcn.00429ca0
lea ecx, [ebp - 0x28]
call fcn.004208d0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 6
call fcn.004208d0
mov ecx, dword [ebp - 0x120]
test ecx, ecx
jne 0x424e84
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x424e23
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00421270
xor eax, eax
mov dword [ebp - 0x8c], 7
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
call fcn.004208d0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x424e60
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00421270
xor eax, eax
mov dword [ebp - 0x44], 7
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.004208d0
jmp 0x4250c0
lea eax, [ebx + 0x40]
mov dword [ebp - 0x124], 0
push eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
push eax
lea eax, [ebp - 0x124]
push eax
push ecx
push dword [ebx + 0x64]
call fcn.004258c0
mov ecx, dword [ebp - 0x124]
test ecx, ecx
je 0x424f1f
mov edx, dword [ebp - 0x11c]
test edx, edx
je 0x424f1f
sub esp, 0x18
call fcn.00427a10
add esp, 0x18
lea ecx, [ebp - 0xa0]
mov esi, eax
call fcn.00420770
lea ecx, [ebp - 0xb8]
call fcn.004208d0
lea ecx, [ebp - 0x58]
call fcn.00420770
lea ecx, [ebp - 0xd0]
call fcn.004208d0
lea ecx, [ebp - 0x70]
call fcn.00420770
lea ecx, [ebp - 0x40]
call fcn.00420770
lea ecx, [ebp - 0x88]
call fcn.00420770
mov eax, esi
jmp 0x42512f
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
push 0x89
call fcn.004423bc
mov eax, dword [ebp - 0x8c]
add esp, 8
cmp eax, 8
jb 0x424f5c
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00421270
xor eax, eax
mov dword [ebp - 0x8c], 7
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
call fcn.004208d0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x424f99
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00421270
xor eax, eax
mov dword [ebp - 0x44], 7
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.004208d0
jmp 0x4250c0
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x425011
inc eax
cmp eax, 0x1000
jb 0x425008
test byte [ebp - 0xb8], 0x1f
je 0x424fe4
call fcn.004528a2
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x424ff0
call fcn.004528a2
sub ecx, eax
cmp ecx, 4
jae 0x424ffc
call fcn.004528a2
cmp ecx, 0x23
jbe 0x425006
call fcn.004528a2
mov ecx, eax
push ecx
call fcn.0043428f
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
cmp eax, 8
jb 0x425041
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00421270
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x48], 0
cmp eax, 0x10
jb 0x4250a5
mov ecx, dword [ebp - 0xd0]
inc eax
cmp eax, 0x1000
jb 0x42509c
test cl, 0x1f
je 0x425078
call fcn.004528a2
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x425084
call fcn.004528a2
sub ecx, eax
cmp ecx, 4
jae 0x425090
call fcn.004528a2
cmp ecx, 0x23
jbe 0x42509a
call fcn.004528a2
mov ecx, eax
push ecx
call fcn.0043428f
add esp, 4
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x4250d5
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00421270
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x4250fe
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00421270
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x42512d
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00421270
xor eax, eax
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.00434294
mov esp, ebp
pop ebp
ret 0xc