Function at 0x100491c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c36f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.1009ee30
add esp, 0xc
lea edx, [ebp - 0x230]
push edx
call fcn.10047e00
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.10021b60
movzx eax, al
test eax, eax
jne 0x10049250
push 0x104
lea ecx, [ebp - 0x230]
call fcn.10049c40
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
call fcn.1003ff40
add eax, 0x13c
push eax
lea edx, [ebp - 0x248]
push edx
call fcn.1002f210
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.10049c40
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x100492b1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.1000c290
jmp 0x10049553
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100492e8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.1000c290
jmp 0x10049553
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x278]
call fcn.10007e50
mov byte [ebp - 4], 2
push 1
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.10047460
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x278]
call fcn.1000c290
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x2a8]
call fcn.100482c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x260]
call fcn.10021b60
movzx edx, al
test edx, edx
je 0x1004938d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x260]
call fcn.10005f30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
call fcn.100474e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.1000c290
jmp 0x10049553
lea ecx, [ebp - 0x2f0]
call fcn.1004a660
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2e4]
call fcn.1004a660
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x2f0]
push ecx
lea edx, [ebp - 0x260]
push edx
call fcn.10048cd0
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x10049431
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2e4]
call fcn.10017280
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2f0]
call fcn.10017280
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x260]
call fcn.10005f30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
call fcn.100474e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.1000c290
jmp 0x10049553
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x2c8], ecx
lea edx, [ebp - 0x2c4]
push edx
mov ecx, dword [ebp - 0x2c8]
call fcn.1006b5d0
lea eax, [ebp - 0x2cc]
push eax
mov ecx, dword [ebp - 0x2c8]
call fcn.10021d00
jmp 0x1004946e
lea ecx, [ebp - 0x2c4]
call fcn.10018980
lea ecx, [ebp - 0x2cc]
push ecx
lea ecx, [ebp - 0x2c4]
call fcn.10041280
movzx edx, al
test edx, edx
je 0x100494e7
lea ecx, [ebp - 0x2c4]
call fcn.100636a0
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.10049fc0
add esp, 8
mov dword [ebp - 0x2d4], eax
mov edx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2d8], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2d8]
push eax
call fcn.10049600
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c0]
call fcn.1000c290
jmp 0x10049463
lea ecx, [ebp - 0x2e4]
push ecx
call fcn.100496d0
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2e4]
call fcn.10017280
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2f0]
call fcn.10017280
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x260]
call fcn.10005f30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
call fcn.100474e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.1000c290
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret