Function at 0x4534c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538ecb
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x440], ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x45350c
mov dword [ebp - 0x10], 1
jmp 0x4537aa
lea ecx, [ebp - 0x224]
push ecx
call fcn.00401030
add esp, 4
mov dword [ebp - 4], 0
push str.360Examin.dll
lea edx, [ebp - 0x220]
push edx
call fcn.0041acc0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.0043e290
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x453598
push str._Examine_
push 0x58f750
call fcn.004045b0
add esp, 8
mov dword [ebp - 0x43c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00401eb0
mov eax, dword [ebp - 0x43c]
jmp 0x4537ad
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.004b0ac0
add esp, 0xc
push str.360Examin.dll
lea ecx, [ebp - 0x224]
call fcn.0043e290
push eax
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [ebp - 0x440]
cmp dword [eax + 0x4c], 0
jne 0x4535f6
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00401c90
mov edx, dword [ebp - 0x440]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 0x440]
cmp dword [eax + 0x4c], 0
je 0x453737
push str.CreateExaminMgr2
mov ecx, dword [ebp - 0x440]
mov edx, dword [ecx + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x453737
call dword [ebp - 0x228]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x453737
xor eax, eax
mov word [ebp - 0x434], ax
push 0x206
push 0
lea ecx, [ebp - 0x432]
push ecx
call fcn.004b0ac0
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x224]
call fcn.0043e290
push eax
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x434]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 8]
call ecx
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0
jl 0x45371e
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x18]
call ecx
test eax, eax
jne 0x45371e
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0xc]
call edx
cmp dword [ebp - 0x440], 0
je 0x4536f2
mov eax, dword [ebp - 0x440]
add eax, 4
mov dword [ebp - 0x444], eax
jmp 0x4536fc
mov dword [ebp - 0x444], 0
mov ecx, dword [ebp - 0x444]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x10], 1
jmp 0x453737
mov edx, dword [ebp - 0x438]
push edx
push str._Examine___CreateExaminMgr2_error__x
push 0x58f750
call fcn.004045b0
add esp, 0xc
cmp dword [ebp - 0x10], 0
jne 0x453789
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x453760
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp - 0x440]
cmp dword [edx + 0x4c], 0
je 0x453789
mov eax, dword [ebp - 0x440]
mov ecx, dword [eax + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x440]
mov dword [edx + 0x4c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00401eb0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret 8