Function at 0x100b9a10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010b930
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1014b520]
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 edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 0x30], ebx
call fcn.100b9f00
mov eax, dword [edi]
mov esi, dword [ebp - 0x2c]
cmp esi, eax
je 0x100b9a68
lea eax, [esi + 0x10]
mov ecx, edi
push eax
push ebx
call fcn.100b9890
test al, al
mov eax, dword [edi]
je 0x100b9a6a
mov esi, eax
cmp esi, eax
je 0x100b9a76
mov eax, dword [esi + 0x28]
jmp 0x100b9c0a
lea eax, [edi + 0x1c]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.10012710
lea eax, [edi + 0x7c]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x4c]
call fcn.10012680
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
mov byte [ebp - 4], 1
test esi, esi
je 0x100b9bce
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100b9bce
cmp dword [ebp - 0x3c], ebx
jne 0x100b9acb
lea ecx, [ebp - 0x4c]
call fcn.10005fd0
jmp 0x100b9bfe
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x100b9af1
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100b9af1
call eax
mov ebx, eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.10005fd0
test ebx, ebx
je 0x100b9bfe
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
test eax, eax
je 0x100b9bfe
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.100b9f00
mov esi, dword [ebp - 0x2c]
cmp esi, dword [edi]
je 0x100b9b3a
lea eax, [esi + 0x10]
mov ecx, edi
push eax
push dword [ebp - 0x30]
call fcn.100b9890
test al, al
je 0x100b9b68
mov eax, dword [ebp - 0x30]
mov ecx, edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x31]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x10123f40
call fcn.100b91d0
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.100b93c0
mov esi, dword [ebp - 0x2c]
lea eax, [edi + 8]
mov dword [esi + 0x28], ebx
mov edi, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
push edi
push ecx
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.100b9f00
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
cmp esi, dword [ecx]
je 0x100b9b9b
lea eax, [esi + 0x10]
push eax
push edi
call fcn.100b9890
test al, al
je 0x100b9bc5
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x31]
mov dword [ebp - 0x30], edi
push eax
lea eax, [ebp - 0x30]
push eax
push 0x10123f40
call fcn.100b91d0
mov ecx, dword [ebp - 0x2c]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.100b93c0
mov esi, dword [ebp - 0x30]
mov dword [esi + 0x28], 0
jmp 0x100b9c00
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x100b9bfe
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b9bf4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b9c28
push edx
push ecx
call fcn.100bacf4
add esp, 8
xor ebx, ebx
lea ecx, [ebp - 0x28]
call fcn.10006020
mov eax, ebx
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.100bb073
mov esp, ebp
pop ebp
ret 4
call fcn.100da4dc
int3