Function at 0x10045d50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010947f
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10137920]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebx], 0x101275b8
mov ecx, 7
xor eax, eax
xor edx, edx
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x14], eax
mov dword [ebp - 0x50], ebx
mov word [ebx + 4], dx
mov dword [ebp - 4], eax
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x30], eax
mov word [ebx + 0x20], dx
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x4c], eax
mov word [ebx + 0x3c], dx
mov dword [ebx + 0x6c], ecx
mov dword [ebx + 0x68], eax
mov word [ebx + 0x58], dx
mov dword [ebx + 0x88], ecx
mov dword [ebx + 0x84], eax
mov word [ebx + 0x74], ax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.100548b0
push eax
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 5
call fcn.10009ca0
mov edi, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], edi
jb 0x10045dfa
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10065453
add esp, 4
lea esi, [ebp - 0x2c]
call fcn.10054880
push eax
lea ecx, [ebx + 0x3c]
mov byte [ebp - 4], 6
call fcn.10009ca0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], edi
jb 0x10045e24
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10065453
add esp, 4
lea esi, [ebp - 0x2c]
call fcn.100547e0
push eax
lea ecx, [ebx + 0x58]
mov byte [ebp - 4], 7
call fcn.10009ca0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], edi
jb 0x10045e4e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10065453
add esp, 4
push 7
push str.1.0.0.2
lea ecx, [ebx + 0x74]
call fcn.1000abb0
lea edi, [ebp - 0x2c]
call fcn.100464e0
push eax
lea ecx, [ebx + 4]
mov byte [ebp - 4], 8
call fcn.10009ca0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 8
jb 0x10045e88
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10065453
add esp, 4
lea esi, [ebp - 0x48]
call fcn.10054780
mov ecx, eax
lea eax, [ebx + 4]
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.100103b0
cmp dword [eax + 0x10], 0
mov esi, 8
jne 0x10045eb2
mov byte [ebp - 0x49], 0
jmp 0x10045ec6
cmp dword [eax + 0x14], esi
jb 0x10045eb9
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne byte [ebp - 0x49]
cmp dword [ebp - 0x18], esi
jb 0x10045ed7
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x10045f00
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.10065453
add esp, 4
cmp byte [ebp - 0x49], 0
lea esi, [ebp - 0x48]
je 0x10045f2b
call fcn.10054780
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov byte [ebp - 4], 0xa
call fcn.1000a320
cmp dword [ebp - 0x34], 8
jb 0x10045f53
mov edx, dword [ebp - 0x48]
push edx
jmp 0x10045f4b
call fcn.100547b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov byte [ebp - 4], 0xb
call fcn.1000a320
cmp dword [ebp - 0x34], 8
jb 0x10045f53
mov eax, dword [ebp - 0x48]
push eax
call fcn.10065453
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006656c
mov esp, ebp
pop ebp
ret