Function at 0x45b420
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x625e38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x690a1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 0x20]
mov dword [ebp - 0x20], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x45b460
mov eax, dword [edi]
push edi
call dword [eax]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
call fcn.004586d0
add esp, 4
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45b4c9
mov edx, dword [ebp - 0x10]
mov byte [ebp - 4], al
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b4a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 4], 3
test edi, edi
je 0x45b4b5
mov ecx, dword [edi]
push edi
call dword [ecx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x69c734]
test al, 1
jne 0x45b508
or eax, 1
mov dword [0x69c734], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x630910
mov dword [0x69c728], 0x632c00
mov dword [0x69c72c], eax
mov byte [0x69c730], 0
call fcn.004fa3ec
mov eax, dword [0x69c734]
add esp, 4
test al, 2
jne 0x45b564
or eax, 2
mov dword [0x69c738], 0x632c18
mov dword [0x69c734], eax
xor eax, eax
push 0x630940
mov dword [0x69c73c], 0x69c728
mov dword [0x69c74c], 2
mov dword [0x69c744], 0
mov dword [0x69c748], 0
mov dword [0x69c750], eax
mov dword [0x69c740], 0x69c738
call fcn.004fa3ec
add esp, 4
mov eax, dword [0x69c738]
mov ecx, 0x69c738
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 2
jge 0x45b59f
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00421060
mov esi, dword [ebp - 0x14]
cmp dword [esi - 8], 0x104
jl 0x45b6c8
push 0x104
mov dword [esi - 0xc], 0x104
mov byte [esi + 0x104], 0
push esi
push dword [ebp - 0x10]
call fcn.0046bda0
push dword [esi - 8]
push esi
call fcn.005e73a1
add esp, 0x14
test eax, eax
js 0x45b6c8
cmp eax, dword [esi - 8]
jg 0x45b6c8
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x45b6d2
push eax
push esi
call fcn.005f9c2b
add esp, 8
test eax, eax
jne 0x45b63a
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b623
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jmp 0x45b498
push 0
push 0
push dword [ebx + 0x18]
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push str.Jian_Theme_Wnd_class
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45b675
push 0
push 0
push dword [ebx + 0x18]
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x1c]
call fcn.00421df0
lea edx, [esi - 0x10]
mov ebx, 1
or esi, 0xffffffff
mov byte [ebp - 4], bl
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b6a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45b4a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45b4a4
push 0x80070057
call fcn.00407120
push 0x80004005
call fcn.00407120
int3