Function at 0x45ad30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x621b88
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x68d9ac]
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 0x45ad70
mov eax, dword [edi]
push edi
call dword [eax]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
call fcn.00457fe0
add esp, 4
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45add9
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 0x45adb2
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 0x45adc5
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 [0x6995b4]
test al, 1
jne 0x45ae18
or eax, 1
mov dword [0x6995b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x62c5d0
mov dword [0x6995a8], 0x62ec00
mov dword [0x6995ac], eax
mov byte [0x6995b0], 0
call fcn.004f9d2c
mov eax, dword [0x6995b4]
add esp, 4
test al, 2
jne 0x45ae74
or eax, 2
mov dword [0x6995b8], 0x62ec18
mov dword [0x6995b4], eax
xor eax, eax
push 0x62c600
mov dword [0x6995bc], 0x6995a8
mov dword [0x6995cc], 2
mov dword [0x6995c4], 0
mov dword [0x6995c8], 0
mov dword [0x6995d0], eax
mov dword [0x6995c0], 0x6995b8
call fcn.004f9d2c
add esp, 4
mov eax, dword [0x6995b8]
mov ecx, 0x6995b8
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 0x45aeaf
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00420f30
mov esi, dword [ebp - 0x14]
cmp dword [esi - 8], 0x104
jl 0x45afd8
push 0x104
mov dword [esi - 0xc], 0x104
mov byte [esi + 0x104], 0
push esi
push dword [ebp - 0x10]
call fcn.0046b6c0
push dword [esi - 8]
push esi
call fcn.005e6b56
add esp, 0x14
test eax, eax
js 0x45afd8
cmp eax, dword [esi - 8]
jg 0x45afd8
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x45afe2
push eax
push esi
call fcn.005f77dc
add esp, 8
test eax, eax
jne 0x45af4a
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 0x45af33
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 0x45ada8
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 0x45af85
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.00421cc0
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 0x45afb3
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 0x45adb4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45adb4
push 0x80070057
call fcn.00407030
push 0x80004005
call fcn.00407030
int3