Function at 0x41c200
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50fb62
mov eax, dword fs:[0]
push eax
sub esp, 0x3b8
mov eax, dword [0x5723f8]
xor eax, esp
mov dword [esp + 0x3b0], eax
push ebx
push esi
push edi
mov eax, dword [0x5723f8]
xor eax, esp
push eax
lea eax, [esp + 0x3c8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ebx
test esi, esi
je 0x41cab6
cmp dword [ebp + 0xc], ebx
je 0x41cab6
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], ax
lea ecx, [esp + 0xf4]
mov dword [esp + 0x3d0], eax
call fcn.004231f0
push 0x5596f8
mov edx, eax
mov byte [esp + 0x3d4], 1
lea ecx, [esp + 0xe0]
call fcn.0040e640
add esp, 4
cmp dword [esp + 0x108], 8
jb 0x41c2cf
push dword [esp + 0xf4]
call fcn.0044ef7f
add esp, 4
xor eax, eax
mov dword [esp + 0x108], 7
lea ecx, [esp + 0x2c]
mov dword [esp + 0x104], 0
mov word [esp + 0xf4], ax
call fcn.0041fe60
lea ecx, [esp + 0x10c]
mov byte [esp + 0x3d0], 4
call fcn.00418430
push esi
lea ecx, [esp + 0xb0]
mov byte [esp + 0x3d4], 5
call fcn.00407310
sub esp, 8
mov byte [esp + 0x3d8], 6
lea ecx, [esp + 0x114]
push eax
call fcn.004155d0
mov byte [esp + 0x3d0], 5
cmp dword [esp + 0xc0], 8
jb 0x41c35a
push dword [esp + 0xac]
call fcn.0044ef7f
add esp, 4
and dword [esp + 0x3c], 0xfffffffe
lea eax, [esp + 0x30]
and dword [esp + 0x5c], 0xfffffffe
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], str.m_FileListInfo
mov dword [esp + 0x38], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], str.File
mov dword [esp + 0x58], 0
cmp esi, edi
je 0x41c3b5
mov ecx, esi
call fcn.0041fb40
add esi, 0x294
cmp esi, edi
jne 0x41c3a0
mov esi, dword [esp + 0x60]
lea eax, [esp + 0x10c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x10c]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x110]
call dword [eax + 0x38]
test eax, eax
je 0x41c40c
test byte [esp + 0x3c], 1
jne 0x41c3fd
lea ecx, [esp + 0x4c]
call fcn.0042b250
push eax
lea ecx, [esp + 0x44]
call fcn.0041d980
or dword [esp + 0x3c], 1
lea eax, [esp + 0x40]
mov ecx, 0x57dda0
push eax
call fcn.0041d980
test byte [esp + 0x3c], 1
jne 0x41c42b
lea ecx, [esp + 0x4c]
call fcn.0042b250
push eax
lea ecx, [esp + 0x44]
call fcn.0041d980
or dword [esp + 0x3c], 1
lea eax, [esp + 0x40]
mov ecx, 0x57dda0
push eax
call fcn.0041d980
lea ecx, [esp + 0x10c]
call fcn.004157b0
mov byte [esp + 0x3d0], 3
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2c], vtable.Serialize_CDN_AutoUpdate.0
call fcn.0041fdc0
lea ecx, [esp + 0x2c]
call fcn.0041df30
mov ecx, dword [0x57dda4]
mov eax, 0x51eb851f
sub ecx, dword [0x57dda0]
imul ecx
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
mov dword [esp + 0x20], edi
jne 0x41c492
xor ebx, ebx
jmp 0x41ca60
lea ecx, [esp + 0x7c]
call fcn.004231f0
mov edx, eax
mov byte [esp + 0x3d0], 7
lea ecx, [esp + 0xac]
call fcn.00423ae0
cmp dword [eax + 0x14], 8
jb 0x41c4b9
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41c4d0
test al, 0x10
je 0x41c4d0
mov eax, 1
jmp 0x41c4d2
xor eax, eax
test al, al
sete byte [esp + 0x17]
cmp dword [esp + 0xc0], 8
jb 0x41c4f2
push dword [esp + 0xac]
call fcn.0044ef7f
add esp, 4
xor eax, eax
mov byte [esp + 0x3d0], 3
cmp dword [esp + 0x90], 8
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], 0
mov word [esp + 0xac], ax
jb 0x41c530
push dword [esp + 0x7c]
call fcn.0044ef7f
add esp, 4
cmp byte [esp + 0x17], 0
je 0x41c582
lea ecx, [esp + 0xac]
call fcn.004231f0
mov edx, eax
mov byte [esp + 0x3d0], 8
lea ecx, [esp + 0x7c]
call fcn.00423ae0
mov ecx, eax
mov byte [esp + 0x3d0], 9
call fcn.00423680
lea ecx, [esp + 0x7c]
call fcn.004028d0
lea ecx, [esp + 0xac]
mov byte [esp + 0x3d0], 3
call fcn.004028d0
push dword [esp + 0x18]
lea ecx, [esp + 0xc8]
call fcn.00407310
push 0x2e8
mov byte [esp + 0x3d4], 0xa
call fcn.0044f140
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x3d0], 0xb
test esi, esi
je 0x41c5c2
mov ecx, esi
call fcn.0042ca50
jmp 0x41c5c4
xor esi, esi
sub esp, 0x18
mov byte [esp + 0x3e8], 0xa
mov ecx, esp
mov dword [esp + 0x30], esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0xfc]
push eax
call fcn.004024f0
push 0x3a8
lea edx, [esp + 0xe0]
mov byte [esp + 0x3ec], 0xc
lea ecx, [esp + 0x98]
call fcn.00423f90
add esp, 4
mov byte [esp + 0x3e8], 0xd
cmp dword [eax + 0x14], 0x10
jb 0x41c62b
mov eax, dword [eax]
push dword [ebp + 0xc]
mov ecx, esi
mov byte [esp + 0x3ec], 0xe
push eax
call fcn.00428280
test eax, eax
mov byte [esp + 0x3d0], 0xa
sete al
cmp dword [esp + 0x90], 0x10
mov byte [esp + 0x17], al
jb 0x41c669
push dword [esp + 0x7c]
call fcn.0044ef7f
mov al, byte [esp + 0x1b]
add esp, 4
test al, al
je 0x41c688
test esi, esi
je 0x41c681
mov ecx, esi
call fcn.0042cc00
push esi
call fcn.0044ef7f
add esp, 4
xor ebx, ebx
jmp 0x41ca27
test esi, esi
je 0x41c69c
mov ecx, esi
call fcn.0042cc00
push esi
call fcn.0044ef7f
add esp, 4
test edi, edi
je 0x41ca23
mov ebx, dword [esp + 0x20]
xor edi, edi
lea ebx, [ebx]
mov eax, dword [0x57dda0]
sub esp, 0x18
mov ecx, esp
xor edx, edx
add eax, 0x90
add eax, edi
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.004024f0
lea ecx, [esp + 0x94]
call fcn.00422db0
mov esi, dword [0x57dda0]
add esp, 0x18
add esi, 0x90
mov dword [esp + 0x18], eax
add esi, edi
cmp esi, eax
je 0x41c731
cmp dword [esi + 0x14], 8
jb 0x41c716
push dword [esi]
call fcn.0044ef7f
mov eax, dword [esp + 0x1c]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.00406b50
cmp dword [esp + 0x90], 8
jb 0x41c747
push dword [esp + 0x7c]
call fcn.0044ef7f
add esp, 4
add edi, 0xc8
dec ebx
jne 0x41c6b0
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test edi, edi
je 0x41ca23
xor edi, edi
jmp 0x41c770
mov eax, dword [0x57dda0]
lea ecx, [esp + 0x94]
add eax, 0x90
add eax, edi
cmp ecx, eax
je 0x41c791
push 0xffffffffffffffff
push 0
push eax
call fcn.004024f0
cmp dword [esp + 0xa8], 8
lea ecx, [esp + 0x16c]
lea eax, [esp + 0x94]
cmovae eax, dword [esp + 0x94]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
setne cl
test cl, cl
je 0x41c82e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [0x57dda0]
sub esp, 0x18
mov ecx, esp
xor eax, eax
add esi, 0x18
add esi, edi
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0xb4]
push eax
call fcn.004024f0
lea ecx, [esp + 0x94]
call fcn.00422b50
add esp, 0x18
or ebx, 1
cmp dword [esi + 0x14], 8
jb 0x41c815
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x41c81d
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov byte [esp + 0x17], 1
test eax, eax
je 0x41c833
mov byte [esp + 0x17], 0
test bl, 1
je 0x41c851
and ebx, 0xfffffffe
cmp dword [esp + 0x90], 8
jb 0x41c851
push dword [esp + 0x7c]
call fcn.0044ef7f
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x41ca13
mov eax, dword [0x57dda0]
lea ecx, [esp + 0x16c]
push ecx
test byte [edi + eax + 0xc0], 0x40
lea eax, [esp + 0x98]
je 0x41c94b
cmp dword [esp + 0xac], 8
cmovae eax, dword [esp + 0x98]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
call eax
cmp eax, 0xffffffff
setne cl
test cl, cl
je 0x41c90e
push eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
mov esi, dword [0x57dda0]
sub esp, 0x18
mov ecx, esp
xor eax, eax
add esi, 0x18
add esi, edi
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0xb4]
push eax
call fcn.004024f0
lea ecx, [esp + 0x94]
call fcn.00422b50
add esp, 0x18
or ebx, 2
cmp dword [esi + 0x14], 8
jb 0x41c8f5
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x41c8fd
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov byte [esp + 0x17], 0
test eax, eax
je 0x41c913
mov byte [esp + 0x17], 1
test bl, 2
je 0x41c931
and ebx, 0xfffffffd
cmp dword [esp + 0x90], 8
jb 0x41c931
push dword [esp + 0x7c]
call fcn.0044ef7f
add esp, 4
cmp byte [esp + 0x17], 0
je 0x41ca13
mov eax, dword [esp + 0x28]
mov dword [eax], 1
jmp 0x41ca13
cmp dword [esp + 0xac], 8
cmovae eax, dword [esp + 0x98]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
call eax
cmp eax, 0xffffffff
setne cl
test cl, cl
je 0x41c9db
push eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
mov esi, dword [0x57dda0]
sub esp, 0x18
mov ecx, esp
xor eax, eax
add esi, 0x18
add esi, edi
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0xb4]
push eax
call fcn.004024f0
lea ecx, [esp + 0x94]
call fcn.00422b50
add esp, 0x18
or ebx, 4
cmp dword [esi + 0x14], 8
jb 0x41c9c2
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x41c9ca
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov byte [esp + 0x17], 0
test eax, eax
je 0x41c9e0
mov byte [esp + 0x17], 1
test bl, 4
je 0x41c9fe
and ebx, 0xfffffffb
cmp dword [esp + 0x90], 8
jb 0x41c9fe
push dword [esp + 0x7c]
call fcn.0044ef7f
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, 1
cmp byte [esp + 0x17], 0
cmovne eax, ecx
mov dword [esp + 0x24], eax
add edi, 0xc8
dec dword [esp + 0x20]
jne 0x41c770
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0xd8], 8
jb 0x41ca40
push dword [esp + 0xc4]
call fcn.0044ef7f
add esp, 4
xor eax, eax
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
cmp dword [esp + 0xf0], 8
jb 0x41ca79
push dword [esp + 0xdc]
call fcn.0044ef7f
add esp, 4
xor eax, eax
mov dword [esp + 0xf0], 7
cmp dword [esp + 0xa8], 8
mov dword [esp + 0xec], 0
mov word [esp + 0xdc], ax
jb 0x41cab2
push dword [esp + 0x94]
call fcn.0044ef7f
add esp, 4
mov eax, ebx
jmp 0x41cab8
xor eax, eax
mov ecx, dword [esp + 0x3c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3b0]
xor ecx, esp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret 0xc