Function at 0x423980
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57889d
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x5db008]
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 dword [ebp - 0x120], ecx
call fcn.0043a70b
test al, al
je 0x4239dd
push eax
pop esp
pop ecx
push ebx
pop eax
pop ecx
push ecx
pop ebx
pop edx
push edi
push ebx
pop esp
push ebx
push ebx
push edi
pop esp
push edx
pop edi
pop ecx
pop ebx
push ebp
pop edx
pop edi
push edi
push edx
pop esp
push esi
push ebp
push esi
push edi
push ebx
push ebp
call fcn.0043aa02
test al, al
je 0x4239ff
push esp
push edx
push edi
push edx
pop eax
pop ecx
push esp
push edx
pop ecx
pop edx
pop ecx
push esp
pop eax
push esp
pop edx
push esi
pop esp
push ebx
push edx
push esp
pop esi
push esp
push esi
push edi
pop edi
call fcn.0043a49e
test al, al
je 0x423a18
push ebp
push ebp
pop esi
push ecx
pop edi
push edi
push eax
push edi
pop ebx
pop ebx
push esi
push ebp
push esi
push edx
push ebx
push esp
mov eax, dword [ebp - 0x120]
add eax, 0x10
mov dword [ebp - 0x124], 0
push eax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x88]
push eax
call fcn.00437433
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.00439b75
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.00439a61
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.004379f3
add esp, 0x20
mov byte [ebp - 4], 3
call fcn.0043a5b2
test al, al
je 0x423ab9
push eax
push eax
pop edi
push eax
pop ebp
pop ebx
pop ebx
pop edx
pop ecx
pop edi
pop edx
push eax
pop eax
push ecx
push esp
pop ebp
push ebp
pop esi
pop ecx
push esp
pop ebp
pop esp
push esi
push ebx
push edx
pop edi
push edx
push esi
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004362d0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004379f3
add esp, 0x10
mov eax, dword [ebp - 0x120]
mov byte [ebp - 4], 5
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x423c38
cmp dword [esi + 0x14], 0x10
jb 0x423b0a
mov edx, dword [esi]
jmp 0x423b0c
mov edx, esi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp byte [edx], 0
jne 0x423b27
xor ecx, ecx
jmp 0x423b39
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423b30
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00422830
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 0x423bd3
sub edi, 4
jb 0x423b91
nop
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x423b96
add edx, 4
add ecx, 4
sub edi, 4
jae 0x423b80
cmp edi, 0xfffffffc
je 0x423bca
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x423bc3
cmp edi, 0xfffffffd
je 0x423bca
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x423bc3
cmp edi, 0xfffffffe
je 0x423bca
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x423bc3
cmp edi, 0xffffffff
je 0x423bca
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x423bca
sbb eax, eax
or eax, 1
jmp 0x423bcc
xor eax, eax
test eax, eax
jne 0x423be6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0x18]
cmp edx, ecx
jb 0x423be6
jbe 0x423c82
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x423c26
inc eax
cmp eax, 0x1000
jb 0x423c1d
test byte [ebp - 0x28], 0x1f
jne 0x423c9a
mov eax, dword [ebx - 4]
cmp eax, ebx
jae 0x423c9a
sub ebx, eax
cmp ebx, 4
jb 0x423c9a
cmp ebx, 0x23
ja 0x423c9a
mov ebx, eax
push ebx
call fcn.0042f70e
add esp, 4
mov eax, dword [ebp - 0x120]
add esi, 0x18
cmp esi, dword [eax + 4]
jne 0x423b00
xor esi, esi
call fcn.0043a8ee
test al, al
je 0x423c53
push esi
push edi
push ebx
pop eax
push edi
pop ebp
push esp
push eax
pop ecx
pop edi
push ecx
pop edx
push esp
pop ebx
push esp
pop edx
test esi, esi
jne 0x423db2
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x423cfe
mov ecx, dword [ebp - 0xb8]
inc eax
cmp eax, 0x1000
jb 0x423cf5
test cl, 0x1f
je 0x423cd1
call fcn.004561ae
mov esi, 1
cmp eax, 0x10
jb 0x423c3a
inc eax
cmp eax, 0x1000
jb 0x423cc3
test byte [ebp - 0x28], 0x1f
je 0x423c9f
call fcn.004561ae
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x423cab
call fcn.004561ae
sub ebx, eax
cmp ebx, 4
jae 0x423cb7
call fcn.004561ae
cmp ebx, 0x23
jbe 0x423cc1
call fcn.004561ae
mov ebx, eax
push ebx
call fcn.0042f70e
add esp, 4
jmp 0x423c3a
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x423cdd
call fcn.004561ae
sub ecx, eax
cmp ecx, 4
jae 0x423ce9
call fcn.004561ae
cmp ecx, 0x23
jbe 0x423cf3
call fcn.004561ae
mov ecx, eax
push ecx
call fcn.0042f70e
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 0x423d2e
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00421b10
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 0x423d92
mov ecx, dword [ebp - 0xd0]
inc eax
cmp eax, 0x1000
jb 0x423d89
test cl, 0x1f
je 0x423d65
call fcn.004561ae
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x423d71
call fcn.004561ae
sub ecx, eax
cmp ecx, 4
jae 0x423d7d
call fcn.004561ae
cmp ecx, 0x23
jbe 0x423d87
call fcn.004561ae
mov ecx, eax
push ecx
call fcn.0042f70e
add esp, 4
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
jmp 0x424399
call fcn.0043a978
test al, al
je 0x423dcd
push esp
push esp
push ebp
push edi
push ecx
pop ebx
pop esi
pop esp
push eax
pop ebp
pop ebp
pop ecx
push ebp
push eax
pop edi
pop eax
pop ebp
push esp
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 0x423df8
mov eax, dword [ecx]
jmp 0x423dfa
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x40]
push edx
push eax
call fcn.004218f0
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0xa0]
mov ecx, dword [ebp - 0x120]
push edi
push eax
call fcn.004234d0
cmp dword [ebp + 0xc], 0
mov byte [ebp - 4], 6
je 0x423f13
call fcn.0043a70b
test al, al
je 0x423e55
push ebp
push ecx
push edi
pop esi
pop ecx
pop eax
pop esp
push ebx
push edi
pop ecx
push ecx
pop esp
push ecx
push eax
push ebx
push edi
push ebp
push esp
push eax
push ebx
pop esp
push eax
pop ebx
pop esi
pop eax
push ebp
push esi
push ecx
push edx
call fcn.0043a978
test al, al
je 0x423e7c
push esp
pop edx
push ebx
pop ebp
pop eax
pop ebp
push ecx
pop eax
push eax
push ecx
pop ebx
push edx
pop esi
push edx
pop esp
pop esp
push ebp
pop edx
pop ecx
push ebp
push eax
push edi
push esp
pop edi
push esi
push ecx
pop edi
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x120]
cmp dword [ebx + 0xb0], 0
je 0x423eb2
push 1
lea eax, [ebp - 0xa0]
push eax
sub esp, 0x18
lea ecx, [ebx + 0x10]
mov eax, esp
push ecx
push eax
call fcn.00437433
mov ecx, dword [ebx + 0xb0]
add esp, 8
push edi
call fcn.00420a20
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 0x4241a1
lea eax, [ebp - 0x124]
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.004218f0
call fcn.004387bc
add esp, 0x1c
mov dword [ebx + 0x64], eax
jmp 0x4241a1
call fcn.0043a681
test al, al
je 0x423f36
push ebx
pop edx
push ebp
push ecx
push esp
push esp
pop esi
pop ebx
pop edx
pop edx
pop ebx
push esi
push eax
push esp
push esp
pop eax
pop ebx
pop eax
pop esi
pop eax
pop ebp
pop edi
push ebx
push edi
pop ebx
pop edx
call fcn.0043a81f
test al, al
je 0x423f5b
push esi
pop esp
push eax
push esi
push ebx
push esi
pop esp
push edi
pop ebp
push edi
push edx
pop edi
pop esp
push ecx
push ecx
pop eax
push ecx
pop ebp
push ebp
push ebx
pop esi
pop edi
pop ebx
push eax
pop ebp
push esp
push esi
push ebx
mov ebx, dword [ebp - 0x11c]
lea ecx, [ebp - 0xe8]
push 0xffffffffffffffff
push 0
push ebx
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
call fcn.00422930
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.00422930
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 8
push str.96396363036758401159294368450808
push eax
call fcn.00439044
mov esi, eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 9
push str.81456726055409131754394945636138
push eax
call fcn.00439044
push esi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
call fcn.00436e88
add esp, 0x1c
lea ecx, [ebp - 0x100]
call fcn.00421620
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 8
call fcn.00421620
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.004248f0
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 0x424085
cmp dword [ecx + 0x14], 0x10
jb 0x42406e
mov eax, dword [ecx]
jmp 0x424070
mov eax, ecx
push 0xffffffffffffffff
push 0
push ebx
mov byte [eax], 0
call fcn.00422930
mov ecx, dword [ebp - 0x120]
jmp 0x4240f2
cmp dword [ecx + 0x14], 0x10
jb 0x42408f
mov eax, dword [ecx]
jmp 0x424091
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.00422930
mov ebx, dword [ebp - 0x120]
mov ecx, ebx
call fcn.00423670
mov dword [ebp - 0x124], eax
test eax, eax
jne 0x424141
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 0x4240de
mov eax, dword [ecx]
jmp 0x4240e0
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00422930
mov ecx, ebx
call fcn.00423670
mov dword [ebp - 0x124], eax
test eax, eax
jne 0x424141
cmp dword [ebp - 0xbc], 0x10
lea esi, [ebp - 0xd0]
mov eax, dword [0x5ea398]
cmovae esi, dword [ebp - 0xd0]
test eax, eax
jne 0x42413d
push 0xac
call fcn.0042f729
add esp, 4
mov dword [ebp - 0x11c], eax
mov ecx, eax
call fcn.0042a090
mov dword [0x5ea398], eax
push 1
jmp 0x42417f
cmp dword [ebp - 0xbc], 0x10
lea esi, [ebp - 0xd0]
mov eax, dword [0x5ea398]
cmovae esi, dword [ebp - 0xd0]
test eax, eax
jne 0x42417d
push 0xac
call fcn.0042f729
add esp, 4
mov dword [ebp - 0x11c], eax
mov ecx, eax
call fcn.0042a090
mov dword [0x5ea398], eax
push 2
push esi
sub esp, 8
mov ecx, eax
call fcn.0042a500
lea ecx, [ebp - 0x28]
call fcn.00421620
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 6
call fcn.00421620
call fcn.0043a70b
test al, al
je 0x4241bf
pop edx
pop ebp
pop eax
push ecx
pop edx
push edx
pop edi
push eax
pop ebx
push esp
pop esi
push ebp
pop eax
pop ebx
pop edi
pop eax
push ebx
push edx
push ebx
push edi
pop eax
call fcn.0043a49e
test al, al
je 0x4241d8
pop ecx
push ebp
pop ebp
push eax
pop ebp
pop ecx
push ebp
pop ecx
push edx
pop edi
pop edx
push eax
pop edx
pop edx
pop ecx
pop eax
call fcn.0043aa47
test al, al
je 0x4241f5
pop esi
push ecx
pop edx
pop edx
push ebx
pop ebx
pop ecx
push edx
pop esi
pop ebp
push esi
push esi
pop esi
push ebp
push edi
pop ebx
push ebx
pop edi
pop ebp
pop esi
cmp dword [ebp - 0x124], 0
je 0x424327
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x11c], 0
call fcn.0043a528
test al, al
je 0x42423d
pop ebx
pop ecx
pop ebx
push esi
pop esp
push edx
push edx
push ebp
pop ecx
push edi
pop edx
push ebp
push ebx
pop esi
pop edi
push esp
pop ebx
pop esp
pop ecx
push edx
push ecx
push eax
pop ecx
push edi
push edx
pop ecx
push ecx
push edi
push esp
pop ecx
call fcn.0043a56d
test al, al
je 0x42425a
push edx
push esi
pop ebx
push ebx
pop esi
push edi
pop ecx
pop esi
pop esp
pop eax
pop ecx
push ebx
pop eax
push ebp
pop esi
push esi
pop ebp
push eax
push ebx
push ebp
call fcn.0043a8a9
test al, al
je 0x42427c
pop esi
pop edi
pop edi
push ebx
pop esp
pop ecx
pop edx
push ecx
push edx
push esi
push esi
push ecx
push eax
push ebp
pop esi
pop ebx
push esi
pop ebp
push edx
push ebx
pop esp
push edi
push edi
push ebp
push edi
mov ecx, dword [ebp - 0x120]
lea eax, [ecx + 0x40]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x124]
push dword [ecx + 0x64]
call fcn.00424da0
mov ecx, dword [ebp - 0x128]
test ecx, ecx
je 0x424308
mov edx, dword [ebp - 0x11c]
test edx, edx
je 0x424308
call fcn.004272f0
lea ecx, [ebp - 0xa0]
mov esi, eax
call fcn.004214c0
lea ecx, [ebp - 0xb8]
call fcn.00421620
lea ecx, [ebp - 0x58]
call fcn.004214c0
lea ecx, [ebp - 0xd0]
call fcn.00421620
lea ecx, [ebp - 0x70]
call fcn.004214c0
lea ecx, [ebp - 0x40]
call fcn.004214c0
lea ecx, [ebp - 0x88]
call fcn.004214c0
mov eax, esi
jmp 0x424408
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
push 0x89
call fcn.0043b1f5
add esp, 8
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x424345
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00421b10
xor eax, eax
mov dword [ebp - 0x8c], 7
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x90], eax
mov word [ebp - 0xa0], ax
call fcn.00421620
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x42437e
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00421b10
xor eax, eax
mov dword [ebp - 0x44], 7
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
call fcn.00421620
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x4243ae
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00421b10
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 0x4243d7
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00421b10
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 0x424406
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00421b10
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.0042f713
mov esp, ebp
pop ebp
ret 0xc