Function at 0x419916
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49dfbd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov ecx, 7
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x14], 0
push esi
mov dword [ebp - 0x10], ecx
mov word [ebp - 0x24], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add eax, 0xffffff9c
cmp eax, ecx
ja case.default.0x419319
jmp dword [eax*4 + 0x419a3c]
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push 0
push 0
push 0
push eax
call fcn.0041b9b0
mov ecx, dword [ebp - 0x10]
cmp ecx, 8
jb 0x419344
cmp dword [ebp - 0x24], 0
je case.default.0x419319
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x24]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0
je case.default.0x419319
cmp ecx, 8
lea eax, [ebp - 0x24]
cmovae eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4199e6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0044e2c0
test eax, eax
je 0x4193ef
push 0
push 1
lea eax, [ebp - 0x3c]
push eax
call fcn.004154d0
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp edx, 0x10
jb 0x4199d7
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4193dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a31
push edx
push ecx
call fcn.00429ebb
mov ecx, dword [ebp - 0x10]
add esp, 8
jmp 0x4199eb
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x4199e6
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4199dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a31
jmp 0x4199dc
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push 0
push 0
push eax
push 0
call fcn.0041b9b0
mov ecx, dword [ebp - 0x10]
cmp ecx, 8
jb 0x41944a
cmp dword [ebp - 0x24], 0
je case.default.0x419319
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x24]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0
je case.default.0x419319
cmp ecx, 8
lea eax, [ebp - 0x24]
cmovae eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4199e6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0044e2c0
test eax, eax
je 0x4193ef
push 0
push 1
lea eax, [ebp - 0x3c]
push eax
call fcn.004150d0
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp edx, 0x10
jb 0x4199d7
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4194e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a31
push edx
push ecx
call fcn.00429ebb
mov ecx, dword [ebp - 0x10]
add esp, 8
jmp 0x4199eb
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push 0
push eax
push 0
push 0
call fcn.0041b9b0
mov ecx, dword [ebp - 0x10]
cmp ecx, 8
jb 0x41951d
cmp dword [ebp - 0x24], 0
je case.default.0x419319
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x24]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0
je case.default.0x419319
cmp ecx, 8
lea eax, [ebp - 0x24]
cmovae eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4199e6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0044e2c0
test eax, eax
je 0x4193ef
push 0
push 1
lea eax, [ebp - 0x3c]
push eax
call fcn.004152d0
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp edx, 0x10
jb 0x4199d7
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4195ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a31
push edx
push ecx
call fcn.00429ebb
mov ecx, dword [ebp - 0x10]
add esp, 8
jmp 0x4199eb
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push 0
push 0
push 0
push eax
call fcn.0041b6f0
mov ecx, dword [ebp - 0x10]
cmp ecx, 8
jb 0x4195f0
cmp dword [ebp - 0x24], 0
je case.default.0x419319
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x24]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0
je case.default.0x419319
cmp ecx, 8
lea eax, [ebp - 0x24]
cmovae eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4199e6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0044e2c0
test eax, eax
je 0x4193ef
push 0
push 1
lea eax, [ebp - 0x3c]
push eax
call fcn.004153d0
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp edx, 0x10
jb 0x4199d7
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41968d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a31
push edx
push ecx
call fcn.00429ebb
mov ecx, dword [ebp - 0x10]
add esp, 8
jmp 0x4199eb
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push 0
push 0
push eax
push 0
call fcn.0041b6f0
mov ecx, dword [ebp - 0x10]
cmp ecx, 8
jb 0x4196c3
cmp dword [ebp - 0x24], 0
je case.default.0x419319
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x24]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0
je case.default.0x419319
cmp ecx, 8
lea eax, [ebp - 0x24]
cmovae eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4199e6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0044e2c0
test eax, eax
je 0x4193ef
push 0
push 1
lea eax, [ebp - 0x3c]
push eax
call fcn.00414fd0
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp edx, 0x10
jb 0x4199d7
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419760
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a31
push edx
push ecx
call fcn.00429ebb
mov ecx, dword [ebp - 0x10]
add esp, 8
jmp 0x4199eb
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push 0
push eax
push 0
push 0
call fcn.0041b6f0
mov ecx, dword [ebp - 0x10]
cmp ecx, 8
jb 0x419796
cmp dword [ebp - 0x24], 0
je case.default.0x419319
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x24]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0
je case.default.0x419319
cmp ecx, 8
lea eax, [ebp - 0x24]
cmovae eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4199e6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0044e2c0
test eax, eax
je 0x4193ef
push 0
push 1
lea eax, [ebp - 0x3c]
push eax
call fcn.00415950
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp edx, 0x10
jb 0x4199d7
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419833
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a31
push edx
push ecx
call fcn.00429ebb
mov ecx, dword [ebp - 0x10]
add esp, 8
jmp 0x4199eb
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push 0
push 0
push eax
call fcn.0041bc70
mov ecx, dword [ebp - 0x10]
cmp ecx, 8
jb 0x419867
cmp dword [ebp - 0x24], 0
je case.default.0x419319
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x24]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0
je case.default.0x419319
cmp ecx, 8
lea eax, [ebp - 0x24]
cmovae eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4199e6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0044e2c0
test eax, eax
je 0x4193ef
push 0
push 1
lea eax, [ebp - 0x3c]
push eax
call fcn.004155d0
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp edx, 0x10
jb 0x4199d7
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419904
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a31
push edx
push ecx
call fcn.00429ebb
mov ecx, dword [ebp - 0x10]
add esp, 8
jmp 0x4199eb
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push 0
push eax
push 0
call fcn.0041bc70
mov ecx, dword [ebp - 0x10]
cmp ecx, 8
jb 0x419938
cmp dword [ebp - 0x24], 0
je case.default.0x419319
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x24]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0
je case.default.0x419319
cmp ecx, 8
lea eax, [ebp - 0x24]
cmovae eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4199e6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0044e2c0
test eax, eax
je 0x4193ef
push 0
push 1
lea eax, [ebp - 0x3c]
push eax
call fcn.004151d0
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp edx, 0x10
jb 0x4199d7
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4199cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a31
push edx
push ecx
call fcn.00429ebb
add esp, 8
mov ecx, dword [ebp - 0x10]
jmp 0x4199eb
push edx
push ecx
call fcn.00429ebb
add esp, 8
mov ecx, dword [ebp - 0x10]
xor esi, esi
cmp ecx, 8
jb 0x419a1e
mov edx, dword [ebp - 0x24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419a14
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a36
push ecx
push edx
call fcn.00429ebb
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.004679af
call fcn.004679af
nop
and byte [ebx - 0x6bd9ffbf], dl
inc ecx
add cl, bh
xchg esp, eax
inc ecx
add ah, cl
xchg ebp, eax
inc ecx
add byte [edi + 0x72004196], bl
xchg edi, eax
inc ecx
add byte [ebp - 0x68], al
inc ecx
add byte [esi], dl
cdq
inc ecx
add ah, cl
int3