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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.00476802
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00476802
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x5359aa
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.00476802
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x5359aa
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00476802
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.00476802
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x5359aa
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, 0x14
call fcn.0047681a
cmp dword [ebp - 0x20], esp
je 0x40a8f9
push 6
call fcn.00476814
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, 0x47d6e0
call fcn.00476808
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40a979
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, 0x47d6e0
call fcn.00476808
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40a979
mov eax, 0x5359aa
jmp 0x40b95c
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40a98e
mov eax, 0x53592c
push eax
push 1
mov ebx, 0x4776a0
call fcn.00476808
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 0x40a9ba
push ebx
call fcn.0047680e
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x53592c
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.004010cb
add esp, 8
cmp eax, 0
jne 0x40a9f9
mov eax, 0x535f44
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40a9f3
push ebx
call fcn.0047680e
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x3c], 0xffffffff
je 0x40aa8a
cmp dword [ebp + 0x3c], 1
jge 0x40aa19
mov dword [ebp + 0x3c], 0x927c0
jmp 0x40aa36
fild dword [ebp + 0x3c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x68d715]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00404117
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 0x68d71d
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x47bf40
call fcn.00476808
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, 0x47bf40
call fcn.00476808
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, 0x47d4f0
call fcn.00476808
add esp, 0x34
push 0x53592c
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.004010cb
add esp, 8
cmp eax, 0
jne 0x40ab68
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 0x40ab62
push ebx
call fcn.0047680e
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.0040ba89
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.0040c0eb
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40abaf
push ebx
call fcn.0047680e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40abbf
push ebx
call fcn.0047680e
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040c5ff
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40abde
push ebx
call fcn.0047680e
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40abf4
push ebx
call fcn.0047680e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x53592c
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.004010cb
add esp, 8
cmp eax, 0
je 0x40ac53
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push reloc.WS2_32.dll_connect
push 0
push 0x68d7d9
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x47bf40
call fcn.00476808
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 0x535f14
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40ac86
mov eax, 0x53592c
push eax
push 4
mov ebx, 0x4774f0
call fcn.00476808
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40b07d
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x535f14
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40accd
mov eax, 0x53592c
push eax
push 3
mov ebx, 0x4781d0
call fcn.00476808
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 0x40ad05
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40ad01
imul eax, dword [ebx]
jmp 0x40acf6
mov ecx, eax
test ecx, ecx
je 0x40ad24
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40ad1d
push ebx
push eax
call fcn.0047680e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40ad0b
call fcn.0047680e
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00402e16
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 0x40b075
mov ebx, dword [ebp - 8]
call fcn.0040276d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40ad6c
push 4
call fcn.00476814
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ad7f
push 1
call fcn.00476814
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 0x5360bb
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40adba
mov eax, 0x53592c
push eax
push 4
mov ebx, 0x4774f0
call fcn.00476808
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40b06d
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40adf8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40adf4
imul eax, dword [ebx]
jmp 0x40ade9
mov ecx, eax
test ecx, ecx
je 0x40ae17
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40ae10
push ebx
push eax
call fcn.0047680e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40adfe
call fcn.0047680e
add esp, 4
mov eax, 0x5359aa
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.0040276d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40ae44
push 4
call fcn.00476814
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ae57
push 1
call fcn.00476814
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 0x5360bb
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40ae86
mov eax, 0x53592c
push eax
push 3
mov ebx, 0x4781d0
call fcn.00476808
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 0x40aebe
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40aeba
imul eax, dword [ebx]
jmp 0x40aeaf
mov ecx, eax
test ecx, ecx
je 0x40aedd
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40aed6
push ebx
push eax
call fcn.0047680e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40aec4
call fcn.0047680e
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.00402e16
cmp dword [ebp - 0xc], eax
jle 0x40af09
jmp 0x40afcd
mov ebx, dword [ebp - 0x10]
call fcn.0040276d
mov eax, 1
cmp eax, ecx
jl 0x40af27
push 1
call fcn.00476814
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040276d
mov eax, 1
cmp eax, ecx
jl 0x40af4d
push 1
call fcn.00476814
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040276d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40af72
push 4
call fcn.00476814
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40af85
push 1
call fcn.00476814
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x5360bb
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 0x40afc2
push ebx
call fcn.0047680e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40aef0
mov ebx, dword [ebp - 0x10]
call fcn.0040276d
mov eax, 0
cmp eax, ecx
jl 0x40afeb
push 1
call fcn.00476814
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040276d
mov eax, 1
cmp eax, ecx
jl 0x40b011
push 1
call fcn.00476814
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 0x40b02e
mov eax, 0x53592c
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40b044
mov eax, 0x53592c
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, 0x47bf40
call fcn.00476808
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x40ad41
add esp, 0xc
jmp 0x40b2de
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 0x5360bb
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40b0b0
mov eax, 0x53592c
push eax
push 4
mov ebx, 0x4774f0
call fcn.00476808
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40b2de
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x5360bb
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40b0f7
mov eax, 0x53592c
push eax
push 3
mov ebx, 0x4781d0
call fcn.00476808
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 0x40b12f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b12b
imul eax, dword [ebx]
jmp 0x40b120
mov ecx, eax
test ecx, ecx
je 0x40b14e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b147
push ebx
push eax
call fcn.0047680e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b135
call fcn.0047680e
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.00402e16
cmp dword [ebp - 0xc], eax
jle 0x40b17a
jmp 0x40b23e
mov ebx, dword [ebp - 0x10]
call fcn.0040276d
mov eax, 1
cmp eax, ecx
jl 0x40b198
push 1
call fcn.00476814
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040276d
mov eax, 1
cmp eax, ecx
jl 0x40b1be
push 1
call fcn.00476814
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040276d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40b1e3
push 4
call fcn.00476814
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b1f6
push 1
call fcn.00476814
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x5360bb
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 0x40b233
push ebx
call fcn.0047680e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40b161
mov ebx, dword [ebp - 0x10]
call fcn.0040276d
mov eax, 0
cmp eax, ecx
jl 0x40b25c
push 1
call fcn.00476814
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040276d
mov eax, 1
cmp eax, ecx
jl 0x40b282
push 1
call fcn.00476814
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 0x40b29f
mov eax, 0x53592c
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40b2b5
mov eax, 0x53592c
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, 0x47bf40
call fcn.00476808
add esp, 0x34
mov eax, 0x5359aa
xor ecx, ecx
test eax, eax
je 0x40b2ec
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 0x40b2ff
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40b316
dec eax
test ecx, ecx
je 0x40b316
call fcn.00406452
add esp, 0xc
test eax, eax
jne 0x40b358
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, 0x47bf40
call fcn.00476808
add esp, 0x28
jmp 0x40b3c3
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 0x40b373
mov eax, 0x5359aa
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x47cd00
call fcn.00476808
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, 0x47bf40
call fcn.00476808
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, 0x47bf10
call fcn.00476808
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, 0x47c2c0
call fcn.00476808
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, 0x47c060
call fcn.00476808
add esp, 0x10
call fcn.0047680e
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40b450
push ebx
call fcn.0047680e
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, 0x47be50
call fcn.00476808
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 0x40b49b
push ebx
call fcn.0047680e
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 0x535f14
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x40b4c8
mov eax, 0x53592c
push eax
push 3
mov ebx, 0x4781d0
call fcn.00476808
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 0x40b500
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b4fc
imul eax, dword [ebx]
jmp 0x40b4f1
mov ecx, eax
test ecx, ecx
je 0x40b51f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b518
push ebx
push eax
call fcn.0047680e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b506
call fcn.0047680e
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x53592c
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b543
push ebx
call fcn.0047680e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00402e16
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 0x40b875
mov ebx, dword [ebp - 0x1c]
call fcn.0040276d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40b585
push 4
call fcn.00476814
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b598
push 1
call fcn.00476814
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 0x53608d
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40b5d3
mov eax, 0x53592c
push eax
push 4
mov ebx, 0x4774f0
call fcn.00476808
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40b6d9
mov ebx, dword [ebp - 0x1c]
call fcn.0040276d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40b610
push 4
call fcn.00476814
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b623
push 1
call fcn.00476814
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.0040278d
push reloc.WS2_32.dll_connect
push 0
push 0x53608d
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40b66e
mov eax, 0x53592c
push eax
push 6
mov ebx, 0x477fe0
call fcn.00476808
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 0x40b697
mov eax, 0x53592c
push eax
push 1
mov ebx, 0x477ef0
call fcn.00476808
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b6bd
push ebx
call fcn.0047680e
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b6d3
push ebx
call fcn.0047680e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.0040276d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40b6f6
push 4
call fcn.00476814
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b709
push 1
call fcn.00476814
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 0x40b744
mov eax, 0x53592c
push eax
push 4
mov ebx, 0x4774f0
call fcn.00476808
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40b86d
mov ebx, dword [ebp - 0x1c]
call fcn.0040276d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40b781
push 4
call fcn.00476814
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40b794
push 1
call fcn.00476814
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, 0x5360a2
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x5360a4
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.0040d3a3
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40b7db
push ebx
call fcn.0047680e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40b7eb
push ebx
call fcn.0047680e
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40b7fe
mov eax, 0x53592c
push eax
push 1
mov ebx, 0x477ef0
call fcn.00476808
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40b824
push ebx
call fcn.0047680e
add esp, 4
push 0x5360b0
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 0x40b851
push ebx
call fcn.0047680e
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b867
push ebx
call fcn.0047680e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x40b55a
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.0040c5ff
mov ebx, eax
test ebx, ebx
je 0x40b892
push ebx
call fcn.0047680e
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.0040ba89
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.0040d5f4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b8cc
push ebx
call fcn.0047680e
add esp, 4
push 0x53592c
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.004010cb
add esp, 8
cmp eax, 0
jne 0x40b91e
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
je 0x40b905
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.00476802
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 0x40b918
push ebx
call fcn.0047680e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 0x15
call fcn.0047681a
cmp dword [ebp - 0x20], esp
je 0x40b93d
push 6
call fcn.00476814
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40b957
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00476802
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40b95c
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x47d5c0
call fcn.00476808
add esp, 0x10
call fcn.0047680e
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40b99e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b99a
imul eax, dword [ebx]
jmp 0x40b98f
mov ecx, eax
test ecx, ecx
je 0x40b9bd
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b9b6
push ebx
push eax
call fcn.0047680e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b9a4
call fcn.0047680e
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40b9e3
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b9df
imul eax, dword [ebx]
jmp 0x40b9d4
mov ecx, eax
test ecx, ecx
je 0x40ba02
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b9fb
push ebx
push eax
call fcn.0047680e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b9e9
call fcn.0047680e
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x47c060
call fcn.00476808
add esp, 0x10
call fcn.0047680e
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40ba3d
push ebx
call fcn.0047680e
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40ba5b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40ba57
imul eax, dword [ebx]
jmp 0x40ba4c
mov ecx, eax
test ecx, ecx
je 0x40ba7a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40ba73
push ebx
push eax
call fcn.0047680e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40ba61
call fcn.0047680e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x4c