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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.00407f62
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00407f62
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x47f8fc
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.00407f62
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x47f8fc
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00407f62
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.00407f62
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x47f8fc
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x20], esp
push 0
mov eax, 0
call fcn.00407f50
cmp dword [ebp - 0x20], esp
je 0x4019cf
push 6
call fcn.00407f4a
add esp, 4
push 0
push 0
push 0
push getpeername
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40c140
call fcn.00407f44
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x401a8a
push 0
push 0
push 0
push getpeername
push 0
push str.MSXML2.ServerXMLHTTP.6.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40c140
call fcn.00407f44
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x401a8a
push 0
push 0
push 0
push getpeername
push 0
push str.MSXML2.ServerXMLHTTP.5.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40c140
call fcn.00407f44
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x401a8a
mov eax, 0x47f8fc
jmp 0x402a6f
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x401a9f
mov eax, 0x47f810
push eax
push 1
mov ebx, 0x4089b0
call fcn.00407f44
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 0x401acb
push ebx
call fcn.00407f32
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x47f810
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.0040125d
add esp, 8
cmp eax, 0
jne 0x401b0a
mov eax, 0x47f951
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401b04
push ebx
call fcn.00407f32
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 1
je 0x401b9b
cmp dword [ebp + 0x44], 1
jge 0x401b2a
mov dword [ebp + 0x44], 0x3a98
jmp 0x401b47
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x47f955]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.004017dc
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 getpeername
push 0
push 0x47f95d
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x40b040
call fcn.00407f44
add esp, 0x4c
push 0x47f810
push dword [0x4d3600]
call fcn.0040125d
add esp, 8
cmp eax, 0
je 0x401c5f
push 0xa0000004
push 0
push 0x4d3600
push 0x80000301
push 0
push 2
push getpeername
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40b040
call fcn.00407f44
add esp, 0x34
push 0x47f810
push dword [0x4d3604]
call fcn.0040125d
add esp, 8
cmp eax, 0
je 0x401c5f
push 0xa0000301
push 0
push 0x4d360c
push 0xa0000004
push 0
push 0x4d3608
push 0xa0000004
push 0
push 0x4d3604
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x40b040
call fcn.00407f44
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 getpeername
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x40b040
call fcn.00407f44
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x401cf1
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push getpeername
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40c090
call fcn.00407f44
add esp, 0x34
push 0x47f810
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.0040125d
add esp, 8
cmp eax, 0
jne 0x401d47
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.00401201
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 0x401d41
push ebx
call fcn.00407f32
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x47f810
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.0040125d
add esp, 8
cmp eax, 0
je 0x401da0
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push getpeername
push 0
push str.Cookie
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40b040
call fcn.00407f44
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x47fa58
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x401dd3
mov eax, 0x47f810
push eax
push 4
mov ebx, 0x408830
call fcn.00407f44
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x4021ca
push 0
push 0
push 0
push getpeername
push 0
push 0x47fa58
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x401e1a
mov eax, 0x47f810
push eax
push 3
mov ebx, 0x409130
call fcn.00407f44
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 0x401e52
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401e4e
imul eax, dword [ebx]
jmp 0x401e43
mov ecx, eax
test ecx, ecx
je 0x401e71
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401e6a
push ebx
push eax
call fcn.00407f32
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401e58
call fcn.00407f32
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00401803
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 0x4021c2
mov ebx, dword [ebp - 8]
call fcn.0040181c
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x401eb9
push 4
call fcn.00407f4a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401ecc
push 1
call fcn.00407f4a
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 getpeername
push 0
push 0x47fa5b
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x401f07
mov eax, 0x47f810
push eax
push 4
mov ebx, 0x408830
call fcn.00407f44
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4021ba
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x401f45
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401f41
imul eax, dword [ebx]
jmp 0x401f36
mov ecx, eax
test ecx, ecx
je 0x401f64
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401f5d
push ebx
push eax
call fcn.00407f32
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401f4b
call fcn.00407f32
add esp, 4
mov eax, 0x47f8fc
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.0040181c
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x401f91
push 4
call fcn.00407f4a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401fa4
push 1
call fcn.00407f4a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0
push 0
push 0
push getpeername
push 0
push 0x47fa5b
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x401fd3
mov eax, 0x47f810
push eax
push 3
mov ebx, 0x409130
call fcn.00407f44
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 0x40200b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402007
imul eax, dword [ebx]
jmp 0x401ffc
mov ecx, eax
test ecx, ecx
je 0x40202a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402023
push ebx
push eax
call fcn.00407f32
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402011
call fcn.00407f32
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.00401803
cmp dword [ebp - 0xc], eax
jle 0x402056
jmp 0x40211a
mov ebx, dword [ebp - 0x10]
call fcn.0040181c
mov eax, 1
cmp eax, ecx
jl 0x402074
push 1
call fcn.00407f4a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040181c
mov eax, 1
cmp eax, ecx
jl 0x40209a
push 1
call fcn.00407f4a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040181c
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4020bf
push 4
call fcn.00407f4a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4020d2
push 1
call fcn.00407f4a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x47fa5b
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401201
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 0x40210f
push ebx
call fcn.00407f32
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40203d
mov ebx, dword [ebp - 0x10]
call fcn.0040181c
mov eax, 0
cmp eax, ecx
jl 0x402138
push 1
call fcn.00407f4a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040181c
mov eax, 1
cmp eax, ecx
jl 0x40215e
push 1
call fcn.00407f4a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x40217b
mov eax, 0x47f810
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402191
mov eax, 0x47f810
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40b040
call fcn.00407f44
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x401e8e
add esp, 0xc
jmp 0x40242b
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x47fa5b
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4021fd
mov eax, 0x47f810
push eax
push 4
mov ebx, 0x408830
call fcn.00407f44
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40242b
push 0
push 0
push 0
push getpeername
push 0
push 0x47fa5b
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402244
mov eax, 0x47f810
push eax
push 3
mov ebx, 0x409130
call fcn.00407f44
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 0x40227c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402278
imul eax, dword [ebx]
jmp 0x40226d
mov ecx, eax
test ecx, ecx
je 0x40229b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402294
push ebx
push eax
call fcn.00407f32
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402282
call fcn.00407f32
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.00401803
cmp dword [ebp - 0xc], eax
jle 0x4022c7
jmp 0x40238b
mov ebx, dword [ebp - 0x10]
call fcn.0040181c
mov eax, 1
cmp eax, ecx
jl 0x4022e5
push 1
call fcn.00407f4a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040181c
mov eax, 1
cmp eax, ecx
jl 0x40230b
push 1
call fcn.00407f4a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040181c
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402330
push 4
call fcn.00407f4a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402343
push 1
call fcn.00407f4a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x47fa5b
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401201
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 0x402380
push ebx
call fcn.00407f32
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4022ae
mov ebx, dword [ebp - 0x10]
call fcn.0040181c
mov eax, 0
cmp eax, ecx
jl 0x4023a9
push 1
call fcn.00407f4a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040181c
mov eax, 1
cmp eax, ecx
jl 0x4023cf
push 1
call fcn.00407f4a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4023ec
mov eax, 0x47f810
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402402
mov eax, 0x47f810
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40b040
call fcn.00407f44
add esp, 0x34
mov eax, 0x47f8fc
xor ecx, ecx
test eax, eax
je 0x402439
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 0x40244c
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x402463
dec eax
test ecx, ecx
je 0x402463
call fcn.0040183c
add esp, 0xc
test eax, eax
jne 0x4024a5
push 0xa0000004
push 0
push dword [ebp + 0x14]
push getpeername
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40b040
call fcn.00407f44
add esp, 0x28
jmp 0x402510
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 0x4024c0
mov eax, 0x47f8fc
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x40bb30
call fcn.00407f44
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x14]
push eax
push getpeername
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40b040
call fcn.00407f44
add esp, 0x28
push 0
push 0
push 0
push getpeername
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40b010
call fcn.00407f44
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, 0x40b180
call fcn.00407f44
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, 0x40b0d0
call fcn.00407f44
add esp, 0x10
call fcn.00407f32
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40259d
push ebx
call fcn.00407f32
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push getpeername
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x40afe0
call fcn.00407f44
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 0x4025e8
push ebx
call fcn.00407f32
add esp, 4
pop eax
mov ebx, dword [ebp + 0x4c]
mov dword [ebx], eax
push 0
push 0
push 0
push getpeername
push 0
push 0x47fa58
push getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x402615
mov eax, 0x47f810
push eax
push 3
mov ebx, 0x409130
call fcn.00407f44
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 0x40264d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402649
imul eax, dword [ebx]
jmp 0x40263e
mov ecx, eax
test ecx, ecx
je 0x40266c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402665
push ebx
push eax
call fcn.00407f32
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402653
call fcn.00407f32
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x47f810
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402690
push ebx
call fcn.00407f32
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401803
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 0x4029c2
mov ebx, dword [ebp - 0x1c]
call fcn.0040181c
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4026d2
push 4
call fcn.00407f4a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4026e5
push 1
call fcn.00407f4a
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 getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402720
mov eax, 0x47f810
push eax
push 4
mov ebx, 0x408830
call fcn.00407f44
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x402826
mov ebx, dword [ebp - 0x1c]
call fcn.0040181c
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40275d
push 4
call fcn.00407f4a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402770
push 1
call fcn.00407f4a
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.004018e8
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4027bb
mov eax, 0x47f810
push eax
push 6
mov ebx, 0x408f40
call fcn.00407f44
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4027e4
mov eax, 0x47f810
push eax
push 1
mov ebx, 0x408e50
call fcn.00407f44
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40280a
push ebx
call fcn.00407f32
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402820
push ebx
call fcn.00407f32
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.0040181c
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402843
push 4
call fcn.00407f4a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402856
push 1
call fcn.00407f4a
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 getpeername
push 0
push str.Set_Cookie
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x402891
mov eax, 0x47f810
push eax
push 4
mov ebx, 0x408830
call fcn.00407f44
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4029ba
mov ebx, dword [ebp - 0x1c]
call fcn.0040181c
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4028ce
push 4
call fcn.00407f4a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4028e1
push 1
call fcn.00407f4a
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, 0x47fa9a
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x47fa9c
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.00402b9c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402928
push ebx
call fcn.00407f32
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x402938
push ebx
call fcn.00407f32
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40294b
mov eax, 0x47f810
push eax
push 1
mov ebx, 0x408e50
call fcn.00407f44
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x402971
push ebx
call fcn.00407f32
add esp, 4
push 0x47faa8
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401201
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40299e
push ebx
call fcn.00407f32
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4029b4
push ebx
call fcn.00407f32
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4026a7
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00402ded
mov ebx, eax
test ebx, ebx
je 0x4029df
push ebx
call fcn.00407f32
add esp, 4
push 0x47f810
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.0040125d
add esp, 8
cmp eax, 0
jne 0x402a31
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x402a18
push eax
mov ebx, eax
call fcn.00401196
inc eax
push eax
call fcn.00407f62
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 0x402a2b
push ebx
call fcn.00407f32
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 1
call fcn.00407f50
cmp dword [ebp - 0x20], esp
je 0x402a50
push 6
call fcn.00407f4a
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x402a6a
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00407f62
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x402a6f
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x40c130
call fcn.00407f44
add esp, 0x10
call fcn.00407f32
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402ab1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402aad
imul eax, dword [ebx]
jmp 0x402aa2
mov ecx, eax
test ecx, ecx
je 0x402ad0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402ac9
push ebx
push eax
call fcn.00407f32
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402ab7
call fcn.00407f32
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402af6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402af2
imul eax, dword [ebx]
jmp 0x402ae7
mov ecx, eax
test ecx, ecx
je 0x402b15
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402b0e
push ebx
push eax
call fcn.00407f32
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402afc
call fcn.00407f32
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x40b0d0
call fcn.00407f44
add esp, 0x10
call fcn.00407f32
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402b50
push ebx
call fcn.00407f32
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402b6e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402b6a
imul eax, dword [ebx]
jmp 0x402b5f
mov ecx, eax
test ecx, ecx
je 0x402b8d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402b86
push ebx
push eax
call fcn.00407f32
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402b74
call fcn.00407f32
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54