Function at 0x423ae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5264d0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x590cc0]
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 esi, dword [ebp + 8]
push str.Save_actions.
push str.kupdate::KWpsUpdateImpl::_SaveActions
push 0x719
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 4
call fcn.0041a9b0
xor ebx, ebx
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea eax, [ebp - 0x48]
push eax
push esi
mov dword [ebp - 4], ebx
call fcn.00461fb0
mov esi, eax
add esp, 0x1c
cmp esi, ebx
jge 0x423bf5
xor ecx, ecx
push 0xd
mov word [ebp - 0x64], cx
push str.save_response
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
call fcn.00402460
test byte [0x593b18], 1
mov byte [ebp - 4], 1
jne 0x423b98
or dword [0x593b18], 1
push 0x534980
mov byte [0x593b14], bl
call fcn.004b9fdc
add esp, 4
lea edx, [ebp - 0x64]
push edx
push 5
mov ecx, 0x593b14
call fcn.00420160
cmp dword [ebp - 0x50], 8
mov byte [ebp - 4], 0
jb 0x423bbe
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b9008
add esp, 4
push esi
push str.Failed_save_response:_0x_08x.
push str.kupdate::KWpsUpdateImpl::_SaveActions
push 0x71e
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push ebx
call fcn.0041a9b0
add esp, 0x18
cmp dword [ebp - 0x34], 0x10
jb 0x423bee
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b9008
add esp, 4
mov eax, esi
jmp 0x423d9b
mov edx, dword [ebp - 0x38]
add edx, 0x10
push edx
call fcn.004b7ad5
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov edi, eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x68], ebx
jae 0x423c15
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x38]
push ebx
push ebx
lea ecx, [ebp - 0x68]
push ecx
push edi
push edx
push eax
call fcn.00465f80
lea eax, [ebp - 0x2c]
push 0x1d
push eax
call fcn.0041d2b0
add esp, 0x20
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x423c40
lea eax, [ebp - 0x2c]
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
mov dword [ebp - 0x70], esi
mov byte [ebp - 4], 3
cmp esi, ebx
je 0x423c6d
cmp esi, 0xffffffff
jne 0x423d25
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, ebx
jle 0x423c81
and eax, 0xffff
or eax, 0x80070000
test byte [0x593b18], 1
mov ebx, eax
jne 0x423ca7
or dword [0x593b18], 1
push 0x534980
mov byte [0x593b14], 0
call fcn.004b9fdc
add esp, 4
push ebx
push 5
mov ecx, 0x593b14
call fcn.004202c0
push ebx
push str.Failed_CreateFile:_0x_08x.
push str.kupdate::KWpsUpdateImpl::_SaveActions
push 0x72f
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 5
call fcn.0041a9b0
push edi
call fcn.004b9ded
add esp, 0x1c
test esi, esi
je 0x423ce9
cmp esi, 0xffffffff
je 0x423ce9
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x18], 8
jb 0x423cfb
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
jb 0x423d21
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b9008
add esp, 4
mov eax, ebx
jmp 0x423d9b
mov eax, dword [ebp - 0x68]
cmp eax, ebx
jbe 0x423d55
mov ebx, dword [sym.imp.KERNEL32.DLL_WriteFile]
push 0
lea ecx, [ebp - 0x6c]
push ecx
push eax
push edi
push esi
mov dword [ebp - 0x6c], 0
call ebx
test eax, eax
je 0x423db9
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
jne 0x423d32
xor ebx, ebx
push edi
call fcn.004b9ded
add esp, 4
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x18], 8
jb 0x423d77
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
jb 0x423d99
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b9008
add esp, 4
xor eax, eax
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.004b9ff3
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jle 0x423dcd
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
push ebx
push 5
call fcn.004014a0
mov ecx, eax
call fcn.004202c0
push ebx
push str.Failed_WriteFile:_0x_08x.
push str.kupdate::KWpsUpdateImpl::_SaveActions
push 0x737
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 5
call fcn.0041a9b0
push edi
call fcn.004b9ded
add esp, 0x1c
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x18], 8
jb 0x423e1c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x423d21
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b9008
add esp, 4
mov eax, ebx
jmp 0x423d9b