Function at 0x434f10
Capabilities:
Parse url
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e02c8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0x53d9f8]
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 dword [ebp - 0x470], ecx
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x46c], edi
mov dword [ebp - 0x468], 0
call fcn.0044eed0
mov ecx, eax
call fcn.0044ef70
test al, al
je 0x43648c
cmp dword [ebx + 0x10], 0
je 0x43648c
cmp dword [edi + 0x10], 0
je 0x43648c
mov edi, dword [ebp + 0x10]
test edi, edi
js 0x43648c
cmp dword [esi + 0x10], 0
je 0x43648c
push 0
push str.file:__
mov ecx, esi
call fcn.004148a0
cmp eax, 0xffffffff
jne 0x43648c
call fcn.0042d360
test eax, eax
jne 0x434fd5
push str.not__collectSendUpdateRequestResultInfo
push str.kupdate::KWpsUpdateImpl::_collectSendUpdateRequestResultInfo
push 0x1023
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 7
jmp 0x4364a2
mov ecx, dword [ebp - 0x46c]
push str.fail
call fcn.00432570
test al, al
jne 0x43502d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x5421c0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x541988]
cmp eax, dword [ecx + 4]
jg 0x4364c8
cmp byte [0x541984], 0
jne 0x43502d
push str.not__collectSendUpdateRequestResultInfo
push str.kupdate::KWpsUpdateImpl::_collectSendUpdateRequestResultInfo
push 0x102a
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 7
jmp 0x4364a2
push 0x208
lea eax, [ebp - 0x304]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x304]
mov dword [ebp - 0x4ac], 0
add esp, 0xc
mov dword [ebp - 0x4a0], eax
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x4b0], 0x3c
mov dword [ebp - 0x49c], 0x104
jb 0x4350e5
mov eax, dword [esi]
lea ecx, [ebp - 0x4b0]
push ecx
push 0
push dword [esi + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x435126
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_InternetCrackUrlW:_getlasterror:_0x_08x
push str.kupdate::KWpsUpdateImpl::_collectSendUpdateRequestResultInfo
push 0x1037
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 0
call fcn.00412750
add esp, 0x18
jmp 0x4364aa
push 0x40
lea eax, [ebp - 0x7c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea eax, [ebp - 0x7c]
push 0x4f0f00
push 0x20
push eax
call edi
push 0x40
lea eax, [ebp - 0xbc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x28
call fcn.0042c430
mov ecx, eax
call fcn.0044fb00
push eax
push 0x4f0f00
lea eax, [ebp - 0xbc]
push 0x20
push eax
call edi
push 0x40
lea eax, [ebp - 0xfc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x1c
call fcn.00410410
mov ecx, eax
call fcn.004451f0
push eax
push 0x4f0f00
lea eax, [ebp - 0xfc]
push 0x20
push eax
call edi
add esp, 0x10
lea ecx, [ebp - 0x45c]
call fcn.004232e0
push str.callsendupdaterequestfunctionname
lea ecx, [ebp - 0x31c]
mov dword [ebp - 4], 1
call fcn.00404c50
push ebx
lea eax, [ebp - 0x31c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.00423990
mov edx, dword [ebp - 0x308]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x435230
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435226
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x435226
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push str.sendupdaterequestresult
lea ecx, [ebp - 0x31c]
call fcn.00404c50
mov ebx, dword [ebp - 0x46c]
lea eax, [ebp - 0x31c]
push ebx
push eax
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 3
call fcn.00423b10
mov ecx, eax
call fcn.00423990
mov edx, dword [ebp - 0x308]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4352aa
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4352a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4352a0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push str.trysendupdaterequesttimes
lea ecx, [ebp - 0x31c]
call fcn.00404c50
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.004239c0
mov edx, dword [ebp - 0x308]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x435321
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435317
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x435317
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push str.updateserverurl
lea ecx, [ebp - 0x31c]
call fcn.00404c50
push esi
lea eax, [ebp - 0x31c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.00423990
mov edx, dword [ebp - 0x308]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x435395
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43538b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43538b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push str.updateserverip
lea ecx, [ebp - 0x31c]
call fcn.00404c50
push 0x4f0da4
lea eax, [ebp - 0x31c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.004239c0
mov edx, dword [ebp - 0x308]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x43540d
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435403
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x435403
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push str.sendupdaterequestfailcode
lea ecx, [ebp - 0x31c]
call fcn.00404c50
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.004239c0
mov edx, dword [ebp - 0x308]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x435487
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43547d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43547d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push str.sendupdaterequestfailmessage
lea ecx, [ebp - 0x31c]
call fcn.00404c50
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 8
push eax
call fcn.0042c430
mov ecx, eax
call fcn.0044fb10
push eax
lea eax, [ebp - 0x31c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.00405210
mov edx, dword [ebp - 0x320]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x43550c
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435502
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43555f
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x308]
xor eax, eax
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x43556f
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435565
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x435565
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push str.updatesvrsnum
lea ecx, [ebp - 0x31c]
call fcn.00404c50
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.004239c0
mov edx, dword [ebp - 0x308]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4355e9
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4355df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4355df
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push str.wpsupdatefileversion
lea ecx, [ebp - 0x31c]
call fcn.00404c50
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 0xb
push eax
call fcn.00410410
mov ecx, eax
call fcn.00446bf0
push eax
lea eax, [ebp - 0x31c]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.00405210
mov edx, dword [ebp - 0x320]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x43566e
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435664
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4356c1
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x308]
xor eax, eax
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4356d1
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4356c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4356c7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push str.statuscode
lea ecx, [ebp - 0x31c]
call fcn.00404c50
mov byte [ebp - 4], 0xd
call fcn.0042c430
mov ecx, eax
call fcn.0044fbc0
push eax
lea eax, [ebp - 0x334]
push eax
call fcn.0043c6f0
add esp, 8
push eax
lea eax, [ebp - 0x31c]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.00405210
mov edx, dword [ebp - 0x320]
mov byte [ebp - 4], 0xd
cmp edx, 8
jb 0x43575f
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435755
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4357b2
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x308]
xor eax, eax
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4357c2
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4357b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4357b8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push str.backoffintervalue
lea ecx, [ebp - 0x31c]
call fcn.00404c50
mov edi, dword [ebp - 0x470]
sub esp, 8
mov byte [ebp - 4], 0xf
fld qword [edi + 0x70]
fst qword [ebp - 0x474]
fstp qword [esp]
push 0x4f5024
call fcn.0043c760
add esp, 0xc
lea ecx, [ebp - 0x334]
mov esi, eax
push 0
push esi
call fcn.004230b0
cmp dword [ebp - 0x320], 8
lea ecx, [ebp - 0x334]
fld qword [ebp - 0x474]
lea eax, [esi + 1]
cmovae ecx, dword [ebp - 0x334]
sub esp, 8
fstp qword [esp]
push 0x4f5024
push eax
push ecx
call fcn.00412150
add esp, 0x14
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.00405210
mov edx, dword [ebp - 0x320]
mov byte [ebp - 4], 0xf
cmp edx, 8
jb 0x43589e
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435894
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4358f1
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x308]
xor eax, eax
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x435901
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4358f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4358f7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
fldz
lea ecx, [ebp - 0x31c]
push str.backofftimes
fstp qword [edi + 0x70]
call fcn.00404c50
push dword [edi + 0x78]
lea eax, [ebp - 0x12]
mov byte [ebp - 4], 0x11
push eax
call fcn.00412180
xor ecx, ecx
mov dword [ebp - 0x324], 0
mov word [ebp - 0x334], cx
add esp, 8
lea ecx, [ebp - 0x12]
mov dword [ebp - 0x320], 7
cmp eax, ecx
je 0x43595e
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x334]
call fcn.004033b0
mov dword [ebp - 0x468], 0x1c
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.00405210
mov edx, dword [ebp - 0x320]
mov byte [ebp - 4], 0x11
cmp edx, 8
jb 0x4359cc
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4359c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435a02
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x308]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x435a12
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435a08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x435a08
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [edi + 0x78], 0
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 7
mov word [ebp - 0x34c], ax
mov byte [ebp - 4], 0x13
call fcn.00410410
lea edx, [ebp - 0x34c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd0]
push 0x4fa188
lea ecx, [ebp - 0x31c]
call fcn.00404c50
lea eax, [ebp - 0x31c]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
lea ecx, [ebp - 0x34c]
cmp eax, ecx
je 0x435a9b
cmp dword [ebp - 0x338], 8
push dword [ebp - 0x33c]
cmovae ecx, dword [ebp - 0x34c]
push ecx
mov ecx, eax
call fcn.004033b0
mov edx, dword [ebp - 0x308]
mov byte [ebp - 4], 0x13
cmp edx, 8
jb 0x435ae1
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435ad7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x435ad7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push str.fail
mov ecx, ebx
call fcn.00432570
test al, al
jne 0x435b10
call fcn.0042d360
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0043c6f0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0x15
mov ebx, 0x1d
jmp 0x435b2e
push 0x4f1b84
lea ecx, [ebp - 0x31c]
call fcn.00404c50
mov esi, eax
mov dword [ebp - 4], 0x16
mov ebx, 0x1e
push 0x4fa19c
lea ecx, [ebp - 0x334]
mov dword [ebp - 0x468], ebx
call fcn.00404c50
push esi
lea eax, [ebp - 0x334]
mov dword [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.00405210
mov edx, dword [ebp - 0x320]
mov byte [ebp - 4], 0x16
cmp edx, 8
jb 0x435ba9
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435b9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435c66
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
mov dword [ebp - 4], 0x15
test bl, 2
je 0x435c2e
mov edx, dword [ebp - 0x308]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x435c11
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435c07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435c66
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 7
mov word [ebp - 0x31c], ax
mov dword [ebp - 4], 0x13
test bl, 1
je 0x435c76
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x435c76
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435c6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x435c6c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push str.timetostart
lea ecx, [ebp - 0x334]
call fcn.00404c50
mov byte [ebp - 4], 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
lea eax, [ebp - 0x31c]
shr edx, 6
push edx
push eax
call fcn.0043c6f0
add esp, 8
push eax
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.00405210
mov edx, dword [ebp - 0x308]
mov byte [ebp - 4], 0x18
cmp edx, 8
jb 0x435d0a
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435d00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435d5d
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x320]
xor eax, eax
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 7
mov word [ebp - 0x31c], ax
mov byte [ebp - 4], 0x13
cmp edx, 8
jb 0x435d6d
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435d63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x435d63
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push str.updfrom
lea ecx, [ebp - 0x334]
call fcn.00404c50
push dword [0x4fef28]
lea eax, [ebp - 0x31c]
mov byte [ebp - 4], 0x1a
push eax
call fcn.004104b0
mov ecx, eax
call fcn.00413a10
push eax
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.00405210
mov edx, dword [ebp - 0x308]
mov byte [ebp - 4], 0x1a
cmp edx, 8
jb 0x435df8
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435dee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435e4b
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x320]
xor eax, eax
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 7
mov word [ebp - 0x31c], ax
mov byte [ebp - 4], 0x13
cmp edx, 8
jb 0x435e5b
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435e51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x435e51
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push str.source
lea ecx, [ebp - 0x334]
call fcn.00404c50
push dword [0x4fef48]
lea eax, [ebp - 0x31c]
mov byte [ebp - 4], 0x1c
push eax
call fcn.004104b0
mov ecx, eax
call fcn.00413a10
push eax
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.00405210
mov edx, dword [ebp - 0x308]
mov byte [ebp - 4], 0x1c
cmp edx, 8
jb 0x435ee6
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435edc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435f39
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x320]
xor eax, eax
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 7
mov word [ebp - 0x31c], ax
mov byte [ebp - 4], 0x13
cmp edx, 8
jb 0x435f49
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435f3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x435f3f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push str.reportversion
lea ecx, [ebp - 0x31c]
call fcn.00404c50
push 0x4fa1a4
lea eax, [ebp - 0x31c]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.004239c0
mov edx, dword [ebp - 0x308]
mov byte [ebp - 4], 0x13
cmp edx, 8
jb 0x435fc1
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435fb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x435fb7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push 3
push dword [ebp - 0x4ac]
lea eax, [ebp - 0x450]
mov dword [ebp - 0x460], 0
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4c0], 0
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 0
mov dword [ebp - 0x4cc], 0
mov dword [ebp - 0x4c8], 1
mov dword [ebp - 0x4c4], 6
mov dword [ebp - 0x454], eax
call fcn.004213a0
push 3
push dword [ebp - 0x4a0]
lea eax, [ebp - 0x3cc]
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x3d0]
mov dword [ebp - 0x3d0], eax
call fcn.004213a0
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x4d0]
push eax
push dword [ebp - 0x454]
push dword [ebp - 0x3d0]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea ecx, [ebp - 0x3cc]
mov esi, eax
mov eax, dword [ebp - 0x3d0]
cmp eax, ecx
je 0x43609b
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x454]
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0x13
cmp eax, ecx
je 0x4360b5
push eax
call edi
add esp, 4
test esi, esi
jne 0x436314
cmp dword [ebp - 0x460], esi
je 0x4362f4
push str.updateserverip
lea ecx, [ebp - 0x31c]
call fcn.00404c50
mov eax, dword [ebp - 0x460]
mov byte [ebp - 4], 0x20
mov esi, dword [eax + 0x18]
test esi, esi
jne 0x436108
xor eax, eax
mov dword [ebp - 0x324], esi
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
jmp 0x436232
push 0x80
lea eax, [ebp - 0x3cc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movzx eax, word [esi]
add esp, 0xc
sub eax, 2
je 0x4361bd
sub eax, 0x15
jne 0x4361e9
movzx ecx, byte [esi + 0x16]
movzx eax, byte [esi + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x15]
push ecx
movzx ecx, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x13]
push ecx
movzx ecx, byte [esi + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x11]
push ecx
movzx ecx, byte [esi + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xf]
push ecx
movzx ecx, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
push ecx
movzx ecx, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xb]
push ecx
movzx ecx, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
push ecx
movzx ecx, byte [esi + 8]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x3cc]
push ecx
push str._X:_X:_X:_X:_X:_X:_X:_X
push 0x40
push eax
mov eax, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
call eax
add esp, 0x2c
jmp 0x4361e9
movzx eax, byte [esi + 7]
push eax
movzx eax, byte [esi + 6]
push eax
movzx eax, byte [esi + 5]
push eax
movzx eax, byte [esi + 4]
push eax
push str._d._d._d._d
lea eax, [ebp - 0x3cc]
push 0x40
push eax
mov eax, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
call eax
add esp, 0x1c
xor eax, eax
mov dword [ebp - 0x324], 0
lea ecx, [ebp - 0x3cc]
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436210
sub ecx, edx
lea eax, [ebp - 0x3cc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x334]
call fcn.004033b0
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x45c]
call fcn.00423b10
mov ecx, eax
call fcn.00405210
mov edx, dword [ebp - 0x320]
mov byte [ebp - 4], 0x20
cmp edx, 8
jb 0x436296
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43628c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4362cc
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x308]
mov byte [ebp - 4], 0x13
cmp edx, 8
jb 0x4362dc
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4362d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4362d2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
push dword [ebp - 0x460]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [ebp - 0x460], 0
jmp 0x43633a
push str.IpAddress_list_is_empty
push str.kupdate::KWpsUpdateImpl::_collectSendUpdateRequestResultInfo
push 0x1076
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 0
call fcn.00412750
add esp, 0x14
jmp 0x43633a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Failed_to_getaddrinfo:_0x_08x__getlasterror:_0x_08x
push str.kupdate::KWpsUpdateImpl::_collectSendUpdateRequestResultInfo
push 0x107b
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 0
call fcn.00412750
add esp, 0x1c
call fcn.0044eed0
push str.sendupdaterequestresult
lea ecx, [ebp - 0x334]
call fcn.00404c50
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.0044ef80
add esp, 8
push 0
push 0
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 0x23
push ecx
push eax
call fcn.0044eed0
mov ecx, eax
call fcn.0044f210
mov edx, dword [ebp - 0x308]
cmp edx, 8
jb 0x4363c1
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4363b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436410
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x320]
xor eax, eax
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 7
mov word [ebp - 0x31c], ax
cmp edx, 8
jb 0x436420
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436416
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x436416
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x338]
cmp edx, 8
jb 0x436462
mov ecx, dword [ebp - 0x34c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436458
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x436458
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x33c], 0
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x338], 7
mov word [ebp - 0x34c], ax
call fcn.00414df0
jmp 0x4364aa
push str.Failed_to__collectSendUpdateRequestResultInfo:_invalid_params
push str.kupdate::KWpsUpdateImpl::_collectSendUpdateRequestResultInfo
push 0x101d
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 0
call fcn.00412750
add esp, 0x14
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.004bee49
mov esp, ebp
pop ebp
ret 0x10
push 0x541988
call fcn.004bf206
add esp, 4
cmp dword [0x541988], 0xffffffff
jne 0x435009
lea ecx, [ebp - 0x461]
mov dword [ebp - 4], 0
call fcn.00423ef0
push 0x541988
mov byte [0x541984], al
mov dword [ebp - 4], 0xffffffff
call fcn.004bf1bc
add esp, 4
jmp 0x435009