Function at 0x1003ee80
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010d4f1
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x1015746c]
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 edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x244], 0
test edx, edx
je 0x1003eee0
mov dword [edx], 0
test ecx, ecx
je 0x1003eeea
mov dword [ecx], 0
test eax, eax
je 0x1003eef4
mov dword [eax], 0
test ebx, ebx
je 0x1003eefe
mov dword [ebx], 0
push 0x210
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10094f30
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x107
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.MsHtml.dll
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003f1c0
call fcn.1001a3c0
mov ecx, eax
test ecx, ecx
je 0x1003f1e4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x230], eax
mov dword [ebp - 4], 0
call fcn.1001a3c0
mov ecx, eax
test ecx, ecx
je 0x1003f1ee
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x228], esi
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x1003f05a
movzx edi, ax
push 0
push edi
call fcn.1003b910
add esp, 8
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x1003f08b
mov ecx, edi
shr ecx, 4
push 6
inc ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1003f08b
push edi
push eax
push dword [ebp - 0x22c]
call fcn.10005a20
add esp, 0xc
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x1003f08b
movzx edx, word [eax]
mov ecx, 1
mov eax, dword [esi - 8]
mov edi, edx
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x1003f028
push edi
lea ecx, [ebp - 0x228]
call fcn.10005150
mov eax, dword [ebp - 0x22c]
mov esi, dword [ebp - 0x228]
movzx edx, word [eax]
jmp 0x1003f02e
mov eax, dword [ebp - 0x22c]
movzx ecx, dx
add eax, 2
push ecx
push eax
push edi
push esi
call fcn.100b0fa8
push eax
call fcn.100040d0
add esp, 0x14
cmp edi, dword [esi - 8]
jg 0x1003f1f8
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x1003f08b
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003f063
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.10005580
mov esi, dword [ebp - 0x228]
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.10019380
add esp, 8
mov byte [ebp - 4], 0
test eax, eax
sete byte [ebp - 0x221]
or edi, 0xffffffff
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1003f0cc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x221], 0
je 0x1003f100
mov edx, dword [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1003f1c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1003f1c0
mov esi, dword [ebp - 0x230]
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x234], 0
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 0
push eax
lea eax, [ebp - 0x234]
mov dword [ebp - 0x23c], 0
push eax
push 0x101239dc
push esi
mov dword [ebp - 0x240], 0
call fcn.1001f4d0
mov ecx, dword [ebp - 0x248]
add esp, 0x18
test ecx, ecx
je 0x1003f16a
mov eax, dword [ebp - 0x234]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x24c]
test ecx, ecx
je 0x1003f17c
mov eax, dword [ebp - 0x238]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x250]
test ecx, ecx
je 0x1003f18e
mov eax, dword [ebp - 0x23c]
mov dword [ecx], eax
test ebx, ebx
je 0x1003f19a
mov eax, dword [ebp - 0x240]
mov dword [ebx], eax
mov dword [ebp - 0x244], 1
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x1003f1c0
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x244]
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.10068438
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.10004170
push 0x80004005
call fcn.10004170
push 0x80070057
call fcn.10004170
int3