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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f1390
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
mov ebp, dword [esp + 0x80]
xor ebx, ebx
push esi
cmp ebp, ebx
push edi
je 0x438a07
mov esi, dword [esp + 0x8c]
cmp esi, ebx
je 0x438a07
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebp
call edi
cmp eax, 0xffffffff
je 0x438a07
push esi
call edi
cmp eax, 0xffffffff
jne 0x438a1c
mov eax, dword [esp + 0x90]
mov dword [eax], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret
mov eax, dword [0x60a46c]
mov edi, 1
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
lea ecx, [esp + 0x44]
push ebx
push ecx
push ebp
mov byte [esp + 0x8c], 1
call fcn.004f3ac0
lea edx, [esp + 0x1c]
push ebx
push edx
push esi
call fcn.004f3ac0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
add esp, 0x18
cmp eax, ecx
jne 0x438ada
mov edx, dword [esp + 0x4c]
cmp edx, dword [esp + 0x18]
je 0x438adc
xor edi, edi
mov edx, dword [esp + 0x90]
cmp ecx, eax
mov dword [edx], ebx
ja 0x438af7
jne 0x438afd
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jbe 0x438afd
mov dword [edx], 1
mov eax, dword [0x6844b0]
cmp eax, ebx
je 0x438b21
push esi
push ebp
push str.CUpAgentFileMgr::CheckFilesVer___s___s_
push str.Update
push 0xf
push 0x684444
call fcn.00431aa0
add esp, 0x18
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 ecx, dword [esp + 0x78]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret