Function at 0x439180
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7fcc
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 0x439238
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 0x439230
push 0x55cb5c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x439238
mov dword [0x55cb5c], edi
jmp 0x439245
mov esi, str.qingnse64.dll
cmp dword [0x55cb5c], edi
jne 0x43924a
mov esi, str.qingnse.dll
xor edx, edx
mov ebx, 7
lea eax, [ebp - 0x218]
mov word [ebp - 0x250], dx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x240], edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x439270
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x250]
call fcn.00405660
push 0x4c7780
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x288]
push edx
mov dword [ebp - 4], edi
call fcn.0040ca00
push esi
push eax
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 1
call fcn.0040ca00
add esp, 0x18
mov esi, 8
cmp dword [ebp - 0x274], esi
jb 0x4392de
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 - 0x23c], esi
jb 0x43930e
mov eax, dword [ebp - 0x250]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x234]
xor ecx, ecx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x240], edi
mov word [ebp - 0x250], cx
cmp dword [ebp - 0x220], esi
jae 0x439337
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x439363
cmp dword [ebp - 0x220], esi
jb 0x439359
mov edx, dword [ebp - 0x234]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 0x80070002
jmp 0x4393fa
push 3
xor eax, eax
push 0x4d1f80
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 - 0x234]
push edx
push eax
mov byte [ebp - 4], 5
call fcn.00438eb0
add esp, 0x10
mov ebx, eax
cmp dword [ebp - 0x258], esi
jb 0x4393c2
mov ecx, dword [ebp - 0x26c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp ebx, edi
je 0x4393e1
cmp dword [ebp - 0x220], esi
jb 0x4393dd
mov edx, dword [ebp - 0x234]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebx
jmp 0x4393fa
cmp dword [ebp - 0x220], esi
jb 0x4393f8
mov eax, dword [ebp - 0x234]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
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