Function at 0x41e7f0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44e470
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.004222d0
push eax
lea ecx, [esp + 0x1c]
call fcn.004018a0
xor ebp, ebp
push str.Contents.dat
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], ebp
call fcn.00401810
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 1
call fcn.00402820
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
mov byte [esp + 0x48], 0
je 0x41e858
call fcn.00401c50
mov edi, dword [esp + 0x18]
cmp edi, ebp
je 0x41e875
cmp dword [edi + 4], ebp
jne 0x41e870
mov ecx, dword [edi]
push ecx
call fcn.0043c3a0
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
jmp 0x41e877
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41e8a2
cmp edi, ebp
je 0x41e88d
mov ecx, edi
call fcn.00401c50
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.00402c90
cmp eax, ebp
jge 0x41e8cd
cmp eax, 0x80004002
je 0x41e8cd
push eax
call fcn.0043c1c0
cmp dword [esp + 0x14], ebp
je 0x41ea7f
cmp edi, ebp
push 1
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax], edi
je 0x41e8f0
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [esp + 0x1c], ebp
mov byte [esp + 0x50], 3
jne 0x41e905
push 0x80004003
call fcn.0043c1c0
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x50], 2
call fcn.004028c0
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x41e929
push 0x80004003
call fcn.0043c1c0
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 0x41e94a
push 0x450880
push esi
push eax
call fcn.0043c1d0
mov eax, dword [esp + 0x1c]
mov esi, 1
cmp eax, esi
mov dword [esp + 0x28], esi
jl 0x41ea7f
nop
cmp dword [esp + 0x14], ebp
jne 0x41e970
push 0x80004003
call fcn.0043c1c0
mov ecx, dword [esp + 0x14]
push esi
lea eax, [esp + 0x34]
push eax
call fcn.0041d450
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 4
mov dword [esp + 0x24], ebp
call fcn.0041d930
cmp eax, ebp
jge 0x41e9a3
cmp eax, 0x80004002
je 0x41e9a3
push eax
call fcn.0043c1c0
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x4c], 6
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebp
jge 0x41e9bd
push eax
call fcn.0043c1c0
mov edi, dword [esp + 0x20]
cmp edi, ebp
jne 0x41e9cf
push 0x80004003
call fcn.0043c1c0
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.0041dab0
mov eax, dword [eax]
cmp eax, ebp
je 0x41e9e5
mov eax, dword [eax]
jmp 0x41e9e7
xor eax, eax
push eax
call fcn.0042ef58
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 0x41ea46
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41ea3e
cmp esi, ebp
je 0x41ea3e
mov eax, dword [esi]
cmp eax, ebp
je 0x41ea25
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x41ea35
push eax
call fcn.00441c59
add esp, 4
push esi
call fcn.00441c59
add esp, 4
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], ebp
test bl, bl
mov byte [esp + 0x48], 2
jne 0x41ea6c
cmp edi, ebp
je 0x41ea59
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 0x41e960
jmp 0x41ea7b
cmp edi, ebp
mov byte [esp + 0x13], 1
je 0x41ea7b
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 0x41ea92
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebp
je 0x41eaca
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41eaca
mov eax, dword [edi]
cmp eax, ebp
je 0x41eab1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x41eac1
push eax
call fcn.00441c59
add esp, 4
push edi
call fcn.00441c59
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