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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.0040fd22
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0040fd22
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4b716c
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.0040fd22
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4b716c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0040fd22
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.0040fd22
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4b716c
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, 0
call fcn.0040fd4c
cmp dword [ebp - 0x20], esp
je 0x405c83
push 6
call fcn.0040fd2e
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, 0x413610
call fcn.0040fd34
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x405d3e
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.MSXML2.ServerXMLHTTP.6.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x413610
call fcn.0040fd34
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x405d3e
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.MSXML2.ServerXMLHTTP.5.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x413610
call fcn.0040fd34
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x405d3e
mov eax, 0x4b716c
jmp 0x406def
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x405d53
mov eax, 0x4b70ba
push eax
push 1
mov ebx, 0x410470
call fcn.0040fd34
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 0x405d7f
push ebx
call fcn.0040fd1c
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4b70ba
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401ca7
add esp, 8
cmp eax, 0
jne 0x405dbe
mov eax, 0x554128
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405db8
push ebx
call fcn.0040fd1c
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x405e4f
cmp dword [ebp + 0x44], 1
jge 0x405dde
mov dword [ebp + 0x44], 0x3a98
jmp 0x405dfb
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x55412c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00405276
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 0x554134
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x412660
call fcn.0040fd34
add esp, 0x4c
push 0x4b70ba
push dword [0x763268]
call fcn.00401ca7
add esp, 8
cmp eax, 0
je 0x405f13
push 0xa0000004
push 0
push 0x763268
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, 0x412660
call fcn.0040fd34
add esp, 0x34
push 0x4b70ba
push dword [0x76326c]
call fcn.00401ca7
add esp, 8
cmp eax, 0
je 0x405f13
push 0xa0000301
push 0
push 0x763274
push 0xa0000004
push 0
push 0x763270
push 0xa0000004
push 0
push 0x76326c
push reloc.WS2_32.dll_connect
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x412660
call fcn.0040fd34
add esp, 0x40
push reloc.WS2_32.dll_bind
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, 0x412660
call fcn.0040fd34
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x405fa5
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, 0x413560
call fcn.0040fd34
add esp, 0x34
push 0x4b70ba
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401ca7
add esp, 8
cmp eax, 0
jne 0x405ffb
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.0040106f
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 0x405ff5
push ebx
call fcn.0040fd1c
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.00406f1c
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.0040757e
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x406042
push ebx
call fcn.0040fd1c
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x406052
push ebx
call fcn.0040fd1c
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.00407a92
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x406071
push ebx
call fcn.0040fd1c
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406087
push ebx
call fcn.0040fd1c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x4b70ba
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401ca7
add esp, 8
cmp eax, 0
je 0x4060e6
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, 0x412660
call fcn.0040fd34
add esp, 0x34
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 0x55422f
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406119
mov eax, 0x4b70ba
push eax
push 4
mov ebx, 0x4102f0
call fcn.0040fd34
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x406510
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x55422f
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406160
mov eax, 0x4b70ba
push eax
push 3
mov ebx, 0x410940
call fcn.0040fd34
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 0x406198
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406194
imul eax, dword [ebx]
jmp 0x406189
mov ecx, eax
test ecx, ecx
je 0x4061b7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4061b0
push ebx
push eax
call fcn.0040fd1c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40619e
call fcn.0040fd1c
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.004036f1
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 0x406508
mov ebx, dword [ebp - 8]
call fcn.00401f0c
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4061ff
push 4
call fcn.0040fd2e
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406212
push 1
call fcn.0040fd2e
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
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 0x554232
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40624d
mov eax, 0x4b70ba
push eax
push 4
mov ebx, 0x4102f0
call fcn.0040fd34
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x406500
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40628b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406287
imul eax, dword [ebx]
jmp 0x40627c
mov ecx, eax
test ecx, ecx
je 0x4062aa
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4062a3
push ebx
push eax
call fcn.0040fd1c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406291
call fcn.0040fd1c
add esp, 4
mov eax, 0x4b716c
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00401f0c
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4062d7
push 4
call fcn.0040fd2e
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4062ea
push 1
call fcn.0040fd2e
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 0x554232
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406319
mov eax, 0x4b70ba
push eax
push 3
mov ebx, 0x410940
call fcn.0040fd34
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 0x406351
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40634d
imul eax, dword [ebx]
jmp 0x406342
mov ecx, eax
test ecx, ecx
je 0x406370
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406369
push ebx
push eax
call fcn.0040fd1c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406357
call fcn.0040fd1c
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.004036f1
cmp dword [ebp - 0xc], eax
jle 0x40639c
jmp 0x406460
mov ebx, dword [ebp - 0x10]
call fcn.00401f0c
mov eax, 1
cmp eax, ecx
jl 0x4063ba
push 1
call fcn.0040fd2e
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401f0c
mov eax, 1
cmp eax, ecx
jl 0x4063e0
push 1
call fcn.0040fd2e
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401f0c
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406405
push 4
call fcn.0040fd2e
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406418
push 1
call fcn.0040fd2e
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x554232
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040106f
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 0x406455
push ebx
call fcn.0040fd1c
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x406383
mov ebx, dword [ebp - 0x10]
call fcn.00401f0c
mov eax, 0
cmp eax, ecx
jl 0x40647e
push 1
call fcn.0040fd2e
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401f0c
mov eax, 1
cmp eax, ecx
jl 0x4064a4
push 1
call fcn.0040fd2e
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 0x4064c1
mov eax, 0x4b70ba
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4064d7
mov eax, 0x4b70ba
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, 0x412660
call fcn.0040fd34
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x4061d4
add esp, 0xc
jmp 0x406771
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 0x554232
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406543
mov eax, 0x4b70ba
push eax
push 4
mov ebx, 0x4102f0
call fcn.0040fd34
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x406771
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x554232
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40658a
mov eax, 0x4b70ba
push eax
push 3
mov ebx, 0x410940
call fcn.0040fd34
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 0x4065c2
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4065be
imul eax, dword [ebx]
jmp 0x4065b3
mov ecx, eax
test ecx, ecx
je 0x4065e1
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4065da
push ebx
push eax
call fcn.0040fd1c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4065c8
call fcn.0040fd1c
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.004036f1
cmp dword [ebp - 0xc], eax
jle 0x40660d
jmp 0x4066d1
mov ebx, dword [ebp - 0x10]
call fcn.00401f0c
mov eax, 1
cmp eax, ecx
jl 0x40662b
push 1
call fcn.0040fd2e
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401f0c
mov eax, 1
cmp eax, ecx
jl 0x406651
push 1
call fcn.0040fd2e
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401f0c
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406676
push 4
call fcn.0040fd2e
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406689
push 1
call fcn.0040fd2e
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x554232
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040106f
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 0x4066c6
push ebx
call fcn.0040fd1c
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4065f4
mov ebx, dword [ebp - 0x10]
call fcn.00401f0c
mov eax, 0
cmp eax, ecx
jl 0x4066ef
push 1
call fcn.0040fd2e
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401f0c
mov eax, 1
cmp eax, ecx
jl 0x406715
push 1
call fcn.0040fd2e
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 0x406732
mov eax, 0x4b70ba
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406748
mov eax, 0x4b70ba
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, 0x412660
call fcn.0040fd34
add esp, 0x34
mov eax, 0x4b716c
xor ecx, ecx
test eax, eax
je 0x40677f
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 0x406792
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4067a9
dec eax
test ecx, ecx
je 0x4067a9
call fcn.00405af0
add esp, 0xc
test eax, eax
jne 0x4067eb
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, 0x412660
call fcn.0040fd34
add esp, 0x28
jmp 0x406856
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 0x406806
mov eax, 0x4b716c
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x4130e0
call fcn.0040fd34
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, 0x412660
call fcn.0040fd34
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, 0x412630
call fcn.0040fd34
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, 0x412730
call fcn.0040fd34
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, 0x4126f0
call fcn.0040fd34
add esp, 0x10
call fcn.0040fd1c
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4068e3
push ebx
call fcn.0040fd1c
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, 0x412600
call fcn.0040fd34
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 0x40692e
push ebx
call fcn.0040fd1c
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 0x55422f
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x40695b
mov eax, 0x4b70ba
push eax
push 3
mov ebx, 0x410940
call fcn.0040fd34
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 0x406993
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40698f
imul eax, dword [ebx]
jmp 0x406984
mov ecx, eax
test ecx, ecx
je 0x4069b2
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4069ab
push ebx
push eax
call fcn.0040fd1c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406999
call fcn.0040fd1c
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4b70ba
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4069d6
push ebx
call fcn.0040fd1c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004036f1
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 0x406d08
mov ebx, dword [ebp - 0x1c]
call fcn.00401f0c
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406a18
push 4
call fcn.0040fd2e
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406a2b
push 1
call fcn.0040fd2e
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
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.Location:
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406a66
mov eax, 0x4b70ba
push eax
push 4
mov ebx, 0x4102f0
call fcn.0040fd34
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x406b6c
mov ebx, dword [ebp - 0x1c]
call fcn.00401f0c
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406aa3
push 4
call fcn.0040fd2e
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406ab6
push 1
call fcn.0040fd2e
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.WS2_32.dll_bind
push 0
push 0
push 0x80000301
push 0
push 1
mov ebx, 6
call fcn.00405b9c
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 0x406b01
mov eax, 0x4b70ba
push eax
push 6
mov ebx, 0x410750
call fcn.0040fd34
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 0x406b2a
mov eax, 0x4b70ba
push eax
push 1
mov ebx, 0x410680
call fcn.0040fd34
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x406b50
push ebx
call fcn.0040fd1c
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406b66
push ebx
call fcn.0040fd1c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401f0c
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406b89
push 4
call fcn.0040fd2e
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406b9c
push 1
call fcn.0040fd2e
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
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.Set_Cookie
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406bd7
mov eax, 0x4b70ba
push eax
push 4
mov ebx, 0x4102f0
call fcn.0040fd34
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x406d00
mov ebx, dword [ebp - 0x1c]
call fcn.00401f0c
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406c14
push 4
call fcn.0040fd2e
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406c27
push 1
call fcn.0040fd2e
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 eax, 0x554271
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.0040882d
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x406c6e
push ebx
call fcn.0040fd1c
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x406c7e
push ebx
call fcn.0040fd1c
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x406c91
mov eax, 0x4b70ba
push eax
push 1
mov ebx, 0x410680
call fcn.0040fd34
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x406cb7
push ebx
call fcn.0040fd1c
add esp, 4
push 0x55427f
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x406ce4
push ebx
call fcn.0040fd1c
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406cfa
push ebx
call fcn.0040fd1c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4069ed
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00407a92
mov ebx, eax
test ebx, ebx
je 0x406d25
push ebx
call fcn.0040fd1c
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.00406f1c
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.00408a7e
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x406d5f
push ebx
call fcn.0040fd1c
add esp, 4
push 0x4b70ba
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401ca7
add esp, 8
cmp eax, 0
jne 0x406db1
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x406d98
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0040fd22
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 0x406dab
push ebx
call fcn.0040fd1c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 1
call fcn.0040fd4c
cmp dword [ebp - 0x20], esp
je 0x406dd0
push 6
call fcn.0040fd2e
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x406dea
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0040fd22
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x406def
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x413600
call fcn.0040fd34
add esp, 0x10
call fcn.0040fd1c
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x406e31
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406e2d
imul eax, dword [ebx]
jmp 0x406e22
mov ecx, eax
test ecx, ecx
je 0x406e50
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406e49
push ebx
push eax
call fcn.0040fd1c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406e37
call fcn.0040fd1c
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x406e76
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406e72
imul eax, dword [ebx]
jmp 0x406e67
mov ecx, eax
test ecx, ecx
je 0x406e95
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406e8e
push ebx
push eax
call fcn.0040fd1c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406e7c
call fcn.0040fd1c
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x4126f0
call fcn.0040fd34
add esp, 0x10
call fcn.0040fd1c
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406ed0
push ebx
call fcn.0040fd1c
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x406eee
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406eea
imul eax, dword [ebx]
jmp 0x406edf
mov ecx, eax
test ecx, ecx
je 0x406f0d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406f06
push ebx
push eax
call fcn.0040fd1c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406ef4
call fcn.0040fd1c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54