Function at 0x446e70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f2150
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push edi
mov edi, dword [esp + 0x80]
xor ebx, ebx
cmp edi, ebx
je 0x447139
cmp dword [esp + 0x84], ebx
je 0x447139
mov eax, dword [esp + 0x88]
push ebp
push esi
xor esi, esi
mov dword [eax], 1
mov eax, dword [0x60a46c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov word [esp + 0x44], bx
mov word [esp + 0x46], bx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov word [esp + 0x10], bx
mov word [esp + 0x12], bx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edi
mov byte [esp + 0x84], 1
call ebp
cmp eax, 0xffffffff
je 0x446fc3
mov ecx, dword [esp + 0x8c]
push ecx
call ebp
cmp eax, 0xffffffff
je 0x446fc3
lea edx, [esp + 0x44]
push ebx
push edx
push edi
mov esi, 1
call fcn.004f3ac0
mov ecx, dword [esp + 0x98]
lea eax, [esp + 0x1c]
push ebx
push eax
push ecx
call fcn.004f3ac0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x64]
add esp, 0x18
cmp eax, ecx
jne 0x446f9b
cmp edx, dword [esp + 0x18]
je 0x446f9d
xor esi, esi
mov ebp, dword [esp + 0x90]
cmp eax, ecx
mov dword [ebp], ebx
ja 0x446fb3
jne 0x446fcf
cmp edx, dword [esp + 0x18]
jbe 0x446fcf
mov ebp, dword [esp + 0x90]
mov dword [ebp], 1
jmp 0x446fcf
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov ebp, dword [0x6844b0]
cmp ebp, ebx
je 0x44700f
mov ebp, dword [esp + 0x90]
mov ebp, dword [ebp]
push ebp
push esi
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0xa0]
push ecx
push eax
push edi
push str.CUpAgentFileMgr::CheckFilesVer___S___S___d___d___d___d___bValid_d__bUpdateVer_d_
push str.Update
push 0xf
push 0x684444
call fcn.00431aa0
add esp, 0x30
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 8
call fcn.00467200
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 7
call fcn.00467200
lea ecx, [esp + 0x38]
mov byte [esp + 0x80], 6
call fcn.00467200
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 5
call fcn.00467200
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 4
call fcn.00467200
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 3
call fcn.00467200
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 2
call fcn.00467200
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], bl
call fcn.00467200
lea ecx, [esp + 0x74]
mov dword [esp + 0x80], 0xf
call fcn.00467200
lea ecx, [esp + 0x70]
mov byte [esp + 0x80], 0xe
call fcn.00467200
lea ecx, [esp + 0x6c]
mov byte [esp + 0x80], 0xd
call fcn.00467200
lea ecx, [esp + 0x68]
mov byte [esp + 0x80], 0xc
call fcn.00467200
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 0xb
call fcn.00467200
lea ecx, [esp + 0x60]
mov byte [esp + 0x80], 0xa
call fcn.00467200
lea ecx, [esp + 0x5c]
mov byte [esp + 0x80], 9
call fcn.00467200
lea ecx, [esp + 0x58]
mov dword [esp + 0x80], 0xffffffff
call fcn.00467200
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret
mov ecx, dword [esp + 0x70]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret