Function at 0x1000b0f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016fb33
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x101d9154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x68], ebx
mov eax, dword [ebx]
or eax, dword [ebx + 4]
push 0
jne 0x1000b15c
call fcn.100874c6
mov ecx, dword [ebx + 8]
add esp, 4
shl ecx, 4
sub ecx, dword [ebx + 8]
shl ecx, 2
mov dword [ebx], eax
mov dword [ebx + 4], edx
test ecx, ecx
jle 0x1000b169
push ecx
push 0
call fcn.10067a93
cdq
add esp, 8
add dword [ebx], eax
adc dword [ebx + 4], edx
jmp 0x1000b169
call fcn.100874c6
add esp, 4
mov dword [ebx], eax
mov dword [ebx + 4], edx
call fcn.10064d39
test al, al
je 0x1000b190
push edi
push edi
push ebp
pop edi
push esi
pop ebx
pop ecx
push ecx
push edi
push esp
pop ecx
pop esi
pop esp
push esi
pop esi
push ecx
push esi
pop edi
pop esi
pop ebp
push edx
push eax
pop edx
pop edx
push edi
push edx
push edi
push esi
pop ebp
pop esi
call fcn.10064f61
test al, al
je 0x1000b1ad
push esp
pop esp
push esp
pop edx
push edx
pop edi
pop edi
pop eax
push ebx
push ecx
pop ecx
push ebx
push ebx
pop edi
pop ebp
pop ebx
push ecx
push edi
pop ebp
push edi
call fcn.10064ed7
test al, al
je 0x1000b1d5
pop esi
pop esp
pop edi
push edx
push ecx
push edi
push edi
pop ecx
push eax
push ebx
push ebp
push eax
push eax
pop ebx
push esp
pop ecx
push esp
pop ecx
pop ebx
push esp
pop edx
pop edx
push ecx
pop edi
pop edi
push ebp
pop esi
pop esi
push ebx
pop eax
pop esi
mov ebx, dword [ebp - 0x68]
lea ecx, [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x2c], 0xf
push 0xffffffffffffffff
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
lea eax, [ebx + 0x110]
push 0
push eax
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.1000ba10
cmp dword [ebx + 0x128], 0
mov dword [ebp - 4], 0
je 0x1000b30a
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
lea ecx, [ebp - 0x40]
mov eax, esp
push ecx
push eax
call fcn.10069070
mov ecx, dword [ebx + 0x128]
add esp, 8
push 0
call fcn.100088a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000b2dd
lea eax, [ebp - 0x5c]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x1000b28d
mov eax, dword [ecx]
jmp 0x1000b28f
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x28]
push edx
push eax
call fcn.10006710
call fcn.100664d2
mov dword [ebp - 0x60], eax
add esp, 0x1c
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x1000b2c4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10006930
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jmp 0x1000b419
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x1000b2f6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10006930
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x30], 0
je 0x1000b419
push 0x1869f
push 0x2710
call fcn.10067a93
add esp, 8
lea ecx, [ebp - 0x40]
mov esi, eax
push 1
push 0x101747cc
call fcn.1000b8e0
push 6
push str.1cdfc7
lea ecx, [ebp - 0x40]
call fcn.1000b8e0
push 1
push 0x101747d8
lea ecx, [ebp - 0x40]
call fcn.1000b8e0
mov eax, esi
cdq
push edx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10066ee3
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.1000b7e0
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x1000b390
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.1000a150
lea ecx, [ebp - 0xa4]
call fcn.100650f0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.10065559
lea ecx, [ebp - 0xa4]
call fcn.10065969
mov esi, eax
mov ecx, 1
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmove eax, ecx
mov dword [ebp - 0x5c], eax
inc eax
push eax
call fcn.10062f2d
mov ecx, dword [ebp - 0x5c]
mov edi, eax
inc ecx
mov dword [ebp - 0x60], edi
push ecx
push 0
push edi
call fcn.10080190
mov ecx, dword [esi + 4]
add esp, 0x10
xor edx, edx
sub ecx, dword [esi]
je 0x1000b40a
mov eax, dword [esi]
mov al, byte [edx + eax]
mov byte [edx + edi], al
inc edx
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp edx, eax
jb 0x1000b3f8
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.10065166
call fcn.10064a87
test al, al
je 0x1000b440
push ebp
pop ebp
pop edi
push edx
pop ebx
push esi
pop ecx
pop edi
pop edi
pop esp
pop eax
push ecx
push ecx
pop esi
push edi
push edx
push esi
pop esp
push eax
pop ebp
push edi
push esi
pop ecx
pop ebp
pop eax
push esp
pop ecx
pop edi
pop eax
pop esp
call fcn.100649b8
test al, al
je 0x1000b45d
pop esi
pop ebx
pop ecx
pop edx
pop edx
push eax
pop ebp
pop ebp
push esi
push ebp
push ebx
pop edx
push edx
push esp
pop edx
push edi
pop ebx
pop edx
pop ecx
push ecx
call fcn.10065033
test al, al
je 0x1000b482
push eax
pop edi
pop edi
pop ecx
push edx
pop edx
push eax
push esi
pop esi
pop eax
push esi
push edx
push edi
push ebp
pop esi
push esi
pop ecx
push ebp
pop esp
push edx
push ecx
pop edi
pop esp
pop edi
pop ebp
push ebp
push ecx
push esi
mov ebx, dword [ebp - 0x60]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
push dword [ebp - 0x5c]
mov dword [ebp - 0x70], 0
push ebx
call fcn.10069b0c
mov eax, dword [ebp - 0x64]
add esp, 0x10
test eax, eax
jne 0x1000b4ca
push 0x8d
call fcn.1006a41b
add esp, 4
test ebx, ebx
je 0x1000b4e6
push ebx
call fcn.10062f36
add esp, 4
jmp 0x1000b4e6
mov esi, dword [ebp - 0x68]
mov ecx, esi
push eax
call fcn.1000ad10
test ebx, ebx
je 0x1000b4e2
push ebx
call fcn.10062f36
add esp, 4
mov byte [esi + 0xc], 1
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1000b530
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x1000b527
test cl, 0x1f
je 0x1000b503
call fcn.100830b2
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000b50f
call fcn.100830b2
sub ecx, eax
cmp ecx, 4
jae 0x1000b51b
call fcn.100830b2
cmp ecx, 0x23
jbe 0x1000b525
call fcn.100830b2
mov ecx, eax
push ecx
call fcn.10062ba1
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 - 0x10]
xor ecx, ebp
call fcn.10062ee4
mov esp, ebp
pop ebp
ret