Function at 0x4533e5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
xor esi, esi
push esi
lea eax, [esp + 0x14]
call fcn.00496e16
lea eax, [esp + 0x14]
mov dword [esp], str.krcmdmon.dll
push eax
call fcn.00407371
push dword [esp + 0x10]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [esp + 0x18], esi
call edi
cmp eax, esi
mov dword [esp + 0x1c], eax
je 0x4534df
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
lea ebx, [esp + 0x18]
mov dword [esp + 0x1c], esp
call fcn.0042a0e1
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
call fcn.004536d9
cmp eax, esi
je 0x4534df
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
mov ebx, dword [ebp + 8]
mov dword [ebx + 8], eax
je 0x4534df
push str.DllGetClassObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4534df
add ebx, 0xc
push ebx
mov ecx, 0x5198b0
push ecx
push ecx
call eax
test eax, eax
jne 0x4534df
cmp dword [ebx], esi
je 0x4534df
push 0x50edd8
lea eax, [esp + 0x38]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.004014ce
lea eax, [esp + 0x20]
call fcn.0045369d
mov eax, dword [ebx]
mov ebx, dword [esp + 0x34]
mov ecx, dword [eax]
push ebx
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push eax
call dword [ecx]
lea eax, [ebx - 0x10]
call fcn.00401239
cmp dword [0x5452f0], esi
jne 0x4534f0
call fcn.00453783
test eax, eax
je 0x4534ff
cmp dword [esp + 0x14], 0x13353e3
jg 0x4534ff
call fcn.00453740
call fcn.004538a5
test eax, eax
je 0x4535fd
cmp dword [esp + 0x1c], esi
je 0x453531
call fcn.00453860
test eax, eax
je 0x453531
call fcn.004537d6
test eax, eax
je 0x453531
call fcn.0045381b
test eax, eax
jne 0x4535fd
push str.krcmdutils.dll
push esi
lea eax, [esp + 0x24]
call fcn.00496e16
pop ecx
lea ecx, [esp + 0x18]
call fcn.0042a029
mov eax, dword [esp + 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.00401239
push dword [esp + 0x14]
call edi
test eax, eax
je 0x4535f1
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x10], eax
je 0x4535f1
push str.DllGetClassObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4535f1
add ebx, 0x14
push ebx
mov ecx, 0x5198c0
push ecx
push ecx
call eax
test eax, eax
jne 0x4535f1
cmp dword [ebx], esi
je 0x4535f1
push 0x50edd8
lea eax, [esp + 0x38]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.004014ce
lea eax, [esp + 0x20]
call fcn.0045369d
mov esi, dword [esp + 0x34]
mov ebx, dword [ebx]
mov eax, dword [ebx]
push esi
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push ebx
call dword [eax]
lea eax, [esi - 0x10]
call fcn.00401239
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00401239
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8