Function at 0x4405e7
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x38
mov eax, 0x4b4b09
call fcn.004935c5
mov eax, dword [ebp + 8]
push str.Load_actions.
mov edi, str.kupdate::KWpsUpdateImpl::_LoadActions
push edi
push 0x757
mov esi, str.S:_func_improvement_20150701_branchCoding_supportwpsupdateUpdateClientupdatemiscKWpsUpdateImpl.cpp
push esi
push 4
mov dword [ebp - 0x40], eax
call fcn.0042f683
lea eax, [ebp - 0x2c]
push 0x1b
push eax
call fcn.0047cee7
add esp, 0x1c
mov eax, dword [ebp - 0x2c]
xor ebx, ebx
cmp dword [ebp - 0x18], 8
mov dword [ebp - 4], ebx
jae 0x440635
lea eax, [ebp - 0x2c]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0047b7a6
test al, al
je 0x4406b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x440673
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
push ebx
push str.Failed_CreateFile:_0x_08x.
push edi
push 0x75f
push esi
push 5
call fcn.0042f683
add esp, 0x18
cmp dword [ebp - 0x30], 0
je 0x4406a1
cmp dword [ebp - 0x30], 0xffffffff
je 0x4406a1
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042e109
mov eax, ebx
call fcn.00493648
ret 4
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4406ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4406dc
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
push ebx
push str.Failed_GetFileSize:_0x_08x.
push edi
push 0x764
jmp 0x440681
push ebx
call fcn.004912f9
and dword [ebp - 0x3c], 0
pop ecx
push 0
lea ecx, [ebp - 0x3c]
push ecx
push ebx
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x440749
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x440723
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
push ebx
push str.Failed_ReadFile:_0x_08x.
push edi
push 0x76a
push esi
push 5
call fcn.0042f683
push dword [ebp - 0x38]
call fcn.004926f3
add esp, 0x1c
jmp 0x44068c
lea eax, [ebx + 1]
push eax
call fcn.004912f9
mov dword [ebp - 0x34], eax
xor eax, eax
pop ecx
cmp dword [ebp - 0x34], eax
je 0x440777
lea ecx, [ebx + 1]
push ecx
push eax
push dword [ebp - 0x34]
call fcn.00492b40
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov dword [ebp - 0x34], eax
xor eax, eax
jmp 0x44077a
mov dword [ebp - 0x34], eax
push eax
push eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x34]
push ebx
push dword [ebp - 0x38]
call fcn.0042dca1
push dword [ebp - 0x38]
mov bl, al
call fcn.004926f3
add esp, 0x1c
test bl, bl
jne 0x4407dd
push str.Failed_decrypt_response_xml.
push edi
push 0x775
push esi
push 5
call fcn.0042f683
push dword [ebp - 0x34]
call fcn.004926f3
add esp, 0x18
cmp dword [ebp - 0x30], 0
je 0x4407d3
cmp dword [ebp - 0x30], 0xffffffff
je 0x4407d3
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 0x80004005
jmp 0x4406a1
push dword [ebp - 0x40]
push dword [ebp - 0x34]
call fcn.00453546
push dword [ebp - 0x34]
mov ebx, eax
call fcn.004926f3
add esp, 0xc
jmp 0x44068c