Function at 0x100b1287
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b3e06
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
call fcn.1002fe4d
movzx eax, al
test eax, eax
jne 0x100b1668
lea ecx, [ebp - 0x18]
call fcn.100107ef
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.100107ef
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.1002fe4d
movzx eax, al
test eax, eax
je 0x100b1316
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.10003e6e
lea ecx, [ebp - 0x14]
call fcn.10010f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100b1316
lea ecx, [ebp - 0x14]
call fcn.10004a7c
lea ecx, [ebp - 0x14]
call fcn.1002fe4d
movzx eax, al
test eax, eax
je 0x100b1454
cmp dword [ebp + 0xc], 0
jne 0x100b1454
and word [ebp - 0x22c], 0
push 0x20a
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.10071bb0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x18]
call fcn.10003e87
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.10003eb9
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0xffffffff
je 0x100b13d7
mov eax, dword [ebp - 0x230]
inc eax
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x18]
call fcn.10003efd
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x250]
lea ecx, [ebp - 0x18]
call fcn.10003e6e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.10003e5d
lea ecx, [ebp - 0x18]
call fcn.1002fe4d
movzx eax, al
test eax, eax
jne 0x100b1454
lea eax, [ebp - 0x18]
push eax
call fcn.100b10c7
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.10003f6d
add esp, 0xc
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x258]
lea ecx, [ebp - 0x14]
call fcn.10003e6e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.10003e5d
lea ecx, [ebp - 0x14]
call fcn.10010f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100b1454
lea ecx, [ebp - 0x14]
call fcn.10004a7c
lea ecx, [ebp - 0x14]
call fcn.1002fe4d
movzx eax, al
test eax, eax
je 0x100b152c
lea ecx, [ebp - 0x18]
call fcn.10004a7c
lea eax, [ebp - 0x23c]
push eax
call fcn.100b11c3
pop ecx
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x260]
lea ecx, [ebp - 0x18]
call fcn.10003e6e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x23c]
call fcn.10003e5d
lea ecx, [ebp - 0x18]
call fcn.1002fe4d
movzx eax, al
test eax, eax
jne 0x100b152c
lea eax, [ebp - 0x18]
push eax
call fcn.100b10c7
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.10003f6d
add esp, 0xc
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 5
push dword [ebp - 0x268]
lea ecx, [ebp - 0x14]
call fcn.10003e6e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x240]
call fcn.10003e5d
lea ecx, [ebp - 0x14]
call fcn.10010f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100b152c
lea ecx, [ebp - 0x14]
call fcn.10004a7c
lea ecx, [ebp - 0x14]
call fcn.1002fe4d
movzx eax, al
test eax, eax
je 0x100b1604
lea ecx, [ebp - 0x18]
call fcn.10004a7c
lea eax, [ebp - 0x244]
push eax
call fcn.100b10ff
pop ecx
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 6
push dword [ebp - 0x270]
lea ecx, [ebp - 0x18]
call fcn.10003e6e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call fcn.10003e5d
lea ecx, [ebp - 0x18]
call fcn.1002fe4d
movzx eax, al
test eax, eax
jne 0x100b1604
lea eax, [ebp - 0x18]
push eax
call fcn.100b10c7
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10003f6d
add esp, 0xc
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 7
push dword [ebp - 0x278]
lea ecx, [ebp - 0x14]
call fcn.10003e6e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.10003e5d
lea ecx, [ebp - 0x14]
call fcn.10010f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100b1604
lea ecx, [ebp - 0x14]
call fcn.10004a7c
lea ecx, [ebp - 0x14]
call fcn.1002fe4d
movzx eax, al
test eax, eax
jne 0x100b1638
lea ecx, [ebp - 0x14]
call fcn.10010f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100b1638
lea ecx, [ebp - 0x14]
call fcn.10010f80
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100b1650
mov ecx, dword [ebp + 8]
call fcn.10010f80
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10003e5d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10003e5d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1006ef11
leave
ret