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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9d00
mov eax, dword fs:[0]
push eax
sub esp, 0x78
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
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push str.office6ksomisc.exe
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040ca60
add esp, 0xc
mov eax, dword [ebp - 0x2c]
xor ebx, ebx
mov edi, 8
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], edi
jae 0x44d088
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44d09c
test al, 0x10
je 0x44d16b
xor ecx, ecx
push 6
mov word [ebp - 0x48], cx
mov esi, 7
push str.file:
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
call fcn.00405660
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov byte [ebp - 4], 1
call fcn.0044c550
push str._not_exist__
push eax
lea edx, [ebp - 0x64]
push edx
mov byte [ebp - 4], 2
call fcn.0040ca00
add esp, 0x18
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x44d0f2
mov eax, dword [eax]
push eax
push str.KChangeVersionImpl::callKsomisc
push 0x1e1
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckchangeversion.cpp
push ebx
call fcn.00487a00
add esp, 0x14
cmp dword [ebp - 0x50], edi
jb 0x44d11c
mov eax, dword [ebp - 0x64]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x6c], edi
jb 0x44d139
mov edx, dword [ebp - 0x80]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x34], edi
jb 0x44d156
mov ecx, dword [ebp - 0x48]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x18], edi
jb 0x44d167
mov edx, dword [ebp - 0x2c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x44d1e5
mov dword [ebp - 0x84], ebx
cmp dword [esi + 0x14], edi
jb 0x44d178
mov esi, dword [esi]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x44d183
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x84]
push ecx
push esi
push eax
call fcn.0044ff30
add esp, 0xc
cmp eax, ebx
jge 0x44d1d2
mov edx, dword [ebp - 0x84]
push edx
push eax
push str.Failed_to_execute_file:_0x_08x__existCode:_d
push str.KChangeVersionImpl::callKsomisc
push 0x1e9
push str.D:_rc_v11_personal_20200207_branchCoding_supportksomisckchangeversion.cpp
push ebx
call fcn.00487a00
add esp, 0x1c
cmp dword [ebp - 0x18], edi
jb 0x44d167
mov eax, dword [ebp - 0x2c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x44d1e5
cmp dword [ebp - 0x18], edi
jb 0x44d1e3
mov ecx, dword [ebp - 0x2c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
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 8