Function at 0x411850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ddcd
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x469644]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x124], edi
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.004288bf
mov dword [ebp - 0x130], eax
add esp, 4
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x11c]
push ecx
mov dword [ebp - 0x12c], edx
call fcn.00427bbf
lea edx, [ebp - 0x11c]
push edx
push str._d._m._Y____H:_M:_S
lea eax, [ebp - 0x2c]
push 0x16
push eax
call fcn.004288a0
mov esi, 0xf
lea eax, [ebp - 0x2c]
add esp, 0x18
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x6c], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4118e4
sub eax, ecx
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.0040b6d0
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 1
mov dword [ebp - 0x120], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x6c]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.0040e1a0
lea esi, [ebp - 0xa4]
call fcn.004065d0
add esp, 0x1c
push 0x45dd60
mov eax, esi
push eax
lea ecx, [ebp - 0xf8]
push ecx
mov byte [ebp - 4], 2
call fcn.00412f20
add esp, 0xc
mov ecx, eax
lea eax, [ebp + 8]
lea ebx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.00413010
mov byte [ebp - 4], 5
cmp dword [ebp - 0xe4], 8
jb 0x411976
mov edx, dword [ebp - 0xf8]
push edx
call fcn.00426e9f
add esp, 4
xor esi, esi
xor eax, eax
cmp dword [edi + 0x44], 0x1f4
mov dword [ebp - 0xe4], 7
mov dword [ebp - 0xe8], esi
mov word [ebp - 0xf8], ax
jb 0x4119e0
mov eax, dword [edi + 0x40]
mov ebx, dword [eax]
cmp ebx, eax
je 0x4119e0
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [eax], ecx
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
cmp dword [ebx + 0x1c], 8
jb 0x4119c4
mov eax, dword [ebx + 8]
push eax
call fcn.00426e9f
add esp, 4
xor ecx, ecx
mov dword [ebx + 0x1c], 7
mov dword [ebx + 0x18], esi
push ebx
mov word [ebx + 8], cx
call fcn.00426e9f
add esp, 4
dec dword [edi + 0x44]
mov ebx, dword [edi + 0x40]
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x88]
push edx
push eax
push ebx
call fcn.0040be90
mov ecx, dword [edi + 0x44]
mov edx, 0x9249248
sub edx, ecx
cmp edx, 1
jae 0x411a0d
push str.list_T__too_long
call fcn.00424874
inc ecx
mov dword [edi + 0x44], ecx
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
cmp dword [edi + 0x118], 0x1f4
jb 0x411a71
mov eax, dword [edi + 0x114]
mov ebx, dword [eax]
cmp ebx, eax
je 0x411a71
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [eax], ecx
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
cmp dword [ebx + 0x1c], 8
jb 0x411a52
mov eax, dword [ebx + 8]
push eax
call fcn.00426e9f
add esp, 4
xor ecx, ecx
mov dword [ebx + 0x1c], 7
mov dword [ebx + 0x18], esi
push ebx
mov word [ebx + 8], cx
call fcn.00426e9f
add esp, 4
dec dword [edi + 0x118]
mov ebx, dword [edi + 0x114]
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x88]
push edx
push eax
push ebx
call fcn.0040be90
mov ecx, dword [edi + 0x118]
mov edx, 0x9249248
sub edx, ecx
cmp edx, 1
jae 0x411aa4
push str.list_T__too_long
call fcn.00424874
inc ecx
mov dword [edi + 0x118], ecx
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
cmp byte [edi], 0
jne 0x411b48
cmp dword [ebp - 0x74], 8
jb 0x411ad1
mov eax, dword [ebp - 0x88]
push eax
call fcn.00426e9f
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x90], 8
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], esi
mov word [ebp - 0x88], cx
jb 0x411afc
mov edx, dword [ebp - 0xa4]
push edx
call fcn.00426e9f
add esp, 4
xor eax, eax
cmp dword [ebp - 0x58], 0x10
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], esi
mov word [ebp - 0xa4], ax
jb 0x411b27
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00426e9f
add esp, 4
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], esi
mov byte [ebp - 0x6c], 0
jb 0x4121a7
mov edx, dword [ebp + 8]
push edx
jmp 0x41219f
cmp dword [edi + 0x110], 0x1f4
jl 0x411b7f
lea ebx, [edi + 0x68]
lea eax, [ebx + 4]
call fcn.00403cc0
test eax, eax
jne 0x411b7f
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebx + 0xc]
add ecx, ebx
or eax, 2
cmp dword [ecx + 0x38], esi
jne 0x411b79
or eax, 4
push esi
call fcn.00401b10
cmp dword [edi + 0xc0], esi
jne 0x411ca7
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x120], esp
xor ebx, ebx
push ebx
xor edx, edx
lea esi, [edi + 0x4c]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push esi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00403a30
mov ecx, edi
call fcn.00412280
lea eax, [ebp - 0xdc]
mov dword [edi + 0x110], ebx
push esi
lea ebx, [edi + 4]
push eax
call fcn.00412e70
push eax
mov eax, 0x45de4c
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.0040f880
add esp, 0xc
mov ecx, eax
mov eax, 0x46c01c
lea ebx, [ebp - 0xc0]
mov byte [ebp - 4], 7
call fcn.00413010
cmp dword [ebp - 0x3c], 8
jb 0x411c0e
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00426e9f
add esp, 4
mov esi, 7
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], dx
cmp dword [ebp - 0xc8], 8
jb 0x411c39
mov eax, dword [ebp - 0xdc]
push eax
call fcn.00426e9f
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xac], 8
mov word [ebp - 0xdc], cx
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xcc], ebx
jae 0x411c67
lea ecx, [ebp - 0xc0]
lea esi, [edi + 0x68]
call fcn.00412d30
mov dword [ebp - 4], 0xa
jmp 0x411c8b
mov byte [ebp - 4], 5
cmp dword [ebp - 0xac], 8
jb 0x411ca7
mov edx, dword [ebp - 0xc0]
push edx
call fcn.00426e9f
add esp, 4
cmp dword [edi + 0xc0], 0
je 0x411dde
mov eax, dword [edi + 0x40]
mov ecx, dword [eax]
mov dword [ebp - 0x120], ecx
cmp ecx, eax
je 0x411d8d
jmp 0x411cd0
mov eax, dword [ebp - 0x120]
xor ebx, ebx
add eax, 8
xor ecx, ecx
push ebx
mov word [ebp - 0x50], cx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], ebx
call fcn.00403a30
lea edx, [ebp - 0x50]
push edx
lea eax, [edi + 0x68]
push eax
mov byte [ebp - 4], 0xd
call fcn.00413050
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00412aa0
mov eax, dword [esi]
mov eax, dword [eax + 4]
test byte [eax + esi + 0xc], 6
jne 0x411d3a
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x411d3a
mov ebx, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test ebx, ebx
je 0x411d5a
mov eax, dword [ecx + 0xc]
or eax, ebx
cmp dword [ecx + 0x38], 0
jne 0x411d53
or eax, 4
push 0
call fcn.00401b10
inc dword [edi + 0x110]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x3c], 8
jb 0x411d76
mov edx, dword [ebp - 0x50]
push edx
call fcn.00426e9f
add esp, 4
mov eax, dword [ebp - 0x120]
mov eax, dword [eax]
mov dword [ebp - 0x120], eax
cmp eax, dword [edi + 0x40]
jne 0x411cd0
mov ecx, dword [edi + 0x68]
mov eax, dword [ecx + 4]
lea ebx, [edi + 0x68]
xor esi, esi
test byte [eax + ebx + 0xc], 6
jne 0x411db6
mov eax, dword [eax + ebx + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x411db6
mov esi, 4
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
add ecx, ebx
test esi, esi
je 0x411dd6
or esi, dword [ecx + 0xc]
cmp dword [ecx + 0x38], 0
jne 0x411dcd
or esi, 4
mov eax, esi
push 0
call fcn.00401b10
lea ebx, [edi + 0x40]
call fcn.0040be30
xor edx, edx
push edx
lea esi, [edi + 0x120]
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], dx
call fcn.00403a30
mov eax, dword [ebp - 0x50]
xor bl, bl
cmp dword [ebp - 0x3c], 8
jae 0x411e13
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x411e3d
test al, 0x10
je 0x411e31
mov dword [0x46ad7c], 0
mov bl, 1
jmp 0x411e48
mov dword [0x46ad7c], 0xffffffff
jmp 0x411e48
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x46ad7c], eax
cmp dword [ebp - 0x3c], 8
jb 0x411e5a
mov eax, dword [ebp - 0x50]
push eax
call fcn.00426e9f
add esp, 4
test bl, bl
je 0x41211b
cmp dword [edi + 0x1e8], 0x1f4
jl 0x411e9e
lea ebx, [edi + 0x140]
lea eax, [ebx + 4]
call fcn.00403cc0
test eax, eax
jne 0x411e9e
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + ebx + 0xc]
add ecx, ebx
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x411e97
or eax, 4
push 0
call fcn.00401b10
cmp dword [edi + 0x198], 0
jne 0x411fdc
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x120], esp
xor ebx, ebx
push ebx
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push esi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00403a30
mov ecx, edi
call fcn.00412280
lea eax, [ebp - 0xdc]
mov dword [edi + 0x1e8], ebx
push esi
lea ebx, [edi + 4]
push eax
call fcn.00412e70
push eax
mov eax, 0x45de4c
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xe
call fcn.0040f880
add esp, 0xc
mov ecx, eax
mov eax, 0x46c01c
lea ebx, [ebp - 0x50]
mov byte [ebp - 4], 0xf
call fcn.00413010
mov esi, 8
cmp dword [ebp - 0xac], esi
jb 0x411f35
mov ecx, dword [ebp - 0xc0]
push ecx
call fcn.00426e9f
add esp, 4
mov ebx, 7
xor edx, edx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xc0], dx
cmp dword [ebp - 0xc8], esi
jb 0x411f6a
mov eax, dword [ebp - 0xdc]
push eax
call fcn.00426e9f
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0x13
mov word [ebp - 0xdc], cx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xcc], 0
cmp dword [ebp - 0x3c], esi
jae 0x411f92
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x140]
call fcn.00412d30
mov dword [ebp - 4], 0x12
jmp 0x411fb9
mov byte [ebp - 4], 5
cmp dword [ebp - 0x3c], 8
jb 0x411fcf
mov edx, dword [ebp - 0x50]
push edx
call fcn.00426e9f
add esp, 4
cmp dword [edi + 0x198], 0
je 0x41211b
mov eax, dword [edi + 0x114]
mov ecx, dword [eax]
lea ebx, [edi + 0x114]
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], ecx
cmp ecx, eax
je 0x4120c7
mov edi, edi
mov eax, dword [ebp - 0x120]
xor ebx, ebx
add eax, 8
xor ecx, ecx
push ebx
mov word [ebp - 0x50], cx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], ebx
call fcn.00403a30
lea edx, [ebp - 0x50]
push edx
lea eax, [edi + 0x140]
push eax
mov byte [ebp - 4], 0x15
call fcn.00413050
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00412aa0
mov eax, dword [esi]
mov eax, dword [eax + 4]
test byte [eax + esi + 0xc], 6
jne 0x41206d
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x41206d
mov ebx, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test ebx, ebx
je 0x41208d
mov eax, dword [ecx + 0xc]
or eax, ebx
cmp dword [ecx + 0x38], 0
jne 0x412086
or eax, 4
push 0
call fcn.00401b10
inc dword [edi + 0x1e8]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x3c], 8
jb 0x4120a9
mov edx, dword [ebp - 0x50]
push edx
call fcn.00426e9f
add esp, 4
mov eax, dword [ebp - 0x120]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x120], eax
cmp eax, dword [ecx]
jne 0x412000
mov ebx, ecx
mov edx, dword [edi + 0x140]
mov eax, dword [edx + 4]
add edi, 0x140
xor esi, esi
test byte [eax + edi + 0xc], 6
jne 0x4120f6
mov eax, dword [eax + edi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x4120f6
mov esi, 4
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
test esi, esi
je 0x412116
mov eax, dword [ecx + 0xc]
or eax, esi
cmp dword [ecx + 0x38], 0
jne 0x41210f
or eax, 4
push 0
call fcn.00401b10
call fcn.0040be30
mov ebx, 8
cmp dword [ebp - 0x74], ebx
jb 0x412134
mov edx, dword [ebp - 0x88]
push edx
call fcn.00426e9f
add esp, 4
xor esi, esi
xor eax, eax
mov edi, 7
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], esi
mov word [ebp - 0x88], ax
cmp dword [ebp - 0x90], ebx
jb 0x412161
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.00426e9f
add esp, 4
xor edx, edx
cmp dword [ebp - 0x58], 0x10
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x94], esi
mov word [ebp - 0xa4], dx
jb 0x412188
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00426e9f
add esp, 4
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], esi
mov byte [ebp - 0x6c], 0
cmp dword [ebp + 0x1c], ebx
jb 0x4121a7
mov ecx, dword [ebp + 8]
push ecx
call fcn.00426e9f
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042575d
mov esp, ebp
pop ebp
ret 0x1c