Function at 0x41e6c0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44db30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x2c], ecx
call fcn.00422340
push eax
lea ecx, [esp + 0x1c]
call fcn.004018b0
xor ebp, ebp
push str.Contents.dat
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], ebp
call fcn.00401820
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 1
call fcn.00402830
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
mov byte [esp + 0x48], 0
je 0x41e728
call fcn.00401c60
mov edi, dword [esp + 0x18]
cmp edi, ebp
je 0x41e745
cmp dword [edi + 4], ebp
jne 0x41e740
mov ecx, dword [edi]
push ecx
call fcn.0043baa0
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
jmp 0x41e747
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41e772
cmp edi, ebp
je 0x41e75d
mov ecx, edi
call fcn.00401c60
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 0x17
push ebp
push str.HPRulesEngine.ContentCollection
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f], 0
mov dword [esp + 0x20], ebp
call fcn.00402ca0
cmp eax, ebp
jge 0x41e79d
cmp eax, 0x80004002
je 0x41e79d
push eax
call fcn.0043b8c0
cmp dword [esp + 0x14], ebp
je 0x41e94f
cmp edi, ebp
push 1
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax], edi
je 0x41e7c0
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [esp + 0x1c], ebp
mov byte [esp + 0x50], 3
jne 0x41e7d5
push 0x80004003
call fcn.0043b8c0
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x50], 2
call fcn.004028d0
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x41e7f9
push 0x80004003
call fcn.0043b8c0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov esi, eax
mov dword [esp + 0x24], ebp
call dword [ecx + 0x24]
cmp eax, ebp
jge 0x41e81a
push 0x44f8a0
push esi
push eax
call fcn.0043b8d0
mov eax, dword [esp + 0x1c]
mov esi, 1
cmp eax, esi
mov dword [esp + 0x28], esi
jl 0x41e94f
nop
cmp dword [esp + 0x14], ebp
jne 0x41e840
push 0x80004003
call fcn.0043b8c0
mov ecx, dword [esp + 0x14]
push esi
lea eax, [esp + 0x34]
push eax
call fcn.0041d480
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 4
mov dword [esp + 0x24], ebp
call fcn.0041d920
cmp eax, ebp
jge 0x41e873
cmp eax, 0x80004002
je 0x41e873
push eax
call fcn.0043b8c0
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x4c], 6
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebp
jge 0x41e88d
push eax
call fcn.0043b8c0
mov edi, dword [esp + 0x20]
cmp edi, ebp
jne 0x41e89f
push 0x80004003
call fcn.0043b8c0
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.0041daa0
mov eax, dword [eax]
cmp eax, ebp
je 0x41e8b5
mov eax, dword [eax]
jmp 0x41e8b7
xor eax, eax
push eax
call fcn.0042e658
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x2c]
add esp, 4
cmp edx, eax
mov eax, dword [esp + 0x24]
sete bl
cmp eax, ebp
je 0x41e916
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41e90e
cmp esi, ebp
je 0x41e90e
mov eax, dword [esi]
cmp eax, ebp
je 0x41e8f5
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x41e905
push eax
call fcn.00441359
add esp, 4
push esi
call fcn.00441359
add esp, 4
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], ebp
test bl, bl
mov byte [esp + 0x48], 2
jne 0x41e93c
cmp edi, ebp
je 0x41e929
mov edx, dword [edi]
push edi
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
mov dword [esp + 0x28], esi
jle 0x41e830
jmp 0x41e94b
cmp edi, ebp
mov byte [esp + 0x13], 1
je 0x41e94b
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov byte [esp + 0x48], 0
je 0x41e962
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebp
je 0x41e99a
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41e99a
mov eax, dword [edi]
cmp eax, ebp
je 0x41e981
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x41e991
push eax
call fcn.00441359
add esp, 4
push edi
call fcn.00441359
add esp, 4
mov ecx, dword [esp + 0x40]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret