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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.004528cc
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.004528cc
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x5580be
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.004528cc
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x5580be
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.004528cc
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.004528cc
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x5580be
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, 0xe
call fcn.004528de
cmp dword [ebp - 0x20], esp
je 0x405993
push 6
call fcn.004528d8
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, 0x456290
call fcn.004528e4
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4059d8
mov eax, 0x5580be
jmp 0x406a95
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4059ed
mov eax, 0x558128
push eax
push 1
mov ebx, 0x4535f0
call fcn.004528e4
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 0x405a19
push ebx
call fcn.004528d2
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x558128
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00402e19
add esp, 8
cmp eax, 0
jne 0x405a58
mov eax, 0x561045
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405a52
push ebx
call fcn.004528d2
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x405ae9
cmp dword [ebp + 0x44], 1
jge 0x405a78
mov dword [ebp + 0x44], 0x3a98
jmp 0x405a95
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x5610ec]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00402b01
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 0x5610f4
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x455210
call fcn.004528e4
add esp, 0x4c
push 0x558128
push dword [0x5bc2a0]
call fcn.00402e19
add esp, 8
cmp eax, 0
je 0x405bad
push 0xa0000004
push 0
push 0x5bc2a0
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, 0x455210
call fcn.004528e4
add esp, 0x34
push 0x558128
push dword [0x5bc2a4]
call fcn.00402e19
add esp, 8
cmp eax, 0
je 0x405bad
push 0xa0000301
push 0
push 0x5bc2ac
push 0xa0000004
push 0
push 0x5bc2a8
push 0xa0000004
push 0
push 0x5bc2a4
push reloc.WS2_32.dll_connect
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x455210
call fcn.004528e4
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 0x56111d
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x455210
call fcn.004528e4
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x405c3f
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, 0x456190
call fcn.004528e4
add esp, 0x34
push 0x558128
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00402e19
add esp, 8
cmp eax, 0
jne 0x405c95
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.00403bc9
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 0x405c8f
push ebx
call fcn.004528d2
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.00406bc2
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.00407224
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405cdc
push ebx
call fcn.004528d2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x405cec
push ebx
call fcn.004528d2
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.00407738
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405d0b
push ebx
call fcn.004528d2
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405d21
push ebx
call fcn.004528d2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x558128
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00402e19
add esp, 8
cmp eax, 0
je 0x405d80
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, 0x455210
call fcn.004528e4
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 0x560dc1
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x405db3
mov eax, 0x558128
push eax
push 4
mov ebx, 0x453470
call fcn.004528e4
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x4061aa
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x560dc1
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x405dfa
mov eax, 0x558128
push eax
push 3
mov ebx, 0x453ec0
call fcn.004528e4
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 0x405e32
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405e2e
imul eax, dword [ebx]
jmp 0x405e23
mov ecx, eax
test ecx, ecx
je 0x405e51
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405e4a
push ebx
push eax
call fcn.004528d2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405e38
call fcn.004528d2
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.0040589b
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 0x4061a2
mov ebx, dword [ebp - 8]
call fcn.00402df9
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x405e99
push 4
call fcn.004528d8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405eac
push 1
call fcn.004528d8
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 0x5611ef
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x405ee7
mov eax, 0x558128
push eax
push 4
mov ebx, 0x453470
call fcn.004528e4
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40619a
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x405f25
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405f21
imul eax, dword [ebx]
jmp 0x405f16
mov ecx, eax
test ecx, ecx
je 0x405f44
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405f3d
push ebx
push eax
call fcn.004528d2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405f2b
call fcn.004528d2
add esp, 4
mov eax, 0x5580be
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00402df9
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x405f71
push 4
call fcn.004528d8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405f84
push 1
call fcn.004528d8
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 0x5611ef
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x405fb3
mov eax, 0x558128
push eax
push 3
mov ebx, 0x453ec0
call fcn.004528e4
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 0x405feb
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405fe7
imul eax, dword [ebx]
jmp 0x405fdc
mov ecx, eax
test ecx, ecx
je 0x40600a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406003
push ebx
push eax
call fcn.004528d2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405ff1
call fcn.004528d2
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.0040589b
cmp dword [ebp - 0xc], eax
jle 0x406036
jmp 0x4060fa
mov ebx, dword [ebp - 0x10]
call fcn.00402df9
mov eax, 1
cmp eax, ecx
jl 0x406054
push 1
call fcn.004528d8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402df9
mov eax, 1
cmp eax, ecx
jl 0x40607a
push 1
call fcn.004528d8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402df9
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40609f
push 4
call fcn.004528d8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4060b2
push 1
call fcn.004528d8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x5611ef
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00403bc9
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 0x4060ef
push ebx
call fcn.004528d2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40601d
mov ebx, dword [ebp - 0x10]
call fcn.00402df9
mov eax, 0
cmp eax, ecx
jl 0x406118
push 1
call fcn.004528d8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402df9
mov eax, 1
cmp eax, ecx
jl 0x40613e
push 1
call fcn.004528d8
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 0x40615b
mov eax, 0x558128
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406171
mov eax, 0x558128
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, 0x455210
call fcn.004528e4
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x405e6e
add esp, 0xc
jmp 0x40640b
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 0x5611ef
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4061dd
mov eax, 0x558128
push eax
push 4
mov ebx, 0x453470
call fcn.004528e4
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40640b
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x5611ef
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406224
mov eax, 0x558128
push eax
push 3
mov ebx, 0x453ec0
call fcn.004528e4
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 0x40625c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406258
imul eax, dword [ebx]
jmp 0x40624d
mov ecx, eax
test ecx, ecx
je 0x40627b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406274
push ebx
push eax
call fcn.004528d2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406262
call fcn.004528d2
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.0040589b
cmp dword [ebp - 0xc], eax
jle 0x4062a7
jmp 0x40636b
mov ebx, dword [ebp - 0x10]
call fcn.00402df9
mov eax, 1
cmp eax, ecx
jl 0x4062c5
push 1
call fcn.004528d8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402df9
mov eax, 1
cmp eax, ecx
jl 0x4062eb
push 1
call fcn.004528d8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402df9
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406310
push 4
call fcn.004528d8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406323
push 1
call fcn.004528d8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x5611ef
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00403bc9
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 0x406360
push ebx
call fcn.004528d2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40628e
mov ebx, dword [ebp - 0x10]
call fcn.00402df9
mov eax, 0
cmp eax, ecx
jl 0x406389
push 1
call fcn.004528d8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402df9
mov eax, 1
cmp eax, ecx
jl 0x4063af
push 1
call fcn.004528d8
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 0x4063cc
mov eax, 0x558128
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4063e2
mov eax, 0x558128
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, 0x455210
call fcn.004528e4
add esp, 0x34
mov eax, 0x5580be
xor ecx, ecx
test eax, eax
je 0x406419
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 0x40642c
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x406443
dec eax
test ecx, ecx
je 0x406443
call fcn.00401a5e
add esp, 0xc
test eax, eax
jne 0x406485
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, 0x455210
call fcn.004528e4
add esp, 0x28
jmp 0x4064f0
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 0x4064a0
mov eax, 0x5580be
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x455cf0
call fcn.004528e4
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, 0x455210
call fcn.004528e4
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, 0x4551e0
call fcn.004528e4
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, 0x455340
call fcn.004528e4
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, 0x455300
call fcn.004528e4
add esp, 0x10
call fcn.004528d2
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40657d
push ebx
call fcn.004528d2
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, 0x455150
call fcn.004528e4
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 0x4065c8
push ebx
call fcn.004528d2
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 0x560dc1
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x4065f5
mov eax, 0x558128
push eax
push 3
mov ebx, 0x453ec0
call fcn.004528e4
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 0x40662d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406629
imul eax, dword [ebx]
jmp 0x40661e
mov ecx, eax
test ecx, ecx
je 0x40664c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406645
push ebx
push eax
call fcn.004528d2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406633
call fcn.004528d2
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x558128
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406670
push ebx
call fcn.004528d2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.0040589b
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 0x4069ae
mov ebx, dword [ebp - 0x1c]
call fcn.00402df9
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4066b2
push 4
call fcn.004528d8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4066c5
push 1
call fcn.004528d8
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 0x406700
mov eax, 0x558128
push eax
push 4
mov ebx, 0x453470
call fcn.004528e4
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x406806
mov ebx, dword [ebp - 0x1c]
call fcn.00402df9
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40673d
push 4
call fcn.004528d8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406750
push 1
call fcn.004528d8
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.00401929
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 0x40679b
mov eax, 0x558128
push eax
push 6
mov ebx, 0x453cd0
call fcn.004528e4
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 0x4067c4
mov eax, 0x558128
push eax
push 1
mov ebx, 0x453cb0
call fcn.004528e4
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4067ea
push ebx
call fcn.004528d2
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406800
push ebx
call fcn.004528d2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00402df9
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x406823
push 4
call fcn.004528d8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406836
push 1
call fcn.004528d8
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 0x406871
mov eax, 0x558128
push eax
push 4
mov ebx, 0x453470
call fcn.004528e4
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4069a6
mov ebx, dword [ebp - 0x1c]
call fcn.00402df9
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4068ae
push 4
call fcn.004528d8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4068c1
push 1
call fcn.004528d8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x56122e
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
call fcn.004084d3
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x406914
push ebx
call fcn.004528d2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x406924
push ebx
call fcn.004528d2
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x406937
mov eax, 0x558128
push eax
push 1
mov ebx, 0x453cb0
call fcn.004528e4
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40695d
push ebx
call fcn.004528d2
add esp, 4
push 0x56123c
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00403bc9
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40698a
push ebx
call fcn.004528d2
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4069a0
push ebx
call fcn.004528d2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x406687
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00407738
mov ebx, eax
test ebx, ebx
je 0x4069cb
push ebx
call fcn.004528d2
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.00406bc2
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.004088c1
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x406a05
push ebx
call fcn.004528d2
add esp, 4
push 0x558128
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00402e19
add esp, 8
cmp eax, 0
jne 0x406a57
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x406a3e
push eax
mov ebx, eax
call fcn.00402eb6
inc eax
push eax
call fcn.004528cc
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 0x406a51
push ebx
call fcn.004528d2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 0xf
call fcn.004528de
cmp dword [ebp - 0x20], esp
je 0x406a76
push 6
call fcn.004528d8
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x406a90
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004528cc
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x406a95
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x456260
call fcn.004528e4
add esp, 0x10
call fcn.004528d2
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x406ad7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406ad3
imul eax, dword [ebx]
jmp 0x406ac8
mov ecx, eax
test ecx, ecx
je 0x406af6
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406aef
push ebx
push eax
call fcn.004528d2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406add
call fcn.004528d2
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x406b1c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406b18
imul eax, dword [ebx]
jmp 0x406b0d
mov ecx, eax
test ecx, ecx
je 0x406b3b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406b34
push ebx
push eax
call fcn.004528d2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406b22
call fcn.004528d2
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x455300
call fcn.004528e4
add esp, 0x10
call fcn.004528d2
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406b76
push ebx
call fcn.004528d2
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x406b94
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406b90
imul eax, dword [ebx]
jmp 0x406b85
mov ecx, eax
test ecx, ecx
je 0x406bb3
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406bac
push ebx
push eax
call fcn.004528d2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406b9a
call fcn.004528d2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54