Function at 0x10b1c04
Capabilities:
Check if file exists

Disassembly:
push 0x464
mov eax, 0x10d3a22
call fcn.0109883f
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
push 0x103c2cc
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x440], 1
call fcn.010bce33
lea ecx, [ebp - 0x438]
call fcn.010b5878
lea ecx, [ebp - 0x458]
mov dword [ebp - 4], edi
call fcn.010cba9e
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 1
call fcn.0109f5f5
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x454], edi
mov dword [ebp - 0x444], edi
mov dword [ebp - 0x448], edi
call sub.msvcrt.dll_memset
add esp, 0xc
mov ebx, 0x103c0a8
cmp esi, edi
jne 0x10b1cf3
push 0x57
pop ecx
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x43c], ecx
mov eax, dword [0x10e308c]
mov esi, 0x10e308c
cmp eax, esi
je 0x10b233a
test byte [eax + 0x1c], 8
je 0x10b233a
push 0x103c2bc
push ecx
push ebx
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acaf3
jmp 0x10b233a
push edi
call fcn.010bff89
push 0x103c280
call fcn.010bcef3
test eax, eax
jne 0x10b1d49
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x440], eax
call edi
mov dword [ebp - 0x43c], eax
mov eax, dword [0x10e308c]
mov esi, 0x10e308c
cmp eax, esi
je 0x10b233a
test byte [eax + 0x1c], 8
je 0x10b233a
push 0x103ae48
call edi
push eax
push ebx
push 0x12
mov eax, dword [0x10e308c]
jmp 0x10b1ce3
lea eax, [ebp - 0x448]
push eax
call fcn.010bd888
test eax, eax
jne 0x10b1d96
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x440], eax
call edi
mov dword [ebp - 0x43c], eax
mov eax, dword [0x10e308c]
mov esi, 0x10e308c
cmp eax, esi
je 0x10b233a
test byte [eax + 0x1c], 8
je 0x10b233a
push 0x103ae48
call edi
push eax
push ebx
push 0x13
jmp 0x10b1d42
mov ecx, dword [ebp - 0x448]
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, di
jne 0x10b1da1
sub eax, esi
sar eax, 1
cmp eax, 2
ja 0x10b1ded
push 0xb
pop ecx
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x43c], ecx
mov eax, dword [0x10e308c]
mov esi, 0x10e308c
cmp eax, esi
je 0x10b233a
test byte [eax + 0x1c], 8
je 0x10b233a
push 0x103bf30
push ecx
push ebx
push 0x14
jmp 0x10b1ce3
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, di
jne 0x10b1df2
sub eax, esi
sar eax, 1
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x10b1e28
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, di
jne 0x10b1e0d
sub eax, esi
sar eax, 1
xor edx, edx
mov word [ecx + eax*2 - 2], dx
mov ecx, dword [ebp - 0x448]
push 0x3f
pop eax
mov word [ecx + 2], ax
mov eax, dword [0x10e308c]
mov esi, 0x10e308c
cmp eax, esi
je 0x10b1e57
test byte [eax + 0x1c], 2
je 0x10b1e57
push dword [ebp - 0x448]
push ebx
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acbe8
push dword [ebp - 0x448]
push dword [ebp - 0x44c]
call fcn.010bd5fd
cmp eax, edi
jne 0x10b1ea8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x440], 0
call edi
mov dword [ebp - 0x43c], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b233a
test byte [eax + 0x1c], 8
je 0x10b233a
push 0x103c238
call edi
push eax
push ebx
push 0x16
jmp 0x10b1d42
lea eax, [ebp - 0x444]
push eax
call fcn.010be1d3
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10b1f23
call edi
mov dword [ebp - 0x450], eax
call fcn.010b5aae
cmp eax, 2
je 0x10b2042
and dword [ebp - 0x440], 0
mov edi, 0x80042416
mov ecx, edi
call fcn.010bcebf
mov dword [ebp - 0x43c], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b233a
test byte [eax + 0x1c], 8
je 0x10b233a
push dword [ebp - 0x450]
push 0x103c20c
push edi
push ebx
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010b0c75
jmp 0x10b233a
mov ecx, dword [ebp - 0x444]
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0x450], edx
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x10b1f34
sub eax, dword [ebp - 0x450]
sar eax, 1
cmp eax, 2
ja 0x10b1f80
and dword [ebp - 0x440], 0
push 0xb
pop ecx
mov dword [ebp - 0x43c], ecx
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b233a
test byte [eax + 0x1c], 8
je 0x10b233a
push 0x103bf30
push ecx
push ebx
push 0x18
jmp 0x10b1ce3
mov eax, ecx
lea ebx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x10b1f85
sub eax, ebx
sar eax, 1
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x10b1fbb
mov eax, ecx
lea ebx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x10b1fa0
sub eax, ebx
sar eax, 1
xor edx, edx
mov word [ecx + eax*2 - 2], dx
mov ecx, dword [ebp - 0x444]
push 0x3f
pop eax
mov word [ecx + 2], ax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b1fe9
test byte [eax + 0x1c], 2
je 0x10b1fe9
push dword [ebp - 0x444]
push 0x103c0a8
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acbe8
push dword [ebp - 0x444]
push dword [ebp - 0x44c]
call fcn.010bd5fd
test eax, eax
jne 0x10b203d
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x440], eax
call edi
mov dword [ebp - 0x43c], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b233a
test byte [eax + 0x1c], 8
je 0x10b233a
push 0x103c1c8
call edi
push eax
push 0x103c0a8
push 0x1a
jmp 0x10b1d42
mov ebx, 0x103c0a8
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.010bfb75
mov dword [ebp - 0x450], eax
test eax, eax
je 0x10b214f
cmp word [ebp - 0x218], 0
je 0x10b214f
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10b2078
sub eax, edx
sar eax, 1
cmp eax, 2
ja 0x10b20c0
and dword [ebp - 0x440], 0
push 0xb
pop ecx
mov dword [ebp - 0x43c], ecx
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b233a
test byte [eax + 0x1c], 8
je 0x10b233a
push 0x103bf30
push ecx
push ebx
push 0x1b
jmp 0x10b1ce3
lea eax, [ebp + eax*2 - 0x21a]
cmp word [eax], 0x5c
jne 0x10b20d2
xor ecx, ecx
mov word [eax], cx
push 0x3f
pop eax
mov word [ebp - 0x216], ax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b2100
test byte [eax + 0x1c], 2
je 0x10b2100
lea ecx, [ebp - 0x218]
push ecx
push ebx
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acbe8
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x44c]
call fcn.010bd5fd
test eax, eax
jne 0x10b21b8
and dword [ebp - 0x440], eax
call edi
mov dword [ebp - 0x43c], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b233a
test byte [eax + 0x1c], 8
je 0x10b233a
push 0x103c180
call edi
push eax
push ebx
push 0x1d
jmp 0x10b1d42
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b2174
test byte [eax + 0x1c], 2
je 0x10b2174
call edi
push eax
mov eax, dword [0x10e308c]
push ebx
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010b17ca
cmp dword [ebp - 0x450], 0
jne 0x10b21b8
call edi
push 0xe
pop ecx
cmp eax, ecx
jne 0x10b21b8
and dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], ecx
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b233a
test byte [eax + 0x1c], 8
je 0x10b233a
push 0x103c16c
push ecx
push ebx
push 0x1f
jmp 0x10b1ce3
push dword [ebp + 0x14]
lea ecx, [ebp - 0x438]
push dword [ebp - 0x45c]
push dword [ebp - 0x44c]
push 1
call fcn.010bc8d6
test eax, eax
jne 0x10b220d
and dword [ebp - 0x440], eax
call edi
mov dword [ebp - 0x43c], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b233a
test byte [eax + 0x1c], 8
je 0x10b233a
push 0x103ae48
call edi
push eax
push ebx
push 0x20
jmp 0x10b1d42
lea ecx, [ebp - 0x458]
call fcn.010cbbe4
test eax, eax
jne 0x10b2251
and dword [ebp - 0x440], eax
call edi
mov dword [ebp - 0x43c], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b233a
test byte [eax + 0x1c], 8
je 0x10b233a
push 0x103ae48
call edi
push eax
push ebx
push 0x21
jmp 0x10b1d42
push dword [ebp + 0x14]
mov eax, dword [ebp - 0x44c]
push dword [ebp - 0x45c]
lea ecx, [ebp - 0x470]
push dword [eax]
lea eax, [ebp - 0x438]
push eax
call fcn.010b0dba
test eax, eax
jne 0x10b22ad
and dword [ebp - 0x440], eax
call edi
mov dword [ebp - 0x43c], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b233a
test byte [eax + 0x1c], 8
je 0x10b233a
push 0x103c100
call edi
push eax
push ebx
push 0x22
jmp 0x10b1d42
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.010b190f
test eax, eax
jne 0x10b22ff
and dword [ebp - 0x440], eax
call edi
mov dword [ebp - 0x43c], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b233a
test byte [eax + 0x1c], 8
je 0x10b233a
push 0x103ae48
call edi
push eax
push ebx
push 0x23
jmp 0x10b1d42
call fcn.010bf136
test eax, eax
jne 0x10b2325
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b2325
test byte [eax + 0x1c], 4
je 0x10b2325
push ebx
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acacd
mov eax, dword [ebp - 0x454]
mov ecx, dword [ebp - 0x460]
and dword [ebp - 0x454], 0
mov dword [ecx], eax
push dword [ebp - 0x454]
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
call edi
push dword [ebp - 0x444]
call edi
push dword [ebp - 0x448]
xor ebx, ebx
mov dword [ebp - 0x444], ebx
call edi
push dword [ebp - 0x43c]
mov dword [ebp - 0x448], ebx
push ebx
call fcn.010c009d
test eax, eax
jne 0x10b239d
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b239d
test byte [eax + 0x1c], 8
je 0x10b239d
push dword [ebp - 0x43c]
push 0x103c0a8
push 0x25
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010b17ca
push 0x103c2cc
call fcn.010bce68
push dword [ebp - 0x43c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 1
call fcn.010b0d8a
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 0
call fcn.010cbaa9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.010b58ad
mov eax, dword [ebp - 0x440]
call fcn.010988d1
ret 0x10