Function at 0x100b83fd
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push 0x684
mov eax, 0x100e8725
call fcn.10001af6
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x674], ebx
mov eax, dword [ebp + 8]
push 0x10126fcc
push ebx
mov dword [ebp - 0x678], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcspbrk]
pop ecx
pop ecx
test eax, eax
je 0x100b844c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push 2
pop edi
mov dword [eax], edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___doserrno]
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x100b875e
xor ecx, ecx
cmp word [ebx + 2], 0x3a
mov dword [ebp - 0x690], ecx
jne 0x100b8479
movzx eax, word [ebx]
test ax, ax
je 0x100b8469
cmp word [ebx + 4], cx
je 0x100b8431
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
movzx eax, ax
pop ecx
sub eax, 0x60
jmp 0x100b847f
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__getdrive]
mov dword [ebp - 0x68c], eax
lea eax, [ebp - 0x670]
push eax
push ebx
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100b8645
push edi
xor eax, eax
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
movzx ecx, word [ebp - 0x218]
lea eax, [ebp - 0x218]
add esp, 0x10
mov edx, eax
push 2
pop edi
test cx, cx
je 0x100b84e7
xor ebx, ebx
mov ecx, eax
mov edx, eax
add eax, edi
cmp word [eax], bx
jne 0x100b84d3
movzx ecx, word [ecx]
mov ebx, dword [ebp - 0x674]
push 0x5c
pop eax
cmp ax, cx
jne 0x100b84f4
xor eax, eax
mov word [edx], ax
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x67c], eax
cmp eax, 0xffffffff
jne 0x100b863f
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x67c], eax
xor eax, eax
push 0x10126fd4
push ebx
mov dword [ebp - 0x684], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcspbrk]
xor ebx, ebx
pop ecx
inc ebx
pop ecx
test eax, eax
je 0x100b85cd
push 0x104
push dword [ebp - 0x674]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wfullpath]
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x688], edx
test edx, edx
je 0x100b85cd
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x678], eax
mov ax, word [ecx]
add ecx, edi
cmp ax, word [ebp - 0x690]
jne 0x100b8576
sub ecx, dword [ebp - 0x678]
sar ecx, 1
cmp ecx, 3
je 0x100b85a8
mov ecx, edx
call fcn.100b8766
mov dword [ebp - 0x684], eax
test eax, eax
je 0x100b85cd
mov edx, dword [ebp - 0x688]
push edx
call dword [sym.imp.kernel32.dll_GetDriveTypeW]
cmp eax, ebx
ja 0x100b85f6
cmp dword [ebp - 0x684], 0
je 0x100b85cd
push dword [ebp - 0x688]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100b85f6
cmp dword [ebp - 0x67c], 5
jne 0x100b85eb
push dword [ebp - 0x674]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100b85eb
test al, 0x10
jne 0x100b85f9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
jmp 0x100b843a
push 0x10
pop eax
xor edx, edx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], edx
xor ecx, ecx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], edx
mov dword [ebp - 0x670], eax
mov dword [ebp - 0x654], edx
mov dword [ebp - 0x650], edx
mov word [ebp - 0x644], cx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], edx
jmp 0x100b8718
mov edi, dword [ebp - 0x67c]
xor eax, eax
xor ebx, ebx
mov dword [esi + 0x2c], eax
inc ebx
lea eax, [ebp - 0x65c]
mov dword [esi + 0x28], ebx
push eax
lea eax, [ebp - 0x680]
push eax
call sym.fpsrvutl.dll_Ordinal_902
mov ecx, dword [eax]
mov dword [esi + 0x48], ecx
mov ecx, dword [ebp - 0x678]
mov eax, dword [eax + 4]
mov dword [esi + 0x4c], eax
test ecx, ecx
je 0x100b8689
mov eax, dword [ebp - 0x65c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x658]
mov dword [ecx + 4], eax
xor eax, eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], eax
cmp dword [ebp - 0x664], eax
jne 0x100b86ac
cmp dword [ebp - 0x660], eax
jne 0x100b86ac
mov eax, dword [esi + 0x48]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x4c]
jmp 0x100b86c7
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x680]
push eax
call sym.fpsrvutl.dll_Ordinal_902
mov ecx, dword [eax]
mov dword [esi + 0x40], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x44], eax
xor eax, eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], eax
cmp dword [ebp - 0x66c], eax
jne 0x100b86ed
cmp dword [ebp - 0x668], eax
jne 0x100b86ed
mov eax, dword [esi + 0x48]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x4c]
jmp 0x100b8708
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x680]
push eax
call sym.fpsrvutl.dll_Ordinal_902
mov ecx, dword [eax]
mov dword [esi + 0x38], ecx
mov eax, dword [eax + 4]
push edi
mov dword [esi + 0x3c], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [ebp - 0x670]
mov edx, dword [ebp - 0x674]
mov ecx, eax
call fcn.100b8820
mov word [esi + 0xe], ax
mov eax, dword [ebp - 0x650]
mov dword [esi + 0x1c], eax
xor eax, eax
mov word [esi + 0xc], ax
mov dword [esi + 0x12], eax
mov eax, dword [ebp - 0x68c]
dec eax
mov word [esi + 0x10], bx
mov dword [esi + 8], eax
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x670]
shr eax, 1
xor eax, dword [esi + 0x58]
and eax, ebx
xor dword [esi + 0x58], eax
xor eax, eax
call fcn.10001b2d
ret 4