Function at 0x1000b410
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100199ac
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x100210c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb8], ecx
mov ecx, dword [ebp - 0xb8]
add ecx, 8
call fcn.10003cf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000b45e
xor eax, eax
jmp 0x1000b814
push 0x5c
mov ecx, dword [ebp - 0xb8]
add ecx, 8
call fcn.100039f0
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xb8]
add ecx, 8
call fcn.10003ab0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10003cf0
push eax
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov ecx, dword [ebp - 0xb8]
add ecx, 8
call fcn.10003cf0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1000b4d3
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10004010
mov eax, dword [ebp - 0x1c]
jmp 0x1000b814
mov ecx, dword [ebp - 0xb8]
add ecx, 0x20
call fcn.1000c010
push eax
push 0x1001b798
push 1
push 0
push 0x1001b7c8
mov ecx, dword [ebp - 0xb8]
add ecx, 8
call fcn.10003cf0
push eax
mov ecx, dword [ebp - 0xb8]
call fcn.1000bd10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x1000b531
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10004010
mov eax, dword [ebp - 0x20]
jmp 0x1000b814
push 0x1001b696
lea ecx, [ebp - 0x44]
call fcn.10001310
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x30], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x10]
call fcn.10003cf0
push eax
lea ecx, [ebp - 0x64]
call fcn.100012c0
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x50], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x4c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp - 0xb8]
add ecx, 0x20
call fcn.1000c020
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xb8]
add eax, 0x10
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x34]
mov dword [ecx], edx
mov eax, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x54]
mov dword [ecx], edx
mov eax, dword [ebp - 0x50]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x4c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x48]
mov dword [ecx + 0xc], eax
push str.SetProDir
lea ecx, [ebp - 0x68]
call fcn.1000b9a0
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xd4]
call fcn.1000c020
push eax
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
call edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.100012a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.100012b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.100012b0
push 0x1001b697
lea ecx, [ebp - 0x8c]
call fcn.10001310
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx]
mov dword [ebp - 0x7c], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x78], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x74], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x70], eax
push 0x1001b6aa
lea ecx, [ebp - 0xac]
call fcn.10001310
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xe4]
mov eax, dword [edx]
mov dword [ebp - 0x9c], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x98], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x94], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebp - 0xb8]
add ecx, 0x20
call fcn.1000c020
mov dword [ebp - 0xe8], eax
mov edx, dword [ebp - 0xb8]
add edx, 0x10
push edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x78]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x74]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x70]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x9c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x98]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x94]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x90]
mov dword [eax + 0xc], edx
push str.Init
lea ecx, [ebp - 0xb0]
call fcn.1000b9a0
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xf0]
call fcn.1000c020
push eax
mov ecx, dword [ebp - 0xe8]
push ecx
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1c]
call ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb0]
call fcn.100012a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xac]
call fcn.100012b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.100012b0
mov edx, dword [ebp - 0xb8]
cmp dword [edx + 4], 0
je 0x1000b7f5
push 0x1001b7b8
mov ecx, dword [ebp - 0xb8]
call fcn.1000be30
mov dword [ebp - 0xb4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10004010
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret