Function at 0x407a83
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
push 0x24
call fcn.00448000
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4f5599
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0x80000301
push 0
push 7
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x407b02
mov eax, 0x4f44e0
push eax
push 2
mov ebx, 0x448830
call fcn.0044800c
add esp, 0x1c
mov dword [ebp - 0x24], eax
push 0x4f5353
push dword [ebp - 0x24]
call fcn.0040125d
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x407b46
push ebx
call fcn.00448006
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x407bc6
push 0x80000301
push 0
push 8
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x407b71
mov eax, 0x4f44e0
push eax
push 2
mov ebx, 0x448830
call fcn.0044800c
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push str.https:__
push dword [ebp - 0x2c]
call fcn.0040125d
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x407bb5
push ebx
call fcn.00448006
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x407bc6
mov eax, 1
jmp 0x407bcb
mov eax, 0
test eax, eax
je 0x407c09
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x4f5353
mov ecx, 2
call fcn.00401365
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407c03
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push dword [ebp + 8]
call fcn.00408ec4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407c4c
push ebx
call fcn.00448006
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 8]
call fcn.004028ca
mov eax, 0
cmp eax, ecx
jl 0x407c6e
push 1
call fcn.00447ff4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x407c8b
mov eax, 0x4f44e0
push eax
push 1
mov ebx, 0x449660
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407cb7
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
call fcn.004028ca
mov eax, 1
cmp eax, ecx
jl 0x407cdb
push 1
call fcn.00447ff4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
cmp dword [ebp + 0xc], 1
mov eax, 0
sete al
test eax, eax
je 0x407d01
mov eax, 0x4f5364
jmp 0x407d06
mov eax, 0x4f5369
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x407d1c
mov eax, 0x4f44e0
push eax
push 1
mov ebx, 0x449660
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x407d42
push ebx
call fcn.00448006
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407d58
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
call fcn.004028ca
mov eax, 1
cmp eax, ecx
jl 0x407d7c
push 1
call fcn.00447ff4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x407d99
mov eax, 0x4f476c
push eax
push 1
mov ebx, 0x44a190
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x407dc3
push ebx
call fcn.00448006
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
call fcn.004028ca
mov eax, 2
cmp eax, ecx
jl 0x407de5
push 1
call fcn.00447ff4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x5c]
mov eax, dword [ebx]
test eax, eax
jne 0x407e02
mov eax, 0x4f44e0
push eax
push 1
mov ebx, 0x449660
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407e2e
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
cmp dword [ebp + 0x3c], 1
jne 0x407e74
push str.User_Agent:_Mozilla_5.0_Linux__U__Android_4.4.2__zh__SM_N9009__AppleWebKit_533.0__KHTML__like_Gecko__Version_4.0_Mobile_Safari_533.1_r_n
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401365
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407e6e
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
push 0x4f53f4
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407ead
mov eax, 0x4f44e0
push eax
push 4
mov ebx, 0x448b20
call fcn.0044800c
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x407f03
push str.Accept:_image_gif__image_bmp__image_x_xbitmap__image_jpeg__image_pjpeg__application_x_shockwave_flash__application_vnd.ms_excel__application_vnd.ms_powerpoint__application_msword__application_json__application_javascript__text_javascript____r_n
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401365
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407efd
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
push str.Referer
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407f3c
mov eax, 0x4f44e0
push eax
push 4
mov ebx, 0x448b20
call fcn.0044800c
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x408077
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
push str.RefererNo
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407f95
mov eax, 0x4f44e0
push eax
push 4
mov ebx, 0x448b20
call fcn.0044800c
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x407ffa
push 0x4f5502
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 4
call fcn.00401365
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407fef
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
jmp 0x408077
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 1
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4f44e0
push reloc.WS2_32.dll_connect
push 0
push str.RefererNo
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x408045
mov eax, 0x4f44e0
push eax
push 6
mov ebx, 0x4492e0
call fcn.0044800c
add esp, 0x4c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408071
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
push str.Accept_Language
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4080b0
mov eax, 0x4f44e0
push eax
push 4
mov ebx, 0x448b20
call fcn.0044800c
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x408106
push str.Accept_Language:_zh_cn_r_n
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401365
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408100
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x4f44e0
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.0040125d
add esp, 8
cmp eax, 0
je 0x4081e7
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00409866
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40814a
push ebx
call fcn.00448006
add esp, 4
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x1c]
call fcn.00409ab7
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408169
push ebx
call fcn.00448006
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40817f
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x4f5502
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push 0x4f5538
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 4
call fcn.00401365
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4081bf
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp + 0x1c]
lea eax, [ebp - 4]
push eax
call fcn.0040b5d8
mov ebx, dword [ebp - 8]
call fcn.004028ca
mov eax, 3
cmp eax, ecx
jl 0x408205
push 1
call fcn.00447ff4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x408222
mov eax, 0x4f44e0
push eax
push 1
mov ebx, 0x449660
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40824e
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
call fcn.004028ca
mov eax, 4
cmp eax, ecx
jl 0x408272
push 1
call fcn.00447ff4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x408296
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00448000
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4082a9
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
call fcn.004028ca
mov eax, 5
cmp eax, ecx
jl 0x4082cd
push 1
call fcn.00447ff4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x4082ea
mov eax, 0x4f44e0
push eax
push 1
mov ebx, 0x449660
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408316
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
call fcn.004028ca
mov eax, 6
cmp eax, ecx
jl 0x40833a
push 1
call fcn.00447ff4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_bind
push 0
push dword [ebp + 0x4c]
push 1
mov ebx, 0x44a190
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x408374
mov eax, 0x4f44e0
push eax
push 1
mov ebx, 0x449660
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40839a
push ebx
call fcn.00448006
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4083b0
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
push 0
mov ebx, 0x44ad80
call fcn.0044800c
add esp, 4
mov dword [ebp - 0x10], eax
push 0xa0000005
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0x44b980
call fcn.0044800c
add esp, 0x1c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x408408
mov eax, 0x4f44e0
jmp 0x408e47
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebp - 0x10]
push 0x40e99b
call fcn.0040c657
mov dword [ebp - 0x14], eax
push 0
mov ebx, 0x44c410
call fcn.0044800c
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x68], 0
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
fild dword [ebp + 0x64]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x4f5541]
fstp qword [ebp - 0x34]
cmp dword [ebp - 0x24], 0
je 0x408476
mov edx, 0x40dd4c00
mov eax, 0
jmp 0x40847c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00401e8f
mov dword [ebp + 0x64], eax
mov dword [ebp - 0x24], esp
push 0x4bf
push dword [ebp + 0x64]
push 0
lea eax, [ebp - 0x14]
push eax
push 1
mov eax, 0xd
call fcn.00447ffa
cmp dword [ebp - 0x24], esp
je 0x4084c2
push 6
call fcn.00447ff4
add esp, 4
mov dword [ebp - 0x1c], eax
push 0
mov ebx, 0x44c410
call fcn.0044800c
add esp, 4
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x34]
fsub qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fild dword [ebp + 0x64]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x3c]
fsub qword [ebp - 0x44]
fcomp qword [0x4f5549]
fnstsw ax
test ah, 1
jne 0x408513
mov dword [ebp - 0x1c], 0x102
push 0
mov ebx, 0x44c420
call fcn.0044800c
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x408543
cmp dword [ebp - 0x1c], 0x102
je 0x408543
mov eax, 1
jmp 0x408548
mov eax, 0
test eax, eax
jne 0x40848d
cmp dword [ebp - 0x1c], 0x102
jne 0x408666
push dword [ebp - 0x14]
call fcn.0040c6a2
mov dword [ebp - 0x24], esp
push dword [ebp - 0x14]
mov eax, 0xe
call fcn.00447ffa
cmp dword [ebp - 0x24], esp
je 0x408587
push 6
call fcn.00447ff4
add esp, 4
mov ecx, 1
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00448000
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 1
add edi, 4
mov ebx, dword [ebp - 8]
call fcn.004028ca
pop edx
test ecx, ecx
je 0x4085e1
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4085d7
push ebx
call fcn.00448006
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x4085c6
pop edx
pop edi
test edx, edx
je 0x4085ef
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 8]
call fcn.00448006
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.004028ca
mov eax, 0
cmp eax, ecx
jl 0x40861c
push 1
call fcn.00447ff4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_connect
push 0
push 0x4f44e0
push 1
mov ebx, 0x449660
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40865b
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
jmp 0x408db8
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x44af80
call fcn.0044800c
add esp, 0x10
push 0xa0000005
push 0
lea eax, [ebp - 8]
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0x44b430
call fcn.0044800c
add esp, 0x1c
test eax, eax
je 0x408db8
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x44add0
call fcn.0044800c
add esp, 0x10
mov ebx, dword [ebp - 8]
call fcn.00407a6a
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 7
jne 0x408db8
mov ebx, dword [ebp - 8]
call fcn.004028ca
mov eax, 5
cmp eax, ecx
jl 0x408700
push 1
call fcn.00447ff4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x40871d
mov eax, 0x4f476c
push eax
push 1
mov ebx, 0x44a190
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408749
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
cmp dword [ebp + 0x58], 0
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x408946
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.ocation
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x40879b
mov eax, 0x4f44e0
push eax
push 4
mov ebx, 0x448b20
call fcn.0044800c
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x408928
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 1
mov eax, 0x4f5502
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 1
mov eax, str.ocation:
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x34]
call fcn.00403b58
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408816
push ebx
call fcn.00448006
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x408826
push ebx
call fcn.00448006
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40883c
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x408863
mov eax, 0x4f44e0
push eax
push 2
mov ebx, 0x448830
call fcn.0044800c
add esp, 0x1c
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40888c
mov eax, 0x4f44e0
push eax
push 1
mov ebx, 0x448cf0
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4088b2
push ebx
call fcn.00448006
add esp, 4
push str.http
push dword [ebp - 0x28]
call fcn.0040125d
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4088e0
push ebx
call fcn.00448006
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x408923
mov ebx, dword [ebp + 0x54]
push dword [ebx]
push dword [ebp - 4]
push 0x4f5353
mov ecx, 3
call fcn.00401365
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40891d
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
jmp 0x408946
mov eax, 0x4f44e0
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408940
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
call fcn.004028ca
mov eax, 1
cmp eax, ecx
jl 0x408964
push 1
call fcn.00447ff4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x408981
mov eax, 0x4f476c
push eax
push 1
mov ebx, 0x44a190
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4089ad
push ebx
call fcn.00448006
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x44add0
call fcn.0044800c
add esp, 0x10
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00409ab7
mov ebx, eax
test ebx, ebx
je 0x4089e9
push ebx
call fcn.00448006
add esp, 4
mov ebx, dword [ebp - 8]
call fcn.004028ca
mov eax, 0
cmp eax, ecx
jl 0x408a07
push 1
call fcn.00447ff4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x408a24
mov eax, 0x4f476c
push eax
push 1
mov ebx, 0x44a190
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x408a4e
push ebx
call fcn.00448006
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x44], 1
je 0x408aec
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x408a71
mov eax, 0x4f44e0
push eax
push 1
mov ebx, 0x448cf0
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.charsetutf
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x408ab8
mov eax, 0x4f44e0
push eax
push 4
mov ebx, 0x448b20
call fcn.0044800c
add esp, 0x34
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408ade
push ebx
call fcn.00448006
add esp, 4
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x408aec
xor eax, eax
jmp 0x408af1
mov eax, 1
test eax, eax
je 0x408b73
mov ebx, dword [ebp - 8]
call fcn.004028ca
mov eax, 0
cmp eax, ecx
jl 0x408b17
push 1
call fcn.00447ff4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x408b34
mov eax, 0x4f476c
push eax
push 1
mov ebx, 0x44a190
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040c708
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408b66
push ebx
call fcn.00448006
add esp, 4
mov eax, dword [ebp - 0x2c]
jmp 0x408e47
mov ebx, dword [ebp - 8]
call fcn.004028ca
mov eax, 0
cmp eax, ecx
jl 0x408b91
push 1
call fcn.00447ff4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x408bae
mov eax, 0x4f476c
push eax
push 1
mov ebx, 0x44a190
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x408bd8
push ebx
call fcn.00448006
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push 0x258
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x408bfb
mov eax, 0x4f44e0
push eax
push 2
mov ebx, 0x448830
call fcn.0044800c
add esp, 0x1c
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x408c24
mov eax, 0x4f44e0
push eax
push 1
mov ebx, 0x448cf0
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408c4a
push ebx
call fcn.00448006
add esp, 4
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.text_html__charsetutf_8
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x408c7b
mov eax, 0x4f44e0
push eax
push 4
mov ebx, 0x448b20
call fcn.0044800c
add esp, 0x34
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408ca1
push ebx
call fcn.00448006
add esp, 4
cmp dword [ebp - 0x2c], 0xffffffff
je 0x408d3e
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x408cc0
mov eax, 0x4f44e0
push eax
push 1
mov ebx, 0x448cf0
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x34], eax
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.charsetgbk
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x408d07
mov eax, 0x4f44e0
push eax
push 4
mov ebx, 0x448b20
call fcn.0044800c
add esp, 0x34
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408d2d
push ebx
call fcn.00448006
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
jne 0x408d3e
mov eax, 1
jmp 0x408d43
mov eax, 0
test eax, eax
je 0x408d5f
lea eax, [ebp - 0x20]
push eax
call fcn.0040c708
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
jmp 0x408e47
mov ebx, dword [ebp - 8]
call fcn.004028ca
mov eax, 0
cmp eax, ecx
jl 0x408d7d
push 1
call fcn.00447ff4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x408d9a
mov eax, 0x4f476c
push eax
push 1
mov ebx, 0x44a190
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
jmp 0x408e47
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00409ab7
mov ebx, eax
test ebx, ebx
je 0x408dd2
push ebx
call fcn.00448006
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x44add0
call fcn.0044800c
add esp, 0x10
mov ebx, dword [ebp - 8]
call fcn.004028ca
mov eax, 0
cmp eax, ecx
jl 0x408e0c
push 1
call fcn.00447ff4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x408e29
mov eax, 0x4f476c
push eax
push 1
mov ebx, 0x44a190
call fcn.0044800c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
jmp 0x408e47
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408e58
push ebx
call fcn.00448006
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408e76
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408e72
imul eax, dword [ebx]
jmp 0x408e67
mov ecx, eax
test ecx, ecx
je 0x408e95
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408e8e
push ebx
push eax
call fcn.00448006
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408e7c
call fcn.00448006
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x408ead
push ebx
call fcn.00448006
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x408ebd
push ebx
call fcn.00448006
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x6c