Function at 0x4028a0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea ecx, [ebp - 0x404]
mov esi, str.http:__feedback.youdao.com_desktop_crashupload_crashupload.jsp
push edi
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x614], edi
mov edx, 0x68
sub esi, eax
movzx eax, word [esi + ecx + 2]
lea ecx, [ecx + 2]
mov word [ecx - 2], dx
mov edx, eax
test ax, ax
jne 0x4028d1
xor eax, eax
xor esi, esi
mov word [ecx], ax
cmp word [ebp - 0x404], ax
je 0x40293d
nop dword [eax]
nop dword [eax + eax]
movzx ecx, word [ebp + eax - 0x402]
test cx, cx
je 0x40293d
movzx edx, word [ebp + eax - 0x400]
test dx, dx
je 0x40293d
cmp word [ebp + eax - 0x404], 0x3a
jne 0x40292e
cmp ecx, 0x2f
jne 0x40292e
cmp edx, ecx
je 0x40299b
inc esi
lea eax, [esi + esi]
cmp word [ebp + eax - 0x404], 0
jne 0x402900
xor esi, esi
mov dword [ebp - 0x610], esi
mov dword [edi], 1
lea edx, [ebp - 0x404]
mov dword [ebp - 0x620], 0
cmp word [edx + esi*2], 0
lea edx, [edx + esi*2]
push ebx
mov ebx, esi
je 0x402c44
mov eax, edx
nop
movzx eax, word [eax]
cmp eax, 0x3a
je 0x402a49
cmp eax, 0x2f
je 0x402a53
inc ebx
lea eax, [ebp - 0x404]
cmp word [eax + ebx*2], 0
lea eax, [eax + ebx*2]
jne 0x402970
jmp 0x402a53
lea eax, [ebp - 0x608]
mov dword [edi], 0
push eax
lea eax, [ebp - 0x60c]
add esi, 3
push eax
push ecx
mov edx, str.http
mov dword [ebp - 0x610], esi
lea ecx, [ebp - 0x404]
call fcn.00403280
add esp, 0xc
cmp dword [ebp - 0x60c], 1
je 0x402945
lea eax, [ebp - 0x608]
mov edx, str.https
push eax
lea eax, [ebp - 0x60c]
push eax
push ecx
lea ecx, [ebp - 0x404]
call fcn.00403280
add esp, 0xc
cmp dword [ebp - 0x60c], 1
jne 0x402a0f
mov dword [edi], 2
jmp 0x40294b
lea eax, [ebp - 0x608]
mov edx, 0x419df0
push eax
lea eax, [ebp - 0x60c]
push eax
push ecx
lea ecx, [ebp - 0x404]
call fcn.00403280
add esp, 0xc
cmp dword [ebp - 0x60c], 1
jne 0x40294b
mov dword [edi], 3
jmp 0x40294b
mov dword [ebp - 0x620], 1
cmp esi, ebx
je 0x402c44
lea eax, [ebx - 1]
lea ecx, [edi + 0xc]
mov dword [ebp - 0x608], ecx
cmp esi, eax
jg 0x402a99
mov edi, dword [ebp - 0x608]
sub eax, esi
inc eax
mov esi, edx
mov ecx, eax
shr ecx, 1
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
mov ecx, dword [ebp - 0x608]
mov esi, dword [ebp - 0x610]
mov edi, dword [ebp - 0x614]
lea ecx, [ecx + eax*2]
lea eax, [ebx - 1]
xor edx, edx
mov word [ecx], dx
mov edx, esi
push eax
lea ecx, [ebp - 0x404]
call fcn.00402820
add esp, 4
lea ecx, [ebp - 0x404]
test eax, eax
lea eax, [ebx + ebx]
je 0x402b7a
movzx edx, word [ecx + eax]
add ecx, eax
mov dword [ebp - 0x618], ecx
mov dword [ebp - 0x61c], edx
cmp eax, 0x400
jae 0x402d3c
xor eax, eax
lea edx, [ebp - 0x404]
mov word [ecx], ax
lea edx, [edx + esi*2]
xor ecx, ecx
cmp word [edx], ax
je 0x402b4e
movzx eax, word [edx]
mov edi, edx
mov dword [ebp - 0x60c], 0x80
xor esi, esi
cmp ax, word [ebp - 0x60c]
jae 0x402b23
mov al, byte [edi]
and al, 0x7f
mov dword [ebp - 0x608], 1
mov byte [ebp + ecx - 0x604], al
jmp 0x402b35
mov word [ebp + ecx - 0x604], ax
mov dword [ebp - 0x608], 2
add ecx, dword [ebp - 0x608]
inc esi
movzx eax, word [edx + esi*2]
lea edi, [edx + esi*2]
test ax, ax
jne 0x402b03
mov edi, dword [ebp - 0x614]
mov eax, dword [ebp - 0x618]
mov byte [ebp + ecx - 0x604], 0
mov ecx, dword [ebp - 0x61c]
mov word [eax], cx
lea eax, [ebp - 0x604]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi + 4], eax
jmp 0x402c51
movzx edx, word [ecx + eax]
add ecx, eax
mov dword [ebp - 0x61c], ecx
mov dword [ebp - 0x618], edx
cmp eax, 0x400
jae 0x402d3c
xor eax, eax
lea edx, [ebp - 0x404]
mov word [ecx], ax
lea edx, [edx + esi*2]
xor ecx, ecx
cmp word [edx], ax
je 0x402c0b
movzx eax, word [edx]
mov esi, edx
mov dword [ebp - 0x60c], 0x80
xor edi, edi
nop dword [eax]
cmp ax, word [ebp - 0x60c]
jae 0x402be0
mov al, byte [esi]
and al, 0x7f
mov dword [ebp - 0x608], 1
mov byte [ebp + ecx - 0x604], al
jmp 0x402bf2
mov word [ebp + ecx - 0x604], ax
mov dword [ebp - 0x608], 2
add ecx, dword [ebp - 0x608]
inc edi
movzx eax, word [edx + edi*2]
lea esi, [edx + edi*2]
test ax, ax
jne 0x402bc0
mov edi, dword [ebp - 0x614]
mov eax, dword [ebp - 0x61c]
mov byte [ebp + ecx - 0x604], 0
mov ecx, dword [ebp - 0x618]
mov word [eax], cx
lea eax, [ebp - 0x604]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x402c38
mov dword [edi + 4], eax
jmp 0x402c51
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [edi + 4], eax
jmp 0x402c51
xor eax, eax
mov dword [edi + 4], 0
mov word [edi + 0xc], ax
cmp dword [ebp - 0x620], 0
je 0x402cc9
lea ecx, [ebx + 1]
lea edx, [ebp - 0x404]
mov ebx, ecx
cmp word [edx + ecx*2], 0x2f
lea edx, [edx + ecx*2]
je 0x402cc9
mov eax, edx
cmp word [eax], 0
je 0x402c88
inc ebx
lea eax, [ebp - 0x404]
cmp word [eax + ebx*2], 0x2f
lea eax, [eax + ebx*2]
jne 0x402c71
cmp ecx, ebx
je 0x402cc9
lea eax, [ebx + ebx]
cmp eax, 0x400
jae 0x402d3c
xor ecx, ecx
mov word [ebp + eax - 0x404], cx
movzx edx, word [edx]
test dx, dx
je 0x402cc4
mov esi, edx
lea edx, [esi - 0x30]
cmp dx, 9
ja 0x402cc4
lea ecx, [ecx + ecx*4]
mov eax, esi
lea ecx, [ecx - 0x18]
lea ecx, [eax + ecx*2]
jmp 0x402cb1
mov dword [edi + 8], ecx
jmp 0x402cd0
mov dword [edi + 8], 0x50
lea esi, [ebp - 0x404]
cmp word [esi + ebx*2], 0
lea esi, [esi + ebx*2]
pop ebx
lea ecx, [edi + 0x20c]
jne 0x402d06
mov esi, 0x419df8
mov edx, 0x2f
sub esi, ecx
mov word [ecx], dx
lea ecx, [ecx + 2]
movzx eax, word [esi + ecx]
mov edx, eax
test ax, ax
jne 0x402cf3
jmp 0x402d22
movzx edx, word [esi]
test dx, dx
je 0x402d22
sub esi, ecx
movzx eax, word [esi + ecx + 2]
mov word [ecx], dx
add ecx, 2
mov edx, eax
test ax, ax
jne 0x402d10
xor eax, eax
mov word [ecx], ax
mov eax, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004035f4
mov esp, ebp
pop ebp
ret
call fcn.00403728
int3