Function at 0x43ab40
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503445
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x567e00]
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
mov dword [ebp - 0x29c], 0
cmp dword [esi + 0x14], 8
jb 0x43ab85
mov eax, dword [esi]
push eax
push str.assignKdsUrl:__s
push str._anonymous_namespace::assignKdsUrl
push 0x63
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 9
call fcn.00412230
add esp, 0x18
mov dword [ebp - 0x27c], 0
xor eax, eax
mov dword [ebp - 0x26c], 0
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
push 4
push str..kds
call fcn.00403a70
push 0
lea eax, [ebp - 0x27c]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.00451330
add esp, 0xc
test al, al
jne 0x43ac17
push str.not_assignKdsUrl
push str._anonymous_namespace::assignKdsUrl
push 0x68
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 9
call fcn.00412230
add esp, 0x14
jmp 0x43b1f5
lea edi, [esi + 0x18]
cmp edi, esi
je 0x43ac33
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43ac28
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.00403a70
push 4
xor eax, eax
mov dword [ebp - 0x264], 0
push str..exe
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
call fcn.00403a70
mov eax, dword [esi + 0x10]
xor edx, edx
mov ecx, eax
mov dword [ebp - 0x24c], 0
sub ecx, dword [ebp - 0x26c]
cmp eax, ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x23c], 0
cmovb ecx, eax
mov dword [ebp - 0x238], 7
cmp dword [esi + 0x14], 8
mov eax, esi
mov word [ebp - 0x24c], dx
jb 0x43acb1
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.00403a70
cmp dword [ebp - 0x250], 8
lea eax, [ebp - 0x264]
push dword [ebp - 0x254]
cmovae eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 2
call fcn.004038f0
xor edx, edx
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [ebp - 0x29c], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2a0], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x2a4], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x2a8], 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 - 0x2ac], ecx
cmp esi, eax
je 0x43ad6c
mov ecx, esi
call fcn.00403430
mov eax, dword [ebp - 0x29c]
mov dword [esi], ebx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2a4]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x2a8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x2ac]
mov dword [esi + 0x14], eax
jmp 0x43ad9c
cmp ecx, 8
jb 0x43ad9c
lea ecx, [ecx*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x43ad92
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43add2
push ecx
push ebx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x238]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x43ade2
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43add8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43add8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
call fcn.0042ccb0
mov ecx, eax
call fcn.00490910
test al, al
jne 0x43ae12
push str.not_UseCustomizeTorrentSvr
push str._anonymous_namespace::assignKdsUrl
push 0x72
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 9
call fcn.00412230
add esp, 0x14
jmp 0x43b1b9
push str.UseCustomizeTorrentSvr
push str._anonymous_namespace::assignKdsUrl
push 0x76
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 4
call fcn.00412230
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x2e4], 0
add esp, 0x20
mov dword [ebp - 0x2d8], eax
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d0], 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 - 0x2e8], 0x3c
mov dword [ebp - 0x2d4], 0x104
jb 0x43aee2
mov eax, dword [edi]
lea ecx, [ebp - 0x2e8]
push ecx
push 0
push dword [esi + 0x28]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x43af23
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetCrackUrlW_fail:__0x08X
push str._anonymous_namespace::assignKdsUrl
push 0x82
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 5
call fcn.00412230
add esp, 0x18
jmp 0x43b1b9
call fcn.0042ccb0
lea ecx, [ebp - 0x234]
push ecx
mov ecx, eax
call fcn.00490790
cmp dword [ebp - 0x224], 0
mov byte [ebp - 4], 3
jne 0x43af52
mov eax, 0x8a
mov ecx, str.customizeTorrentSvr_is_empty
jmp 0x43b0f8
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
push str.CustomizeTorrentSvr_is__s
push str._anonymous_namespace::assignKdsUrl
push 0x8e
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 4
call fcn.00412230
add esp, 0x18
lea ecx, [ebp - 0x294]
push 0x5193b4
call fcn.004050b0
push 0
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x234]
mov ebx, 0xd
push eax
mov dword [ebp - 0x29c], ebx
call fcn.00451330
add esp, 0xc
test al, al
jne 0x43b005
push 0x5193cc
lea ecx, [ebp - 0x24c]
call fcn.004050b0
push 0
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x234]
mov ebx, 0xf
push eax
mov dword [ebp - 0x29c], ebx
call fcn.00451330
add esp, 0xc
mov byte [ebp - 0x295], 1
test al, al
je 0x43b00c
mov byte [ebp - 0x295], 0
mov dword [ebp - 4], 4
test bl, 2
je 0x43b074
mov edx, dword [ebp - 0x238]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x43b057
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b04d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b0b2
push edx
push ecx
call fcn.004c6f6f
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov dword [ebp - 4], 3
test bl, 1
je 0x43b0c2
mov edx, dword [ebp - 0x280]
cmp edx, 8
jb 0x43b0c2
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b0b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43b0b8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
cmp byte [ebp - 0x295], 0
je 0x43b0d7
mov eax, 0x94
mov ecx, str.customizeTorrentSvr_check_fail
jmp 0x43b0f8
push 0
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call fcn.004144f0
mov esi, eax
cmp esi, 0xffffffff
jne 0x43b110
mov eax, 0x9b
mov ecx, str.replace_failed__host_name_not_found
push ecx
push str._anonymous_namespace::assignKdsUrl
push eax
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 5
call fcn.00412230
add esp, 0x14
jmp 0x43b15c
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b120
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.0043c940
push str.https:__
push esi
push 0
mov ecx, edi
call fcn.0043c940
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x43b19c
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b192
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b227
push edx
push ecx
call fcn.004c6f6f
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 - 0x250]
cmp edx, 8
jb 0x43b1f5
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b1eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43b227
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x43b237
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b22d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43b22d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
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.004c6f8b
mov esp, ebp
pop ebp
ret