Function at 0x10b1e98
Capabilities:
Check if file exists

Disassembly:
push 0x464
mov eax, 0x10d3d2d
call fcn.01098a33
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
push 0x103c3f4
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x440], 1
call fcn.010bd0c6
lea ecx, [ebp - 0x438]
call fcn.010b5b0c
lea ecx, [ebp - 0x458]
mov dword [ebp - 4], edi
call fcn.010cbdd2
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 1
call fcn.0109f81b
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, 0x103c1d0
cmp esi, edi
jne 0x10b1f87
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 0x10b25ce
test byte [eax + 0x1c], 8
je 0x10b25ce
push 0x103c3e4
push ecx
push ebx
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
jmp 0x10b25ce
push edi
call fcn.010c0252
push 0x103c3a8
call fcn.010bd185
test eax, eax
jne 0x10b1fdd
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 0x10b25ce
test byte [eax + 0x1c], 8
je 0x10b25ce
push 0x103af70
call edi
push eax
push ebx
push 0x12
mov eax, dword [0x10e308c]
jmp 0x10b1f77
lea eax, [ebp - 0x448]
push eax
call fcn.010bdb51
test eax, eax
jne 0x10b202a
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 0x10b25ce
test byte [eax + 0x1c], 8
je 0x10b25ce
push 0x103af70
call edi
push eax
push ebx
push 0x13
jmp 0x10b1fd6
mov ecx, dword [ebp - 0x448]
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, di
jne 0x10b2035
sub eax, esi
sar eax, 1
cmp eax, 2
ja 0x10b2081
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 0x10b25ce
test byte [eax + 0x1c], 8
je 0x10b25ce
push 0x103c058
push ecx
push ebx
push 0x14
jmp 0x10b1f77
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, di
jne 0x10b2086
sub eax, esi
sar eax, 1
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x10b20bc
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, di
jne 0x10b20a1
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 0x10b20eb
test byte [eax + 0x1c], 2
je 0x10b20eb
push dword [ebp - 0x448]
push ebx
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010ace2a
push dword [ebp - 0x448]
push dword [ebp - 0x44c]
call fcn.010bd8c6
cmp eax, edi
jne 0x10b213c
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 0x10b25ce
test byte [eax + 0x1c], 8
je 0x10b25ce
push 0x103c360
call edi
push eax
push ebx
push 0x16
jmp 0x10b1fd6
lea eax, [ebp - 0x444]
push eax
call fcn.010be49f
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10b21b7
call edi
mov dword [ebp - 0x450], eax
call fcn.010b5d42
cmp eax, 2
je 0x10b22d6
and dword [ebp - 0x440], 0
mov edi, 0x80042416
mov ecx, edi
call fcn.010bd152
mov dword [ebp - 0x43c], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b25ce
test byte [eax + 0x1c], 8
je 0x10b25ce
push dword [ebp - 0x450]
push 0x103c334
push edi
push ebx
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010b1a52
jmp 0x10b25ce
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 0x10b21c8
sub eax, dword [ebp - 0x450]
sar eax, 1
cmp eax, 2
ja 0x10b2214
and dword [ebp - 0x440], 0
push 0xb
pop ecx
mov dword [ebp - 0x43c], ecx
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b25ce
test byte [eax + 0x1c], 8
je 0x10b25ce
push 0x103c058
push ecx
push ebx
push 0x18
jmp 0x10b1f77
mov eax, ecx
lea ebx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x10b2219
sub eax, ebx
sar eax, 1
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x10b224f
mov eax, ecx
lea ebx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x10b2234
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 0x10b227d
test byte [eax + 0x1c], 2
je 0x10b227d
push dword [ebp - 0x444]
push 0x103c1d0
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010ace2a
push dword [ebp - 0x444]
push dword [ebp - 0x44c]
call fcn.010bd8c6
test eax, eax
jne 0x10b22d1
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 0x10b25ce
test byte [eax + 0x1c], 8
je 0x10b25ce
push 0x103c2f0
call edi
push eax
push 0x103c1d0
push 0x1a
jmp 0x10b1fd6
mov ebx, 0x103c1d0
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.010bfe3e
mov dword [ebp - 0x450], eax
test eax, eax
je 0x10b23e3
cmp word [ebp - 0x218], 0
je 0x10b23e3
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10b230c
sub eax, edx
sar eax, 1
cmp eax, 2
ja 0x10b2354
and dword [ebp - 0x440], 0
push 0xb
pop ecx
mov dword [ebp - 0x43c], ecx
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b25ce
test byte [eax + 0x1c], 8
je 0x10b25ce
push 0x103c058
push ecx
push ebx
push 0x1b
jmp 0x10b1f77
lea eax, [ebp + eax*2 - 0x21a]
cmp word [eax], 0x5c
jne 0x10b2366
xor ecx, ecx
mov word [eax], cx
push 0x3f
pop eax
mov word [ebp - 0x216], ax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b2394
test byte [eax + 0x1c], 2
je 0x10b2394
lea ecx, [ebp - 0x218]
push ecx
push ebx
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010ace2a
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x44c]
call fcn.010bd8c6
test eax, eax
jne 0x10b244c
and dword [ebp - 0x440], eax
call edi
mov dword [ebp - 0x43c], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b25ce
test byte [eax + 0x1c], 8
je 0x10b25ce
push 0x103c2a8
call edi
push eax
push ebx
push 0x1d
jmp 0x10b1fd6
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b2408
test byte [eax + 0x1c], 2
je 0x10b2408
call edi
push eax
mov eax, dword [0x10e308c]
push ebx
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf0a
cmp dword [ebp - 0x450], 0
jne 0x10b244c
call edi
push 0xe
pop ecx
cmp eax, ecx
jne 0x10b244c
and dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], ecx
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b25ce
test byte [eax + 0x1c], 8
je 0x10b25ce
push 0x103c294
push ecx
push ebx
push 0x1f
jmp 0x10b1f77
push dword [ebp + 0x14]
lea ecx, [ebp - 0x438]
push dword [ebp - 0x45c]
push dword [ebp - 0x44c]
push 1
call fcn.010bcb69
test eax, eax
jne 0x10b24a1
and dword [ebp - 0x440], eax
call edi
mov dword [ebp - 0x43c], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b25ce
test byte [eax + 0x1c], 8
je 0x10b25ce
push 0x103af70
call edi
push eax
push ebx
push 0x20
jmp 0x10b1fd6
lea ecx, [ebp - 0x458]
call fcn.010cbf18
test eax, eax
jne 0x10b24e5
and dword [ebp - 0x440], eax
call edi
mov dword [ebp - 0x43c], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b25ce
test byte [eax + 0x1c], 8
je 0x10b25ce
push 0x103af70
call edi
push eax
push ebx
push 0x21
jmp 0x10b1fd6
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.010b1042
test eax, eax
jne 0x10b2541
and dword [ebp - 0x440], eax
call edi
mov dword [ebp - 0x43c], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b25ce
test byte [eax + 0x1c], 8
je 0x10b25ce
push 0x103c228
call edi
push eax
push ebx
push 0x22
jmp 0x10b1fd6
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.010b1ba4
test eax, eax
jne 0x10b2593
and dword [ebp - 0x440], eax
call edi
mov dword [ebp - 0x43c], eax
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b25ce
test byte [eax + 0x1c], 8
je 0x10b25ce
push 0x103af70
call edi
push eax
push ebx
push 0x23
jmp 0x10b1fd6
call fcn.010bf3ff
test eax, eax
jne 0x10b25b9
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b25b9
test byte [eax + 0x1c], 4
je 0x10b25b9
push ebx
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acd65
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.010c0366
test eax, eax
jne 0x10b2631
mov eax, dword [0x10e308c]
cmp eax, esi
je 0x10b2631
test byte [eax + 0x1c], 8
je 0x10b2631
push dword [ebp - 0x43c]
push 0x103c1d0
push 0x25
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf0a
push 0x103c3f4
call fcn.010bd0fb
push dword [ebp - 0x43c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 1
call fcn.010b1012
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 0
call fcn.010cbddd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.010b5b41
mov eax, dword [ebp - 0x440]
call fcn.01098ac5
ret 0x10