Function at 0x4c8615
Capabilities:
Check if file exists

Disassembly:
push 0x230
mov eax, 0x649f1c
call fcn.004e70a5
mov esi, ecx
mov dword [ebp - 0x234], esi
xor ebx, ebx
mov dword [ebp - 0x228], 1
push 0xf
pop edi
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], bl
xor eax, eax
mov dword [ebp - 4], ebx
push str.SoftManager
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.0040b728
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 1
call fcn.004c96f3
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.004c96f3
lea eax, [esi + 0xc]
mov byte [ebp - 4], 3
mov ecx, eax
mov dword [ebp - 0x22c], eax
call fcn.004c91ea
push 0x6c8bb4
lea ecx, [ebp - 0x58]
call fcn.0040b45b
push str.image
lea ecx, [ebp - 0x58]
call fcn.0040b45b
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], edi
mov byte [ebp - 0x8c], bl
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041552c
mov ecx, eax
call fcn.004c614d
push str.SoftManager
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.0040b45b
push 0x65e0e8
lea ecx, [ebp - 0x40]
call fcn.0040b45b
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c891e
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x224]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call fcn.004c440a
add esp, 0xc
cmp dword [ebp - 0x224], ebx
je 0x4c891e
cmp dword [ebp - 0x220], ebx
jbe 0x4c891e
push dword [ebp - 0x220]
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x224]
call fcn.0040eedd
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0xfc]
call fcn.004ca011
test al, al
je 0x4c891e
call fcn.004b61f8
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004b6f1e
pop ecx
pop ecx
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 6
push ecx
push eax
lea ecx, [ebp - 0xfc]
call fcn.004c9d4b
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
mov bl, al
call fcn.0040ee34
test bl, bl
je 0x4c891c
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc4]
call fcn.004c9f58
test al, al
je 0x4c8913
xor edi, edi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc4]
call fcn.004c9cf7
cmp dword [ebp - 0x228], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], edi
setne bl
mov dword [ebp - 0x60], edi
call fcn.0040dd78
mov byte [ebp - 0x5c], bl
mov ecx, dword [ebp - 0x22c]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 7
push eax
call fcn.004c7b87
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.0040ee34
call fcn.004c1fa0
test al, al
je 0x4c88f6
mov eax, dword [0x6f3a10]
test eax, eax
je 0x4c88f6
cmp dword [eax + 4], 4
jl 0x4c88f6
push str.1020
call fcn.004c1bb5
mov dword [ebp - 0x230], eax
mov dword [esp], str.4803
call fcn.004c1bb5
pop ecx
push edi
push edi
push 0x6c7914
push 0x59
push str.CReportCheckLimit::OnGetCfgContent
push 4
lea ecx, [ebp - 0x21c]
mov esi, eax
call fcn.0040f0c8
mov ebx, eax
lea edi, [ebx + 0x30]
mov byte [ebp - 4], 8
push esi
push edi
call fcn.0040d270
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push edx
push edi
call fcn.004bb119
push dword [ebp - 0x230]
push edi
call fcn.0040d270
add esp, 0x18
mov ecx, edi
push dword [ebp - 0x228]
call fcn.0040cdc0
mov ecx, dword [0x6f3a10]
push ebx
call fcn.0040f1ac
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 5
call fcn.0040d28d
xor edi, edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc4]
call fcn.004c9f58
test al, al
jne 0x4c87e2
mov esi, dword [ebp - 0x234]
cmp dword [esi + 0x10], 0
setne bl
jmp 0x4c891e
xor ebx, ebx
lea ecx, [ebp - 0x40]
call fcn.0040b4f9
lea ecx, [ebp - 0x8c]
call fcn.0040ee34
lea ecx, [ebp - 0xc4]
call fcn.004c97a9
lea ecx, [ebp - 0xfc]
call fcn.004c97a9
lea ecx, [ebp - 0x58]
call fcn.0040b4f9
lea ecx, [ebp - 0x28]
call fcn.0040ee34
mov al, bl
call fcn.004e704f
ret