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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.00474bbf
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00474bbf
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x51dc50
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.00474bbf
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x51dc50
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00474bbf
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.00474bbf
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x51dc50
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, 0xa
call fcn.00474bd7
cmp dword [ebp - 0x20], esp
je 0x4057cd
push 6
call fcn.00474bd1
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, 0x47bbb0
call fcn.00474bc5
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40584d
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, 0x47bbb0
call fcn.00474bc5
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40584d
mov eax, 0x51dc50
jmp 0x406830
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x405862
mov eax, 0x51dbef
push eax
push 1
mov ebx, 0x475b00
call fcn.00474bc5
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 0x40588e
push ebx
call fcn.00474bcb
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x51dbef
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.0040135e
add esp, 8
cmp eax, 0
jne 0x4058cd
mov eax, 0x5312fe
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4058c7
push ebx
call fcn.00474bcb
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x3c], 0xffffffff
je 0x40595e
cmp dword [ebp + 0x3c], 1
jge 0x4058ed
mov dword [ebp + 0x3c], 0x927c0
jmp 0x40590a
fild dword [ebp + 0x3c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x531302]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401136
mov dword [ebp + 0x3c], eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push reloc.WS2_32.dll_connect
push 0
push 0x53130a
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x47a500
call fcn.00474bc5
add esp, 0x4c
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, 0x47a500
call fcn.00474bc5
add esp, 0x40
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, 0x47b9c0
call fcn.00474bc5
add esp, 0x34
push 0x51dbef
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.0040135e
add esp, 8
cmp eax, 0
jne 0x405a3c
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 0x5313c6
mov ecx, 3
call fcn.004012e2
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 0x405a36
push ebx
call fcn.00474bcb
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.0040695d
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.00406fbf
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405a83
push ebx
call fcn.00474bcb
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x405a93
push ebx
call fcn.00474bcb
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.004074d3
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405ab2
push ebx
call fcn.00474bcb
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405ac8
push ebx
call fcn.00474bcb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x51dbef
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.0040135e
add esp, 8
cmp eax, 0
je 0x405b27
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push reloc.WS2_32.dll_connect
push 0
push 0x5313d0
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x47a500
call fcn.00474bc5
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 0x51e0a7
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x405b5a
mov eax, 0x51dbef
push eax
push 4
mov ebx, 0x475950
call fcn.00474bc5
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x405f51
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x51e0a7
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x405ba1
mov eax, 0x51dbef
push eax
push 3
mov ebx, 0x476630
call fcn.00474bc5
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 0x405bd9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405bd5
imul eax, dword [ebx]
jmp 0x405bca
mov ecx, eax
test ecx, ecx
je 0x405bf8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405bf1
push ebx
push eax
call fcn.00474bcb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405bdf
call fcn.00474bcb
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00402367
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 0x405f49
mov ebx, dword [ebp - 8]
call fcn.0040133e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x405c40
push 4
call fcn.00474bd1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405c53
push 1
call fcn.00474bd1
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 0x5313e8
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x405c8e
mov eax, 0x51dbef
push eax
push 4
mov ebx, 0x475950
call fcn.00474bc5
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x405f41
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x405ccc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405cc8
imul eax, dword [ebx]
jmp 0x405cbd
mov ecx, eax
test ecx, ecx
je 0x405ceb
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405ce4
push ebx
push eax
call fcn.00474bcb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405cd2
call fcn.00474bcb
add esp, 4
mov eax, 0x51dc50
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.0040133e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x405d18
push 4
call fcn.00474bd1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405d2b
push 1
call fcn.00474bd1
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 0x5313e8
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x405d5a
mov eax, 0x51dbef
push eax
push 3
mov ebx, 0x476630
call fcn.00474bc5
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 0x405d92
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405d8e
imul eax, dword [ebx]
jmp 0x405d83
mov ecx, eax
test ecx, ecx
je 0x405db1
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405daa
push ebx
push eax
call fcn.00474bcb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405d98
call fcn.00474bcb
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.00402367
cmp dword [ebp - 0xc], eax
jle 0x405ddd
jmp 0x405ea1
mov ebx, dword [ebp - 0x10]
call fcn.0040133e
mov eax, 1
cmp eax, ecx
jl 0x405dfb
push 1
call fcn.00474bd1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040133e
mov eax, 1
cmp eax, ecx
jl 0x405e21
push 1
call fcn.00474bd1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040133e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x405e46
push 4
call fcn.00474bd1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405e59
push 1
call fcn.00474bd1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x5313e8
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004012e2
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 0x405e96
push ebx
call fcn.00474bcb
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x405dc4
mov ebx, dword [ebp - 0x10]
call fcn.0040133e
mov eax, 0
cmp eax, ecx
jl 0x405ebf
push 1
call fcn.00474bd1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040133e
mov eax, 1
cmp eax, ecx
jl 0x405ee5
push 1
call fcn.00474bd1
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 0x405f02
mov eax, 0x51dbef
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x405f18
mov eax, 0x51dbef
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, 0x47a500
call fcn.00474bc5
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x405c15
add esp, 0xc
jmp 0x4061b2
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 0x5313e8
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x405f84
mov eax, 0x51dbef
push eax
push 4
mov ebx, 0x475950
call fcn.00474bc5
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x4061b2
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x5313e8
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x405fcb
mov eax, 0x51dbef
push eax
push 3
mov ebx, 0x476630
call fcn.00474bc5
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 0x406003
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405fff
imul eax, dword [ebx]
jmp 0x405ff4
mov ecx, eax
test ecx, ecx
je 0x406022
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40601b
push ebx
push eax
call fcn.00474bcb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406009
call fcn.00474bcb
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.00402367
cmp dword [ebp - 0xc], eax
jle 0x40604e
jmp 0x406112
mov ebx, dword [ebp - 0x10]
call fcn.0040133e
mov eax, 1
cmp eax, ecx
jl 0x40606c
push 1
call fcn.00474bd1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040133e
mov eax, 1
cmp eax, ecx
jl 0x406092
push 1
call fcn.00474bd1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040133e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4060b7
push 4
call fcn.00474bd1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4060ca
push 1
call fcn.00474bd1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x5313e8
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004012e2
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 0x406107
push ebx
call fcn.00474bcb
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x406035
mov ebx, dword [ebp - 0x10]
call fcn.0040133e
mov eax, 0
cmp eax, ecx
jl 0x406130
push 1
call fcn.00474bd1
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040133e
mov eax, 1
cmp eax, ecx
jl 0x406156
push 1
call fcn.00474bd1
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 0x406173
mov eax, 0x51dbef
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406189
mov eax, 0x51dbef
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, 0x47a500
call fcn.00474bc5
add esp, 0x34
mov eax, 0x51dc50
xor ecx, ecx
test eax, eax
je 0x4061c0
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x4061d3
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4061ea
dec eax
test ecx, ecx
je 0x4061ea
call fcn.00405642
add esp, 0xc
test eax, eax
jne 0x40622c
push 0xa0000004
push 0
push dword [ebp + 0x14]
push reloc.WS2_32.dll_connect
push 0
push 0x5313ea
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x47a500
call fcn.00474bc5
add esp, 0x28
jmp 0x406297
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x406247
mov eax, 0x51dc50
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x47b230
call fcn.00474bc5
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x14]
push eax
push reloc.WS2_32.dll_connect
push 0
push 0x5313ea
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x47a500
call fcn.00474bc5
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, 0x47a4d0
call fcn.00474bc5
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, 0x47a880
call fcn.00474bc5
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, 0x47a620
call fcn.00474bc5
add esp, 0x10
call fcn.00474bcb
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406324
push ebx
call fcn.00474bcb
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, 0x47a410
call fcn.00474bc5
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x44]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40636f
push ebx
call fcn.00474bcb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x44]
mov dword [ebx], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x51e0a7
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x40639c
mov eax, 0x51dbef
push eax
push 3
mov ebx, 0x476630
call fcn.00474bc5
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 0x4063d4
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4063d0
imul eax, dword [ebx]
jmp 0x4063c5
mov ecx, eax
test ecx, ecx
je 0x4063f3
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4063ec
push ebx
push eax
call fcn.00474bcb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4063da
call fcn.00474bcb
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x51dbef
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406417
push ebx
call fcn.00474bcb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00402367
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 0x406749
mov ebx, dword [ebp - 0x1c]
call fcn.0040133e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406459
push 4
call fcn.00474bd1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40646c
push 1
call fcn.00474bd1
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 0x531412
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4064a7
mov eax, 0x51dbef
push eax
push 4
mov ebx, 0x475950
call fcn.00474bc5
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4065ad
mov ebx, dword [ebp - 0x1c]
call fcn.0040133e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4064e4
push 4
call fcn.00474bd1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4064f7
push 1
call fcn.00474bd1
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.00401004
push reloc.WS2_32.dll_connect
push 0
push 0x531412
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406542
mov eax, 0x51dbef
push eax
push 6
mov ebx, 0x476440
call fcn.00474bc5
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 0x40656b
mov eax, 0x51dbef
push eax
push 1
mov ebx, 0x476350
call fcn.00474bc5
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x406591
push ebx
call fcn.00474bcb
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4065a7
push ebx
call fcn.00474bcb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.0040133e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4065ca
push 4
call fcn.00474bd1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4065dd
push 1
call fcn.00474bd1
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 0x406618
mov eax, 0x51dbef
push eax
push 4
mov ebx, 0x475950
call fcn.00474bc5
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x406741
mov ebx, dword [ebp - 0x1c]
call fcn.0040133e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406655
push 4
call fcn.00474bd1
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406668
push 1
call fcn.00474bd1
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, 0x531427
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x531429
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.0040826e
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4066af
push ebx
call fcn.00474bcb
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4066bf
push ebx
call fcn.00474bcb
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4066d2
mov eax, 0x51dbef
push eax
push 1
mov ebx, 0x476350
call fcn.00474bc5
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4066f8
push ebx
call fcn.00474bcb
add esp, 4
push 0x531435
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004012e2
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x406725
push ebx
call fcn.00474bcb
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40673b
push ebx
call fcn.00474bcb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x40642e
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.004074d3
mov ebx, eax
test ebx, ebx
je 0x406766
push ebx
call fcn.00474bcb
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.0040695d
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.004084bf
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4067a0
push ebx
call fcn.00474bcb
add esp, 4
push 0x51dbef
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.0040135e
add esp, 8
cmp eax, 0
jne 0x4067f2
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
je 0x4067d9
push eax
mov ebx, eax
call fcn.00401277
inc eax
push eax
call fcn.00474bbf
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 0x4067ec
push ebx
call fcn.00474bcb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 0xb
call fcn.00474bd7
cmp dword [ebp - 0x20], esp
je 0x406811
push 6
call fcn.00474bd1
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40682b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00474bbf
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x406830
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x47ba90
call fcn.00474bc5
add esp, 0x10
call fcn.00474bcb
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x406872
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40686e
imul eax, dword [ebx]
jmp 0x406863
mov ecx, eax
test ecx, ecx
je 0x406891
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40688a
push ebx
push eax
call fcn.00474bcb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406878
call fcn.00474bcb
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4068b7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4068b3
imul eax, dword [ebx]
jmp 0x4068a8
mov ecx, eax
test ecx, ecx
je 0x4068d6
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4068cf
push ebx
push eax
call fcn.00474bcb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4068bd
call fcn.00474bcb
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x47a620
call fcn.00474bc5
add esp, 0x10
call fcn.00474bcb
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406911
push ebx
call fcn.00474bcb
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40692f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40692b
imul eax, dword [ebx]
jmp 0x406920
mov ecx, eax
test ecx, ecx
je 0x40694e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406947
push ebx
push eax
call fcn.00474bcb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406935
call fcn.00474bcb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x4c