Function at 0x43a0e0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e074c
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
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 esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x43a11b
mov eax, dword [esi]
push eax
push str.assignKdsUrl:__s
push str._anonymous_namespace::assignKdsUrl
push 0xb5
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 9
call fcn.00412750
add esp, 0x18
mov dword [ebp - 0x254], 0
xor eax, eax
mov dword [ebp - 0x250], 7
lea ecx, [ebp - 0x264]
mov word [ebp - 0x264], ax
push 4
push str..kds
call fcn.004033b0
push 0
lea eax, [ebp - 0x264]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.0044ff90
add esp, 0xc
test al, al
jne 0x43a1a9
push str.not_assignKdsUrl
push str._anonymous_namespace::assignKdsUrl
push 0xba
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 4
call fcn.00412750
add esp, 0x14
jmp 0x43a667
lea edi, [esi + 0x18]
cmp edi, esi
je 0x43a1c5
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43a1ba
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.004033b0
push 4
xor eax, eax
mov dword [ebp - 0x23c], 0
push str..exe
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.004033b0
mov eax, dword [esi + 0x10]
xor edx, edx
mov ecx, eax
mov byte [ebp - 4], 1
sub ecx, dword [ebp - 0x254]
cmp eax, ecx
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
cmovb ecx, eax
mov word [ebp - 0x27c], dx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43a22f
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x27c]
call fcn.004033b0
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
push dword [ebp - 0x23c]
cmovae eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x27c]
push eax
mov byte [ebp - 4], 2
call fcn.00403230
xor edx, edx
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [ebp - 0x298], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x29c], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x2a0], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x2a4], ecx
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
lea eax, [ebp - 0x294]
mov dword [ebp - 0x2a8], ecx
cmp esi, eax
je 0x43a2ea
mov ecx, esi
call fcn.00402d80
mov eax, dword [ebp - 0x298]
mov dword [esi], ebx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x2a4]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x2a8]
mov dword [esi + 0x14], eax
jmp 0x43a31a
cmp ecx, 8
jb 0x43a31a
lea ecx, [ecx*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x43a310
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a350
push ecx
push ebx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x268]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x43a360
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43a356
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43a356
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
cmp byte [0x54198c], 0
jne 0x43a3c2
push 0
lea eax, [ebp - 0x298]
mov byte [0x54198c], 1
push eax
push str.HKCUSoftwareKingsoftOffice6.0CommonupdateinfoUseCustomizeTorrentSvr
mov dword [ebp - 0x298], 0
call fcn.0044b690
push dword [ebp - 0x298]
push str.useCustomizeTorrentSvr:__d
push str._anonymous_namespace::isUseCustomizeTorrentSvr
push 0x8f
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 4
call fcn.00412750
add esp, 0x24
cmp dword [ebp - 0x298], 1
sete al
mov byte [0x54198d], al
jmp 0x43a3c7
mov al, byte [0x54198d]
test al, al
jne 0x43a3ee
push str.not_UseCustomizeTorrentSvr
push str._anonymous_namespace::assignKdsUrl
push 0xc4
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 4
call fcn.00412750
add esp, 0x14
jmp 0x43a62b
push str.UseCustomizeTorrentSvr
push str._anonymous_namespace::assignKdsUrl
push 0xc8
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 4
call fcn.00412750
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x2e0], 0
add esp, 0x20
mov dword [ebp - 0x2d4], eax
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2e4], 0x3c
mov dword [ebp - 0x2d0], 0x104
jb 0x43a4c1
mov eax, dword [edi]
lea ecx, [ebp - 0x2e4]
push ecx
push 0
push dword [esi + 0x28]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x43a502
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetCrackUrlW_fail:__0x08X
push str._anonymous_namespace::assignKdsUrl
push 0xd4
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 5
call fcn.00412750
add esp, 0x18
jmp 0x43a62b
lea eax, [ebp - 0x234]
push eax
call fcn.0043b1b0
add esp, 4
cmp dword [ebp - 0x224], 0
mov byte [ebp - 4], 3
je 0x43a5b0
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
push str.kdsUrl_use_customizeTorrentSvr:__s
push str._anonymous_namespace::assignKdsUrl
push 0xdc
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 4
call fcn.00412750
add esp, 0x18
lea eax, [ebp - 0x21c]
mov ecx, edi
push 0
push eax
call fcn.004148a0
lea ecx, [ebp - 0x21c]
mov esi, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a570
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
cmp dword [ebp - 0x220], 8
cmovae eax, dword [ebp - 0x234]
push eax
push ecx
push esi
mov ecx, edi
call fcn.0043c4a0
push 8
push str.https:__
push esi
push 0
mov ecx, edi
call fcn.0041c230
jmp 0x43a5ce
push str.customizeTorrentSvr_is_empty
push str._anonymous_namespace::assignKdsUrl
push 0xe5
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 5
call fcn.00412750
add esp, 0x14
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x43a60e
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43a604
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a699
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x43a667
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43a65d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a699
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x43a6a9
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43a69f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43a69f
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 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