Function at 0x444610
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e89d9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x52965c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4448ae
mov edi, dword [ebp + 8]
mov ecx, edx
add edi, 8
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444653
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004068a0
push 0x4f3e04
push 0x4fcd18
mov ecx, edi
call fcn.0041d9d0
mov ecx, dword [edi]
mov esi, dword [ecx - 0xc]
cmp esi, 1
jg 0x444697
lea eax, [ecx - 0x10]
push eax
call fcn.004056d0
add esp, 4
add eax, 0x10
jmp 0x4446ca
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x4446a7
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x4446b3
call fcn.00405e40
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push 1
lea eax, [eax + esi*2]
add eax, 0xfffffffe
push eax
call fcn.00418660
mov eax, dword [ebp + 0xc]
mov edx, 0x4f3e04
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x4446f7
test si, si
je 0x4446f3
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4446f7
add ecx, 4
add edx, 4
test si, si
jne 0x4446d1
xor esi, esi
jmp 0x4446fc
sbb esi, esi
or esi, 1
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x444714
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, 4
test esi, esi
jne 0x4447ab
mov edx, dword [edi]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
test eax, eax
cmovns esi, eax
cmp esi, ecx
jl 0x444746
lea eax, [edx - 0x10]
push eax
call fcn.004056d0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp + 0xc], esi
jmp 0x444771
mov ecx, dword [edx - 0x10]
test ecx, ecx
je 0x444756
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x444762
call fcn.00405e40
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push esi
push dword [edi]
lea ecx, [ebp + 0xc]
call fcn.00418660
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004138e0
lea edx, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
or esi, 0xffffffff
mov ebx, 0xc
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4447ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4447ae
or esi, 0xffffffff
push edi
call fcn.00448050
add esp, 4
test eax, eax
jne 0x44486b
push 0x4fcd1c
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00404e20
add esp, 0xc
push dword [eax]
or ebx, 1
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44480f
push str.ComputerZ_CN.exe
lea eax, [ebp + 8]
push edi
push eax
call fcn.00404e20
add esp, 0xc
or ebx, 2
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp + 0xf], 0
test eax, eax
je 0x444813
mov byte [ebp + 0xf], 1
test bl, 2
je 0x444838
mov edx, dword [ebp + 8]
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x444838
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x444859
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp + 0xf], 0
jne 0x44486b
push str.LuDaShi
mov ecx, edi
call fcn.0041c9b0
push str.lds_setup.log
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00404e20
add esp, 0xc
push eax
mov ecx, 0x52e110
mov dword [ebp - 4], 2
call fcn.00447240
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4448ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8