Function at 0x439f30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b816c
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x206
xor edi, edi
lea ecx, [ebp - 0x216]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x218], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
xor ecx, ecx
add esp, 8
mov word [eax], cx
cmp dword [0x55cb5c], 0xffffffff
jne 0x439fe8
push 0x4d17f0
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
je 0x439fe0
push 0x55cb5c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x439fe8
mov dword [0x55cb5c], edi
jmp 0x439ff5
mov esi, str.qingnse64.dll
cmp dword [0x55cb5c], edi
jne 0x439ffa
mov esi, str.qingnse.dll
xor edx, edx
mov ebx, 7
lea eax, [ebp - 0x218]
mov word [ebp - 0x234], dx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43a020
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.00405660
push 0x4c7780
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x288]
push edx
mov dword [ebp - 4], edi
call fcn.0040ca00
push esi
push eax
lea eax, [ebp - 0x250]
push eax
mov byte [ebp - 4], 1
call fcn.0040ca00
add esp, 0x18
mov esi, 8
cmp dword [ebp - 0x274], esi
jb 0x43a08e
mov ecx, dword [ebp - 0x288]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x278], edi
mov word [ebp - 0x288], dx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x220], esi
jb 0x43a0be
mov eax, dword [ebp - 0x234]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x250]
xor ecx, ecx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], cx
cmp dword [ebp - 0x23c], esi
jae 0x43a0e7
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43a110
cmp dword [ebp - 0x23c], esi
jb 0x43a109
mov edx, dword [ebp - 0x250]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 0x80070002
jmp 0x43a188
push 0xb
xor eax, eax
push str.overlayicon
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x25c], edi
mov word [ebp - 0x26c], ax
call fcn.00405660
mov eax, dword [ebp + 8]
push edi
lea ecx, [ebp - 0x26c]
push ecx
lea edx, [ebp - 0x250]
push edx
push eax
mov byte [ebp - 4], 5
call fcn.00438eb0
add esp, 0x10
mov edi, eax
cmp dword [ebp - 0x258], esi
jb 0x43a16f
mov ecx, dword [ebp - 0x26c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x23c], esi
jb 0x43a186
mov edx, dword [ebp - 0x250]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret