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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.0042a596
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0042a596
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x640500
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.0042a596
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x640500
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0042a596
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.0042a596
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x640500
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, 3
call fcn.0042a5a2
cmp dword [ebp - 0x20], esp
je 0x405d08
push 6
call fcn.0042a59c
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, 0x42d850
call fcn.0042a5a8
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x405dc3
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, 0x42d850
call fcn.0042a5a8
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x405dc3
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, 0x42d850
call fcn.0042a5a8
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x405dc3
mov eax, 0x640500
jmp 0x406da8
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x405dd8
mov eax, 0x640508
push eax
push 1
mov ebx, 0x42af20
call fcn.0042a5a8
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 0x405e04
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x640508
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00402954
add esp, 8
cmp eax, 0
jne 0x405e43
mov eax, 0x656015
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405e3d
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 1
je 0x405ed4
cmp dword [ebp + 0x44], 1
jge 0x405e63
mov dword [ebp + 0x44], 0x3a98
jmp 0x405e80
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x656019]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00402b6e
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 0x656021
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x42c680
call fcn.0042a5a8
add esp, 0x4c
push 0x640508
push dword [0x686a2c]
call fcn.00402954
add esp, 8
cmp eax, 0
je 0x405f98
push 0xa0000004
push 0
push 0x686a2c
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, 0x42c680
call fcn.0042a5a8
add esp, 0x34
push 0x640508
push dword [0x686a30]
call fcn.00402954
add esp, 8
cmp eax, 0
je 0x405f98
push 0xa0000301
push 0
push 0x686a38
push 0xa0000004
push 0
push 0x686a34
push 0xa0000004
push 0
push 0x686a30
push reloc.WS2_32.dll_connect
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x42c680
call fcn.0042a5a8
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, 0x42c680
call fcn.0042a5a8
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x40602a
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, 0x42d750
call fcn.0042a5a8
add esp, 0x34
push 0x640508
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00402954
add esp, 8
cmp eax, 0
jne 0x406080
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.0040276d
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 0x40607a
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x640508
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00402954
add esp, 8
cmp eax, 0
je 0x4060d9
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, 0x42c680
call fcn.0042a5a8
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 0x65611c
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40610c
mov eax, 0x640508
push eax
push 4
mov ebx, 0x42ad80
call fcn.0042a5a8
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x406503
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x65611c
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406153
mov eax, 0x640508
push eax
push 3
mov ebx, 0x42b5d0
call fcn.0042a5a8
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 0x40618b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406187
imul eax, dword [ebx]
jmp 0x40617c
mov ecx, eax
test ecx, ecx
je 0x4061aa
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4061a3
push ebx
push eax
call fcn.0042a590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406191
call fcn.0042a590
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00402f34
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 0x4064fb
mov ebx, dword [ebp - 8]
call fcn.00402f4d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4061f2
push 4
call fcn.0042a59c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406205
push 1
call fcn.0042a59c
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 0x65611f
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406240
mov eax, 0x640508
push eax
push 4
mov ebx, 0x42ad80
call fcn.0042a5a8
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4064f3
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40627e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40627a
imul eax, dword [ebx]
jmp 0x40626f
mov ecx, eax
test ecx, ecx
je 0x40629d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406296
push ebx
push eax
call fcn.0042a590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406284
call fcn.0042a590
add esp, 4
mov eax, 0x640500
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00402f4d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4062ca
push 4
call fcn.0042a59c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4062dd
push 1
call fcn.0042a59c
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 0x65611f
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40630c
mov eax, 0x640508
push eax
push 3
mov ebx, 0x42b5d0
call fcn.0042a5a8
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 0x406344
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406340
imul eax, dword [ebx]
jmp 0x406335
mov ecx, eax
test ecx, ecx
je 0x406363
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40635c
push ebx
push eax
call fcn.0042a590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40634a
call fcn.0042a590
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.00402f34
cmp dword [ebp - 0xc], eax
jle 0x40638f
jmp 0x406453
mov ebx, dword [ebp - 0x10]
call fcn.00402f4d
mov eax, 1
cmp eax, ecx
jl 0x4063ad
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402f4d
mov eax, 1
cmp eax, ecx
jl 0x4063d3
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402f4d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4063f8
push 4
call fcn.0042a59c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40640b
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x65611f
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040276d
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 0x406448
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x406376
mov ebx, dword [ebp - 0x10]
call fcn.00402f4d
mov eax, 0
cmp eax, ecx
jl 0x406471
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402f4d
mov eax, 1
cmp eax, ecx
jl 0x406497
push 1
call fcn.0042a59c
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 0x4064b4
mov eax, 0x640508
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4064ca
mov eax, 0x640508
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, 0x42c680
call fcn.0042a5a8
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x4061c7
add esp, 0xc
jmp 0x406764
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x65611f
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406536
mov eax, 0x640508
push eax
push 4
mov ebx, 0x42ad80
call fcn.0042a5a8
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x406764
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x65611f
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40657d
mov eax, 0x640508
push eax
push 3
mov ebx, 0x42b5d0
call fcn.0042a5a8
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 0x4065b5
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4065b1
imul eax, dword [ebx]
jmp 0x4065a6
mov ecx, eax
test ecx, ecx
je 0x4065d4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4065cd
push ebx
push eax
call fcn.0042a590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4065bb
call fcn.0042a590
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.00402f34
cmp dword [ebp - 0xc], eax
jle 0x406600
jmp 0x4066c4
mov ebx, dword [ebp - 0x10]
call fcn.00402f4d
mov eax, 1
cmp eax, ecx
jl 0x40661e
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402f4d
mov eax, 1
cmp eax, ecx
jl 0x406644
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402f4d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406669
push 4
call fcn.0042a59c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40667c
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x65611f
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040276d
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 0x4066b9
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4065e7
mov ebx, dword [ebp - 0x10]
call fcn.00402f4d
mov eax, 0
cmp eax, ecx
jl 0x4066e2
push 1
call fcn.0042a59c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402f4d
mov eax, 1
cmp eax, ecx
jl 0x406708
push 1
call fcn.0042a59c
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 0x406725
mov eax, 0x640508
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40673b
mov eax, 0x640508
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, 0x42c680
call fcn.0042a5a8
add esp, 0x34
mov eax, 0x640500
xor ecx, ecx
test eax, eax
je 0x406772
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 0x406785
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40679c
dec eax
test ecx, ecx
je 0x40679c
call fcn.00402f6d
add esp, 0xc
test eax, eax
jne 0x4067de
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, 0x42c680
call fcn.0042a5a8
add esp, 0x28
jmp 0x406849
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 0x4067f9
mov eax, 0x640500
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x42d1f0
call fcn.0042a5a8
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, 0x42c680
call fcn.0042a5a8
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, 0x42c650
call fcn.0042a5a8
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, 0x42c840
call fcn.0042a5a8
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, 0x42c770
call fcn.0042a5a8
add esp, 0x10
call fcn.0042a590
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4068d6
push ebx
call fcn.0042a590
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, 0x42c5c0
call fcn.0042a5a8
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 0x406921
push ebx
call fcn.0042a590
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 0x65611c
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x40694e
mov eax, 0x640508
push eax
push 3
mov ebx, 0x42b5d0
call fcn.0042a5a8
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 0x406986
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406982
imul eax, dword [ebx]
jmp 0x406977
mov ecx, eax
test ecx, ecx
je 0x4069a5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40699e
push ebx
push eax
call fcn.0042a590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40698c
call fcn.0042a590
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x640508
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4069c9
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00402f34
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 0x406cfb
mov ebx, dword [ebp - 0x1c]
call fcn.00402f4d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406a0b
push 4
call fcn.0042a59c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406a1e
push 1
call fcn.0042a59c
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 0x406a59
mov eax, 0x640508
push eax
push 4
mov ebx, 0x42ad80
call fcn.0042a5a8
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x406b5f
mov ebx, dword [ebp - 0x1c]
call fcn.00402f4d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406a96
push 4
call fcn.0042a59c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406aa9
push 1
call fcn.0042a59c
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.0040100f
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 0x406af4
mov eax, 0x640508
push eax
push 6
mov ebx, 0x42b3e0
call fcn.0042a5a8
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 0x406b1d
mov eax, 0x640508
push eax
push 1
mov ebx, 0x42b3c0
call fcn.0042a5a8
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x406b43
push ebx
call fcn.0042a590
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406b59
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00402f4d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406b7c
push 4
call fcn.0042a59c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406b8f
push 1
call fcn.0042a59c
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 0x406bca
mov eax, 0x640508
push eax
push 4
mov ebx, 0x42ad80
call fcn.0042a5a8
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x406cf3
mov ebx, dword [ebp - 0x1c]
call fcn.00402f4d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406c07
push 4
call fcn.0042a59c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406c1a
push 1
call fcn.0042a59c
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, 0x65615e
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.00406ed5
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x406c61
push ebx
call fcn.0042a590
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x406c71
push ebx
call fcn.0042a590
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x406c84
mov eax, 0x640508
push eax
push 1
mov ebx, 0x42b3c0
call fcn.0042a5a8
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x406caa
push ebx
call fcn.0042a590
add esp, 4
push 0x65616c
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040276d
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x406cd7
push ebx
call fcn.0042a590
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406ced
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4069e0
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00407126
mov ebx, eax
test ebx, ebx
je 0x406d18
push ebx
call fcn.0042a590
add esp, 4
push 0x640508
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00402954
add esp, 8
cmp eax, 0
jne 0x406d6a
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x406d51
push eax
mov ebx, eax
call fcn.00402702
inc eax
push eax
call fcn.0042a596
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 0x406d64
push ebx
call fcn.0042a590
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 4
call fcn.0042a5a2
cmp dword [ebp - 0x20], esp
je 0x406d89
push 6
call fcn.0042a59c
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x406da3
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042a596
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x406da8
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42d820
call fcn.0042a5a8
add esp, 0x10
call fcn.0042a590
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x406dea
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406de6
imul eax, dword [ebx]
jmp 0x406ddb
mov ecx, eax
test ecx, ecx
je 0x406e09
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406e02
push ebx
push eax
call fcn.0042a590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406df0
call fcn.0042a590
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x406e2f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406e2b
imul eax, dword [ebx]
jmp 0x406e20
mov ecx, eax
test ecx, ecx
je 0x406e4e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406e47
push ebx
push eax
call fcn.0042a590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406e35
call fcn.0042a590
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x42c770
call fcn.0042a5a8
add esp, 0x10
call fcn.0042a590
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406e89
push ebx
call fcn.0042a590
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x406ea7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406ea3
imul eax, dword [ebx]
jmp 0x406e98
mov ecx, eax
test ecx, ecx
je 0x406ec6
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406ebf
push ebx
push eax
call fcn.0042a590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406ead
call fcn.0042a590
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54