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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.00413391
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00413391
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4b74d9
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.00413391
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4b74d9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00413391
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.00413391
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4b74d9
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.004133b5
cmp dword [ebp - 0x20], esp
je 0x406be1
push 6
call fcn.0041339d
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, 0x416500
call fcn.004133a9
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x406c26
mov eax, 0x4b74d9
jmp 0x407c17
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x406c3b
mov eax, 0x4b7148
push eax
push 1
mov ebx, 0x413d10
call fcn.004133a9
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 0x406c67
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4b7148
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.0040103e
add esp, 8
cmp eax, 0
jne 0x406ca6
mov eax, 0x4b74fc
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406ca0
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x406d37
cmp dword [ebp + 0x44], 1
jge 0x406cc6
mov dword [ebp + 0x44], 0x3a98
jmp 0x406ce3
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4b7500]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401c7b
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 0x4b7508
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x4155e0
call fcn.004133a9
add esp, 0x4c
push 0x4b7148
push dword [0xa7e83c]
call fcn.0040103e
add esp, 8
cmp eax, 0
je 0x406dfb
push 0xa0000004
push 0
push 0xa7e83c
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, 0x4155e0
call fcn.004133a9
add esp, 0x34
push 0x4b7148
push dword [0xa7e840]
call fcn.0040103e
add esp, 8
cmp eax, 0
je 0x406dfb
push 0xa0000301
push 0
push 0xa7e848
push 0xa0000004
push 0
push 0xa7e844
push 0xa0000004
push 0
push 0xa7e840
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x4155e0
call fcn.004133a9
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, 0x4155e0
call fcn.004133a9
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x406e8d
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, 0x416450
call fcn.004133a9
add esp, 0x34
push 0x4b7148
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.0040103e
add esp, 8
cmp eax, 0
jne 0x406ee3
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.0040150a
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 0x406edd
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x4b7148
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.0040103e
add esp, 8
cmp eax, 0
je 0x406f3c
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, 0x4155e0
call fcn.004133a9
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4b7603
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406f6f
mov eax, 0x4b7148
push eax
push 4
mov ebx, 0x413b90
call fcn.004133a9
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x407366
push 0
push 0
push 0
push getpeername
push 0
push 0x4b7603
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406fb6
mov eax, 0x4b7148
push eax
push 3
mov ebx, 0x4143c0
call fcn.004133a9
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 0x406fee
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406fea
imul eax, dword [ebx]
jmp 0x406fdf
mov ecx, eax
test ecx, ecx
je 0x40700d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407006
push ebx
push eax
call fcn.0041338b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406ff4
call fcn.0041338b
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00401ca2
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 0x40735e
mov ebx, dword [ebp - 8]
call fcn.00401cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407055
push 4
call fcn.0041339d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407068
push 1
call fcn.0041339d
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 0x4b7606
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4070a3
mov eax, 0x4b7148
push eax
push 4
mov ebx, 0x413b90
call fcn.004133a9
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x407356
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4070e1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4070dd
imul eax, dword [ebx]
jmp 0x4070d2
mov ecx, eax
test ecx, ecx
je 0x407100
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4070f9
push ebx
push eax
call fcn.0041338b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4070e7
call fcn.0041338b
add esp, 4
mov eax, 0x4b74d9
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00401cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40712d
push 4
call fcn.0041339d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407140
push 1
call fcn.0041339d
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 0x4b7606
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40716f
mov eax, 0x4b7148
push eax
push 3
mov ebx, 0x4143c0
call fcn.004133a9
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 0x4071a7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4071a3
imul eax, dword [ebx]
jmp 0x407198
mov ecx, eax
test ecx, ecx
je 0x4071c6
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4071bf
push ebx
push eax
call fcn.0041338b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4071ad
call fcn.0041338b
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.00401ca2
cmp dword [ebp - 0xc], eax
jle 0x4071f2
jmp 0x4072b6
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
mov eax, 1
cmp eax, ecx
jl 0x407210
push 1
call fcn.0041339d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
mov eax, 1
cmp eax, ecx
jl 0x407236
push 1
call fcn.0041339d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40725b
push 4
call fcn.0041339d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40726e
push 1
call fcn.0041339d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4b7606
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040150a
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 0x4072ab
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4071d9
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
mov eax, 0
cmp eax, ecx
jl 0x4072d4
push 1
call fcn.0041339d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
mov eax, 1
cmp eax, ecx
jl 0x4072fa
push 1
call fcn.0041339d
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 0x407317
mov eax, 0x4b7148
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40732d
mov eax, 0x4b7148
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x4155e0
call fcn.004133a9
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x40702a
add esp, 0xc
jmp 0x4075c7
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4b7606
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407399
mov eax, 0x4b7148
push eax
push 4
mov ebx, 0x413b90
call fcn.004133a9
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x4075c7
push 0
push 0
push 0
push getpeername
push 0
push 0x4b7606
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4073e0
mov eax, 0x4b7148
push eax
push 3
mov ebx, 0x4143c0
call fcn.004133a9
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 0x407418
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407414
imul eax, dword [ebx]
jmp 0x407409
mov ecx, eax
test ecx, ecx
je 0x407437
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407430
push ebx
push eax
call fcn.0041338b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40741e
call fcn.0041338b
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.00401ca2
cmp dword [ebp - 0xc], eax
jle 0x407463
jmp 0x407527
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
mov eax, 1
cmp eax, ecx
jl 0x407481
push 1
call fcn.0041339d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
mov eax, 1
cmp eax, ecx
jl 0x4074a7
push 1
call fcn.0041339d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4074cc
push 4
call fcn.0041339d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4074df
push 1
call fcn.0041339d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4b7606
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040150a
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 0x40751c
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40744a
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
mov eax, 0
cmp eax, ecx
jl 0x407545
push 1
call fcn.0041339d
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401cbb
mov eax, 1
cmp eax, ecx
jl 0x40756b
push 1
call fcn.0041339d
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 0x407588
mov eax, 0x4b7148
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40759e
mov eax, 0x4b7148
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x4155e0
call fcn.004133a9
add esp, 0x34
mov eax, 0x4b74d9
xor ecx, ecx
test eax, eax
je 0x4075d5
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 0x4075e8
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4075ff
dec eax
test ecx, ecx
je 0x4075ff
call fcn.00401cdb
add esp, 0xc
test eax, eax
jne 0x407641
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, 0x4155e0
call fcn.004133a9
add esp, 0x28
jmp 0x4076ac
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 0x40765c
mov eax, 0x4b74d9
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x415fe0
call fcn.004133a9
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, 0x4155e0
call fcn.004133a9
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, 0x4155b0
call fcn.004133a9
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, 0x415630
call fcn.004133a9
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, 0x415610
call fcn.004133a9
add esp, 0x10
call fcn.0041338b
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x407739
push ebx
call fcn.0041338b
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, 0x415580
call fcn.004133a9
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 0x407784
push ebx
call fcn.0041338b
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 0x4b7603
push getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x4077b1
mov eax, 0x4b7148
push eax
push 3
mov ebx, 0x4143c0
call fcn.004133a9
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 0x4077e9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4077e5
imul eax, dword [ebx]
jmp 0x4077da
mov ecx, eax
test ecx, ecx
je 0x407808
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407801
push ebx
push eax
call fcn.0041338b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4077ef
call fcn.0041338b
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4b7148
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40782c
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401ca2
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 0x407b6a
mov ebx, dword [ebp - 0x1c]
call fcn.00401cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40786e
push 4
call fcn.0041339d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407881
push 1
call fcn.0041339d
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 0x4078bc
mov eax, 0x4b7148
push eax
push 4
mov ebx, 0x413b90
call fcn.004133a9
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4079c2
mov ebx, dword [ebp - 0x1c]
call fcn.00401cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4078f9
push 4
call fcn.0041339d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40790c
push 1
call fcn.0041339d
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.00401566
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407957
mov eax, 0x4b7148
push eax
push 6
mov ebx, 0x4141d0
call fcn.004133a9
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x407980
mov eax, 0x4b7148
push eax
push 1
mov ebx, 0x4141b0
call fcn.004133a9
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4079a6
push ebx
call fcn.0041338b
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4079bc
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4079df
push 4
call fcn.0041339d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4079f2
push 1
call fcn.0041339d
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 0x407a2d
mov eax, 0x4b7148
push eax
push 4
mov ebx, 0x413b90
call fcn.004133a9
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x407b62
mov ebx, dword [ebp - 0x1c]
call fcn.00401cbb
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407a6a
push 4
call fcn.0041339d
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407a7d
push 1
call fcn.0041339d
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, 0x4b7645
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.004049a6
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x407ad0
push ebx
call fcn.0041338b
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x407ae0
push ebx
call fcn.0041338b
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x407af3
mov eax, 0x4b7148
push eax
push 1
mov ebx, 0x4141b0
call fcn.004133a9
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x407b19
push ebx
call fcn.0041338b
add esp, 4
push 0x4b7653
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040150a
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x407b46
push ebx
call fcn.0041338b
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407b5c
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x407843
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00403c0b
mov ebx, eax
test ebx, ebx
je 0x407b87
push ebx
call fcn.0041338b
add esp, 4
push 0x4b7148
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.0040103e
add esp, 8
cmp eax, 0
jne 0x407bd9
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x407bc0
push eax
mov ebx, eax
call fcn.004010db
inc eax
push eax
call fcn.00413391
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 0x407bd3
push ebx
call fcn.0041338b
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 1
call fcn.004133b5
cmp dword [ebp - 0x20], esp
je 0x407bf8
push 6
call fcn.0041339d
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x407c12
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00413391
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x407c17
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4164f0
call fcn.004133a9
add esp, 0x10
call fcn.0041338b
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407c59
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407c55
imul eax, dword [ebx]
jmp 0x407c4a
mov ecx, eax
test ecx, ecx
je 0x407c78
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407c71
push ebx
push eax
call fcn.0041338b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407c5f
call fcn.0041338b
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407c9e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407c9a
imul eax, dword [ebx]
jmp 0x407c8f
mov ecx, eax
test ecx, ecx
je 0x407cbd
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407cb6
push ebx
push eax
call fcn.0041338b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407ca4
call fcn.0041338b
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x415610
call fcn.004133a9
add esp, 0x10
call fcn.0041338b
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x407cf8
push ebx
call fcn.0041338b
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407d16
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407d12
imul eax, dword [ebx]
jmp 0x407d07
mov ecx, eax
test ecx, ecx
je 0x407d35
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407d2e
push ebx
push eax
call fcn.0041338b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407d1c
call fcn.0041338b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54