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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.00407f63
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00407f63
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x8d2b8e
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.00407f63
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x8d2b8e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00407f63
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.00407f63
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x8d2b8e
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.00407f6f
cmp dword [ebp - 0x20], esp
je 0x4016a0
push 6
call fcn.00407f69
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, 0x40a6c0
call fcn.00407f7b
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4016e5
mov eax, 0x8d2b8e
jmp 0x4027a2
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4016fa
mov eax, 0x8d2b72
push eax
push 1
mov ebx, 0x408880
call fcn.00407f7b
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 0x401726
push ebx
call fcn.00407f75
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x8d2b72
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401351
add esp, 8
cmp eax, 0
jne 0x401765
mov eax, 0x8d2b96
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40175f
push ebx
call fcn.00407f75
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x4017f6
cmp dword [ebp + 0x44], 1
jge 0x401785
mov dword [ebp + 0x44], 0x3a98
jmp 0x4017a2
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x8d2b9a]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.004013ee
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 0x8d2ba2
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x409790
call fcn.00407f7b
add esp, 0x4c
push 0x8d2b72
push dword [0x9142b8]
call fcn.00401351
add esp, 8
cmp eax, 0
je 0x4018ba
push 0xa0000004
push 0
push 0x9142b8
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, 0x409790
call fcn.00407f7b
add esp, 0x34
push 0x8d2b72
push dword [0x9142bc]
call fcn.00401351
add esp, 8
cmp eax, 0
je 0x4018ba
push 0xa0000301
push 0
push 0x9142c4
push 0xa0000004
push 0
push 0x9142c0
push 0xa0000004
push 0
push 0x9142bc
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x409790
call fcn.00407f7b
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, 0x409790
call fcn.00407f7b
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x40194c
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, 0x40a610
call fcn.00407f7b
add esp, 0x34
push 0x8d2b72
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401351
add esp, 8
cmp eax, 0
jne 0x4019a2
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.00401480
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 0x40199c
push ebx
call fcn.00407f75
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.004028cf
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.00402f31
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4019e9
push ebx
call fcn.00407f75
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4019f9
push ebx
call fcn.00407f75
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.00403445
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401a18
push ebx
call fcn.00407f75
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401a2e
push ebx
call fcn.00407f75
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x8d2b72
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401351
add esp, 8
cmp eax, 0
je 0x401a8d
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, 0x409790
call fcn.00407f7b
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x8d2c9d
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x401ac0
mov eax, 0x8d2b72
push eax
push 4
mov ebx, 0x4086f0
call fcn.00407f7b
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x401eb7
push 0
push 0
push 0
push getpeername
push 0
push 0x8d2c9d
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x401b07
mov eax, 0x8d2b72
push eax
push 3
mov ebx, 0x408ca0
call fcn.00407f7b
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 0x401b3f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401b3b
imul eax, dword [ebx]
jmp 0x401b30
mov ecx, eax
test ecx, ecx
je 0x401b5e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401b57
push ebx
push eax
call fcn.00407f75
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401b45
call fcn.00407f75
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.004014dc
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 0x401eaf
mov ebx, dword [ebp - 8]
call fcn.004014f5
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x401ba6
push 4
call fcn.00407f69
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401bb9
push 1
call fcn.00407f69
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 0x8d2ca0
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x401bf4
mov eax, 0x8d2b72
push eax
push 4
mov ebx, 0x4086f0
call fcn.00407f7b
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x401ea7
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x401c32
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401c2e
imul eax, dword [ebx]
jmp 0x401c23
mov ecx, eax
test ecx, ecx
je 0x401c51
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401c4a
push ebx
push eax
call fcn.00407f75
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401c38
call fcn.00407f75
add esp, 4
mov eax, 0x8d2b8e
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.004014f5
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x401c7e
push 4
call fcn.00407f69
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401c91
push 1
call fcn.00407f69
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 0x8d2ca0
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x401cc0
mov eax, 0x8d2b72
push eax
push 3
mov ebx, 0x408ca0
call fcn.00407f7b
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 0x401cf8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401cf4
imul eax, dword [ebx]
jmp 0x401ce9
mov ecx, eax
test ecx, ecx
je 0x401d17
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401d10
push ebx
push eax
call fcn.00407f75
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401cfe
call fcn.00407f75
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.004014dc
cmp dword [ebp - 0xc], eax
jle 0x401d43
jmp 0x401e07
mov ebx, dword [ebp - 0x10]
call fcn.004014f5
mov eax, 1
cmp eax, ecx
jl 0x401d61
push 1
call fcn.00407f69
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004014f5
mov eax, 1
cmp eax, ecx
jl 0x401d87
push 1
call fcn.00407f69
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004014f5
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x401dac
push 4
call fcn.00407f69
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401dbf
push 1
call fcn.00407f69
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x8d2ca0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401480
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 0x401dfc
push ebx
call fcn.00407f75
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x401d2a
mov ebx, dword [ebp - 0x10]
call fcn.004014f5
mov eax, 0
cmp eax, ecx
jl 0x401e25
push 1
call fcn.00407f69
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004014f5
mov eax, 1
cmp eax, ecx
jl 0x401e4b
push 1
call fcn.00407f69
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 0x401e68
mov eax, 0x8d2b72
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x401e7e
mov eax, 0x8d2b72
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x409790
call fcn.00407f7b
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x401b7b
add esp, 0xc
jmp 0x402118
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x8d2ca0
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x401eea
mov eax, 0x8d2b72
push eax
push 4
mov ebx, 0x4086f0
call fcn.00407f7b
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x402118
push 0
push 0
push 0
push getpeername
push 0
push 0x8d2ca0
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x401f31
mov eax, 0x8d2b72
push eax
push 3
mov ebx, 0x408ca0
call fcn.00407f7b
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 0x401f69
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401f65
imul eax, dword [ebx]
jmp 0x401f5a
mov ecx, eax
test ecx, ecx
je 0x401f88
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401f81
push ebx
push eax
call fcn.00407f75
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401f6f
call fcn.00407f75
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.004014dc
cmp dword [ebp - 0xc], eax
jle 0x401fb4
jmp 0x402078
mov ebx, dword [ebp - 0x10]
call fcn.004014f5
mov eax, 1
cmp eax, ecx
jl 0x401fd2
push 1
call fcn.00407f69
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004014f5
mov eax, 1
cmp eax, ecx
jl 0x401ff8
push 1
call fcn.00407f69
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004014f5
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40201d
push 4
call fcn.00407f69
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402030
push 1
call fcn.00407f69
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x8d2ca0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401480
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 0x40206d
push ebx
call fcn.00407f75
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x401f9b
mov ebx, dword [ebp - 0x10]
call fcn.004014f5
mov eax, 0
cmp eax, ecx
jl 0x402096
push 1
call fcn.00407f69
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.004014f5
mov eax, 1
cmp eax, ecx
jl 0x4020bc
push 1
call fcn.00407f69
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 0x4020d9
mov eax, 0x8d2b72
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4020ef
mov eax, 0x8d2b72
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x409790
call fcn.00407f7b
add esp, 0x34
mov eax, 0x8d2b8e
xor ecx, ecx
test eax, eax
je 0x402126
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 0x402139
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x402150
dec eax
test ecx, ecx
je 0x402150
call fcn.00401515
add esp, 0xc
test eax, eax
jne 0x402192
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, 0x409790
call fcn.00407f7b
add esp, 0x28
jmp 0x4021fd
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 0x4021ad
mov eax, 0x8d2b8e
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x40a190
call fcn.00407f7b
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, 0x409790
call fcn.00407f7b
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, 0x409760
call fcn.00407f7b
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, 0x4097e0
call fcn.00407f7b
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, 0x4097c0
call fcn.00407f7b
add esp, 0x10
call fcn.00407f75
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40228a
push ebx
call fcn.00407f75
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, 0x409730
call fcn.00407f7b
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 0x4022d5
push ebx
call fcn.00407f75
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 0x8d2c9d
push getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x402302
mov eax, 0x8d2b72
push eax
push 3
mov ebx, 0x408ca0
call fcn.00407f7b
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 0x40233a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402336
imul eax, dword [ebx]
jmp 0x40232b
mov ecx, eax
test ecx, ecx
je 0x402359
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402352
push ebx
push eax
call fcn.00407f75
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402340
call fcn.00407f75
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x8d2b72
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40237d
push ebx
call fcn.00407f75
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004014dc
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 0x4026bb
mov ebx, dword [ebp - 0x1c]
call fcn.004014f5
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4023bf
push 4
call fcn.00407f69
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4023d2
push 1
call fcn.00407f69
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 0x40240d
mov eax, 0x8d2b72
push eax
push 4
mov ebx, 0x4086f0
call fcn.00407f7b
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x402513
mov ebx, dword [ebp - 0x1c]
call fcn.004014f5
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40244a
push 4
call fcn.00407f69
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40245d
push 1
call fcn.00407f69
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.0040105b
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4024a8
mov eax, 0x8d2b72
push eax
push 6
mov ebx, 0x408ab0
call fcn.00407f7b
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4024d1
mov eax, 0x8d2b72
push eax
push 1
mov ebx, 0x408a90
call fcn.00407f7b
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4024f7
push ebx
call fcn.00407f75
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40250d
push ebx
call fcn.00407f75
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004014f5
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402530
push 4
call fcn.00407f69
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402543
push 1
call fcn.00407f69
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 0x40257e
mov eax, 0x8d2b72
push eax
push 4
mov ebx, 0x4086f0
call fcn.00407f7b
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4026b3
mov ebx, dword [ebp - 0x1c]
call fcn.004014f5
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4025bb
push 4
call fcn.00407f69
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4025ce
push 1
call fcn.00407f69
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, 0x8d2cdf
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.004041e0
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x402621
push ebx
call fcn.00407f75
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402631
push ebx
call fcn.00407f75
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x402644
mov eax, 0x8d2b72
push eax
push 1
mov ebx, 0x408a90
call fcn.00407f7b
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40266a
push ebx
call fcn.00407f75
add esp, 4
push 0x8d2ced
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401480
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x402697
push ebx
call fcn.00407f75
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4026ad
push ebx
call fcn.00407f75
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x402394
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00403445
mov ebx, eax
test ebx, ebx
je 0x4026d8
push ebx
call fcn.00407f75
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.004028cf
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.004045ce
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402712
push ebx
call fcn.00407f75
add esp, 4
push 0x8d2b72
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401351
add esp, 8
cmp eax, 0
jne 0x402764
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x40274b
push eax
mov ebx, eax
call fcn.00401415
inc eax
push eax
call fcn.00407f63
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 0x40275e
push ebx
call fcn.00407f75
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 1
call fcn.00407f6f
cmp dword [ebp - 0x20], esp
je 0x402783
push 6
call fcn.00407f69
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40279d
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00407f63
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4027a2
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x40a6b0
call fcn.00407f7b
add esp, 0x10
call fcn.00407f75
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4027e4
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4027e0
imul eax, dword [ebx]
jmp 0x4027d5
mov ecx, eax
test ecx, ecx
je 0x402803
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4027fc
push ebx
push eax
call fcn.00407f75
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4027ea
call fcn.00407f75
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402829
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402825
imul eax, dword [ebx]
jmp 0x40281a
mov ecx, eax
test ecx, ecx
je 0x402848
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402841
push ebx
push eax
call fcn.00407f75
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40282f
call fcn.00407f75
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x4097c0
call fcn.00407f7b
add esp, 0x10
call fcn.00407f75
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402883
push ebx
call fcn.00407f75
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4028a1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40289d
imul eax, dword [ebx]
jmp 0x402892
mov ecx, eax
test ecx, ecx
je 0x4028c0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4028b9
push ebx
push eax
call fcn.00407f75
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4028a7
call fcn.00407f75
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54