Function at 0x1003aee0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10094c67
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x100d7294]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov ecx, dword [ebp + 0x10]
call fcn.10010500
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
cmp eax, dword [ebp + 8]
jbe 0x1003b23b
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.1001e3a0
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
call fcn.10022070
movzx edx, al
test edx, edx
jne 0x1003b23b
lea ecx, [ebp - 0x25c]
call fcn.10018640
mov dword [ebp - 4], 0
lea eax, [ebp - 0x25c]
push eax
push 0x100aab30
mov ecx, dword [ebp - 0x238]
call fcn.10006fc0
push eax
call fcn.1000a420
add esp, 0xc
mov byte [ebp - 0x219], 0
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x23c], ecx
mov ecx, dword [ebp - 0x23c]
call fcn.100228a0
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x23c]
call fcn.1001f800
mov dword [ebp - 0x248], eax
jmp 0x1003afce
mov edx, dword [ebp - 0x220]
add edx, 4
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x248]
je 0x1003b1fd
mov ecx, dword [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x234]
call fcn.10004980
mov byte [ebp - 4], 1
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.100672b0
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.10006fc0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10006fc0
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003b053
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.10006090
jmp 0x1003afbf
lea edx, [ebp - 0x218]
push edx
call fcn.10009710
add esp, 4
mov dword [ebp - 0x22c], eax
push 0x100aab34
lea ecx, [ebp - 0x230]
call fcn.10004a20
mov byte [ebp - 4], 2
cmp dword [ebp - 0x22c], 0
je 0x1003b1af
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.10008990
add esp, 8
test eax, eax
je 0x1003b198
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x240], edx
mov ecx, dword [ebp - 0x240]
call fcn.100228a0
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x240]
call fcn.1001f800
mov dword [ebp - 0x24c], eax
jmp 0x1003b0e3
mov eax, dword [ebp - 0x224]
add eax, 4
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
cmp ecx, dword [ebp - 0x24c]
je 0x1003b198
mov edx, dword [ebp - 0x224]
push edx
lea ecx, [ebp - 0x228]
call fcn.10004980
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x228]
call fcn.10022070
movzx eax, al
test eax, eax
jne 0x1003b184
push ecx
mov ecx, esp
mov dword [ebp - 0x264], esp
lea edx, [ebp - 0x228]
push edx
call fcn.10004980
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x26c], esp
lea eax, [ebp - 0x230]
push eax
call fcn.10004980
mov byte [ebp - 4], 3
call fcn.1000aad0
add esp, 8
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x1003b184
mov byte [ebp - 0x219], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call fcn.10006090
jmp 0x1003b198
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call fcn.10006090
jmp 0x1003b0d4
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [ebp - 0x22c], 0
movzx edx, byte [ebp - 0x219]
test edx, edx
je 0x1003b1da
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.10006090
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.10006090
jmp 0x1003b1fd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.10006090
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.10006090
jmp 0x1003afbf
movzx eax, byte [ebp - 0x219]
test eax, eax
jne 0x1003b229
mov byte [ebp - 0x21a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.10018df0
mov al, byte [ebp - 0x21a]
jmp 0x1003b23d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.10018df0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005fbb2
mov esp, ebp
pop ebp
ret 0x10