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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.0040f257
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0040f257
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x487f3c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
push 8
call fcn.0040f257
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x487f3c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0040f257
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
mov dword [ebp - 0x18], 0
push 8
call fcn.0040f257
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x487f3c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x20], esp
push 0
mov eax, 0x15
call fcn.0040f24b
cmp dword [ebp - 0x20], esp
je 0x407250
push 6
call fcn.0040f245
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x411ed0
call fcn.0040f251
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x407295
mov eax, 0x487f3c
jmp 0x408352
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4072aa
mov eax, 0x487ed4
push eax
push 1
mov ebx, 0x40f910
call fcn.0040f251
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4072d6
push ebx
call fcn.0040f25d
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x487ed4
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x407315
mov eax, 0x4884ce
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40730f
push ebx
call fcn.0040f25d
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x4073a6
cmp dword [ebp + 0x44], 1
jge 0x407335
mov dword [ebp + 0x44], 0x3a98
jmp 0x407352
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4884d2]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0040154b
mov dword [ebp + 0x44], eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push reloc.WS2_32.dll_connect
push 0
push 0x4884da
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x410e80
call fcn.0040f251
add esp, 0x4c
push 0x487ed4
push dword [0x55e210]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x40746a
push 0xa0000004
push 0
push 0x55e210
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x410e80
call fcn.0040f251
add esp, 0x34
push 0x487ed4
push dword [0x55e214]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x40746a
push 0xa0000301
push 0
push 0x55e21c
push 0xa0000004
push 0
push 0x55e218
push 0xa0000004
push 0
push 0x55e214
push reloc.WS2_32.dll_connect
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x410e80
call fcn.0040f251
add esp, 0x40
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push 0xa0000004
push 0
push dword [ebp + 0xc]
push reloc.WS2_32.dll_connect
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x410e80
call fcn.0040f251
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x4074fc
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push reloc.WS2_32.dll_connect
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x411dd0
call fcn.0040f251
add esp, 0x34
push 0x487ed4
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x407552
push str._r_nAccept:___r_nAccept_Language:_zh_cn_r_nUser_Agent:_Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__Trident_5.0__r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 3
call fcn.00402870
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40754c
push ebx
call fcn.0040f25d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.0040847f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00408ae1
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x407599
push ebx
call fcn.0040f25d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4075a9
push ebx
call fcn.0040f25d
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.00408ff5
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4075c8
push ebx
call fcn.0040f25d
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4075de
push ebx
call fcn.0040f25d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x487ed4
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x40763d
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push reloc.WS2_32.dll_connect
push 0
push str.Cookie
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x410e80
call fcn.0040f251
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x487f01
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407670
mov eax, 0x487ed4
push eax
push 4
mov ebx, 0x40f780
call fcn.0040f251
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x407a67
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x487f01
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4076b7
mov eax, 0x487ed4
push eax
push 3
mov ebx, 0x40ff30
call fcn.0040f251
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4076ef
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4076eb
imul eax, dword [ebx]
jmp 0x4076e0
mov ecx, eax
test ecx, ecx
je 0x40770e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407707
push ebx
push eax
call fcn.0040f25d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4076f5
call fcn.0040f25d
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00401a1d
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x407a5f
mov ebx, dword [ebp - 8]
call fcn.00401b98
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407756
push 4
call fcn.0040f245
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407769
push 1
call fcn.0040f245
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4885d5
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4077a4
mov eax, 0x487ed4
push eax
push 4
mov ebx, 0x40f780
call fcn.0040f251
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x407a57
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4077e2
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4077de
imul eax, dword [ebx]
jmp 0x4077d3
mov ecx, eax
test ecx, ecx
je 0x407801
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4077fa
push ebx
push eax
call fcn.0040f25d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4077e8
call fcn.0040f25d
add esp, 4
mov eax, 0x487f3c
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00401b98
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40782e
push 4
call fcn.0040f245
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407841
push 1
call fcn.0040f245
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4885d5
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407870
mov eax, 0x487ed4
push eax
push 3
mov ebx, 0x40ff30
call fcn.0040f251
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4078a8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4078a4
imul eax, dword [ebx]
jmp 0x407899
mov ecx, eax
test ecx, ecx
je 0x4078c7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4078c0
push ebx
push eax
call fcn.0040f25d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4078ae
call fcn.0040f25d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 2
inc dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
call fcn.00401a1d
cmp dword [ebp - 0xc], eax
jle 0x4078f3
jmp 0x4079b7
mov ebx, dword [ebp - 0x10]
call fcn.00401b98
mov eax, 1
cmp eax, ecx
jl 0x407911
push 1
call fcn.0040f245
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401b98
mov eax, 1
cmp eax, ecx
jl 0x407937
push 1
call fcn.0040f245
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401b98
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40795c
push 4
call fcn.0040f245
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40796f
push 1
call fcn.0040f245
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4885d5
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00402870
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4079ac
push ebx
call fcn.0040f25d
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4078da
mov ebx, dword [ebp - 0x10]
call fcn.00401b98
mov eax, 0
cmp eax, ecx
jl 0x4079d5
push 1
call fcn.0040f245
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401b98
mov eax, 1
cmp eax, ecx
jl 0x4079fb
push 1
call fcn.0040f245
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 - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x407a18
mov eax, 0x487ed4
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407a2e
mov eax, 0x487ed4
push eax
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x410e80
call fcn.0040f251
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x40772b
add esp, 0xc
jmp 0x407cc8
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4885d5
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407a9a
mov eax, 0x487ed4
push eax
push 4
mov ebx, 0x40f780
call fcn.0040f251
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x407cc8
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4885d5
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407ae1
mov eax, 0x487ed4
push eax
push 3
mov ebx, 0x40ff30
call fcn.0040f251
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407b19
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407b15
imul eax, dword [ebx]
jmp 0x407b0a
mov ecx, eax
test ecx, ecx
je 0x407b38
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407b31
push ebx
push eax
call fcn.0040f25d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407b1f
call fcn.0040f25d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 2
inc dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
call fcn.00401a1d
cmp dword [ebp - 0xc], eax
jle 0x407b64
jmp 0x407c28
mov ebx, dword [ebp - 0x10]
call fcn.00401b98
mov eax, 1
cmp eax, ecx
jl 0x407b82
push 1
call fcn.0040f245
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401b98
mov eax, 1
cmp eax, ecx
jl 0x407ba8
push 1
call fcn.0040f245
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401b98
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407bcd
push 4
call fcn.0040f245
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407be0
push 1
call fcn.0040f245
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4885d5
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00402870
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407c1d
push ebx
call fcn.0040f25d
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x407b4b
mov ebx, dword [ebp - 0x10]
call fcn.00401b98
mov eax, 0
cmp eax, ecx
jl 0x407c46
push 1
call fcn.0040f245
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401b98
mov eax, 1
cmp eax, ecx
jl 0x407c6c
push 1
call fcn.0040f245
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 - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x407c89
mov eax, 0x487ed4
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407c9f
mov eax, 0x487ed4
push eax
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x410e80
call fcn.0040f251
add esp, 0x34
mov eax, 0x487f3c
xor ecx, ecx
test eax, eax
je 0x407cd6
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x407ce9
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x407d00
dec eax
test ecx, ecx
je 0x407d00
call fcn.00402faf
add esp, 0xc
test eax, eax
jne 0x407d42
push 0xa0000004
push 0
push dword [ebp + 0x14]
push reloc.WS2_32.dll_connect
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x410e80
call fcn.0040f251
add esp, 0x28
jmp 0x407dad
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x407d5d
mov eax, 0x487f3c
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x411960
call fcn.0040f251
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x14]
push eax
push reloc.WS2_32.dll_connect
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x410e80
call fcn.0040f251
add esp, 0x28
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x410e50
call fcn.0040f251
add esp, 0x28
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x20]
push 2
mov ebx, 0x410fb0
call fcn.0040f251
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x410f70
call fcn.0040f251
add esp, 0x10
call fcn.0040f25d
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x407e3a
push ebx
call fcn.0040f25d
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x410dc0
call fcn.0040f251
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407e85
push ebx
call fcn.0040f25d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x4c]
mov dword [ebx], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x487f01
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x407eb2
mov eax, 0x487ed4
push eax
push 3
mov ebx, 0x40ff30
call fcn.0040f251
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407eea
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407ee6
imul eax, dword [ebx]
jmp 0x407edb
mov ecx, eax
test ecx, ecx
je 0x407f09
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407f02
push ebx
push eax
call fcn.0040f25d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407ef0
call fcn.0040f25d
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x487ed4
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407f2d
push ebx
call fcn.0040f25d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401a1d
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40826b
mov ebx, dword [ebp - 0x1c]
call fcn.00401b98
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407f6f
push 4
call fcn.0040f245
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407f82
push 1
call fcn.0040f245
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.Location:
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407fbd
mov eax, 0x487ed4
push eax
push 4
mov ebx, 0x40f780
call fcn.0040f251
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4080c3
mov ebx, dword [ebp - 0x1c]
call fcn.00401b98
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407ffa
push 4
call fcn.0040f245
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40800d
push 1
call fcn.0040f245
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0x80000301
push 0
push 1
mov ebx, 6
call fcn.004012f0
push reloc.WS2_32.dll_connect
push 0
push str.Location:
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x408058
mov eax, 0x487ed4
push eax
push 6
mov ebx, 0x40fd40
call fcn.0040f251
add esp, 0x4c
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x408081
mov eax, 0x487ed4
push eax
push 1
mov ebx, 0x40fc70
call fcn.0040f251
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4080a7
push ebx
call fcn.0040f25d
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4080bd
push ebx
call fcn.0040f25d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401b98
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4080e0
push 4
call fcn.0040f245
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4080f3
push 1
call fcn.0040f245
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.Set_Cookie
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40812e
mov eax, 0x487ed4
push eax
push 4
mov ebx, 0x40f780
call fcn.0040f251
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x408263
mov ebx, dword [ebp - 0x1c]
call fcn.00401b98
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40816b
push 4
call fcn.0040f245
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40817e
push 1
call fcn.0040f245
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x488614
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
call fcn.00409d90
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4081d1
push ebx
call fcn.0040f25d
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4081e1
push ebx
call fcn.0040f25d
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4081f4
mov eax, 0x487ed4
push eax
push 1
mov ebx, 0x40fc70
call fcn.0040f251
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40821a
push ebx
call fcn.0040f25d
add esp, 4
push 0x488622
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00402870
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x408247
push ebx
call fcn.0040f25d
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40825d
push ebx
call fcn.0040f25d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x407f44
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00408ff5
mov ebx, eax
test ebx, ebx
je 0x408288
push ebx
call fcn.0040f25d
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.0040847f
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.0040a17e
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4082c2
push ebx
call fcn.0040f25d
add esp, 4
push 0x487ed4
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x408314
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x4082fb
push eax
mov ebx, eax
call fcn.00401572
inc eax
push eax
call fcn.0040f257
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40830e
push ebx
call fcn.0040f25d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 0x16
call fcn.0040f24b
cmp dword [ebp - 0x20], esp
je 0x408333
push 6
call fcn.0040f245
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40834d
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0040f257
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x408352
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x411ea0
call fcn.0040f251
add esp, 0x10
call fcn.0040f25d
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408394
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408390
imul eax, dword [ebx]
jmp 0x408385
mov ecx, eax
test ecx, ecx
je 0x4083b3
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4083ac
push ebx
push eax
call fcn.0040f25d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40839a
call fcn.0040f25d
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4083d9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4083d5
imul eax, dword [ebx]
jmp 0x4083ca
mov ecx, eax
test ecx, ecx
je 0x4083f8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4083f1
push ebx
push eax
call fcn.0040f25d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4083df
call fcn.0040f25d
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x410f70
call fcn.0040f251
add esp, 0x10
call fcn.0040f25d
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x408433
push ebx
call fcn.0040f25d
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408451
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40844d
imul eax, dword [ebx]
jmp 0x408442
mov ecx, eax
test ecx, ecx
je 0x408470
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408469
push ebx
push eax
call fcn.0040f25d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408457
call fcn.0040f25d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54