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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.0040ab59
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0040ab59
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x47b399
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.0040ab59
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x47b399
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0040ab59
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.0040ab59
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x47b399
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, 0x11
call fcn.0040ab47
cmp dword [ebp - 0x20], esp
je 0x406dbf
push 6
call fcn.0040ab41
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, 0x40e1c0
call fcn.0040ab53
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x406e04
mov eax, 0x47b399
jmp 0x407df5
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x406e19
mov eax, 0x47b346
push eax
push 1
mov ebx, 0x40b1e0
call fcn.0040ab53
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 0x406e45
push ebx
call fcn.0040ab4d
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x47b346
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401394
add esp, 8
cmp eax, 0
jne 0x406e84
mov eax, 0x47b4a3
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406e7e
push ebx
call fcn.0040ab4d
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x406f15
cmp dword [ebp + 0x44], 1
jge 0x406ea4
mov dword [ebp + 0x44], 0x3a98
jmp 0x406ec1
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x47b4a7]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00402cb3
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 str.SetTimeouts
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x40d1c0
call fcn.0040ab53
add esp, 0x4c
push 0x47b346
push dword [0x49c438]
call fcn.00401394
add esp, 8
cmp eax, 0
je 0x406fd9
push 0xa0000004
push 0
push 0x49c438
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, 0x40d1c0
call fcn.0040ab53
add esp, 0x34
push 0x47b346
push dword [0x49c43c]
call fcn.00401394
add esp, 8
cmp eax, 0
je 0x406fd9
push 0xa0000301
push 0
push 0x49c444
push 0xa0000004
push 0
push 0x49c440
push 0xa0000004
push 0
push 0x49c43c
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x40d1c0
call fcn.0040ab53
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, 0x40d1c0
call fcn.0040ab53
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x40706b
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, 0x40e0c0
call fcn.0040ab53
add esp, 0x34
push 0x47b346
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401394
add esp, 8
cmp eax, 0
jne 0x4070c1
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.00401093
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 0x4070bb
push ebx
call fcn.0040ab4d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x47b346
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401394
add esp, 8
cmp eax, 0
je 0x40711a
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, 0x40d1c0
call fcn.0040ab53
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x47b354
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40714d
mov eax, 0x47b346
push eax
push 4
mov ebx, 0x40b040
call fcn.0040ab53
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x407544
push 0
push 0
push 0
push getpeername
push 0
push 0x47b354
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407194
mov eax, 0x47b346
push eax
push 3
mov ebx, 0x40b940
call fcn.0040ab53
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 0x4071cc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4071c8
imul eax, dword [ebx]
jmp 0x4071bd
mov ecx, eax
test ecx, ecx
je 0x4071eb
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4071e4
push ebx
push eax
call fcn.0040ab4d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4071d2
call fcn.0040ab4d
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.0040135b
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 0x40753c
mov ebx, dword [ebp - 8]
call fcn.00401374
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407233
push 4
call fcn.0040ab41
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407246
push 1
call fcn.0040ab41
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 0x47b74b
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407281
mov eax, 0x47b346
push eax
push 4
mov ebx, 0x40b040
call fcn.0040ab53
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x407534
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4072bf
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4072bb
imul eax, dword [ebx]
jmp 0x4072b0
mov ecx, eax
test ecx, ecx
je 0x4072de
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4072d7
push ebx
push eax
call fcn.0040ab4d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4072c5
call fcn.0040ab4d
add esp, 4
mov eax, 0x47b399
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00401374
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40730b
push 4
call fcn.0040ab41
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40731e
push 1
call fcn.0040ab41
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 0x47b74b
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40734d
mov eax, 0x47b346
push eax
push 3
mov ebx, 0x40b940
call fcn.0040ab53
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 0x407385
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407381
imul eax, dword [ebx]
jmp 0x407376
mov ecx, eax
test ecx, ecx
je 0x4073a4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40739d
push ebx
push eax
call fcn.0040ab4d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40738b
call fcn.0040ab4d
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.0040135b
cmp dword [ebp - 0xc], eax
jle 0x4073d0
jmp 0x407494
mov ebx, dword [ebp - 0x10]
call fcn.00401374
mov eax, 1
cmp eax, ecx
jl 0x4073ee
push 1
call fcn.0040ab41
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401374
mov eax, 1
cmp eax, ecx
jl 0x407414
push 1
call fcn.0040ab41
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401374
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407439
push 4
call fcn.0040ab41
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40744c
push 1
call fcn.0040ab41
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x47b74b
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401093
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 0x407489
push ebx
call fcn.0040ab4d
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x4073b7
mov ebx, dword [ebp - 0x10]
call fcn.00401374
mov eax, 0
cmp eax, ecx
jl 0x4074b2
push 1
call fcn.0040ab41
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401374
mov eax, 1
cmp eax, ecx
jl 0x4074d8
push 1
call fcn.0040ab41
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 0x4074f5
mov eax, 0x47b346
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40750b
mov eax, 0x47b346
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40d1c0
call fcn.0040ab53
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x407208
add esp, 0xc
jmp 0x4077a5
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x47b74b
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x407577
mov eax, 0x47b346
push eax
push 4
mov ebx, 0x40b040
call fcn.0040ab53
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x4077a5
push 0
push 0
push 0
push getpeername
push 0
push 0x47b74b
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4075be
mov eax, 0x47b346
push eax
push 3
mov ebx, 0x40b940
call fcn.0040ab53
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 0x4075f6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4075f2
imul eax, dword [ebx]
jmp 0x4075e7
mov ecx, eax
test ecx, ecx
je 0x407615
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40760e
push ebx
push eax
call fcn.0040ab4d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4075fc
call fcn.0040ab4d
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.0040135b
cmp dword [ebp - 0xc], eax
jle 0x407641
jmp 0x407705
mov ebx, dword [ebp - 0x10]
call fcn.00401374
mov eax, 1
cmp eax, ecx
jl 0x40765f
push 1
call fcn.0040ab41
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401374
mov eax, 1
cmp eax, ecx
jl 0x407685
push 1
call fcn.0040ab41
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401374
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4076aa
push 4
call fcn.0040ab41
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4076bd
push 1
call fcn.0040ab41
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x47b74b
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401093
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 0x4076fa
push ebx
call fcn.0040ab4d
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x407628
mov ebx, dword [ebp - 0x10]
call fcn.00401374
mov eax, 0
cmp eax, ecx
jl 0x407723
push 1
call fcn.0040ab41
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401374
mov eax, 1
cmp eax, ecx
jl 0x407749
push 1
call fcn.0040ab41
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 0x407766
mov eax, 0x47b346
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40777c
mov eax, 0x47b346
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x40d1c0
call fcn.0040ab53
add esp, 0x34
mov eax, 0x47b399
xor ecx, ecx
test eax, eax
je 0x4077b3
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 0x4077c6
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4077dd
dec eax
test ecx, ecx
je 0x4077dd
call fcn.0040412b
add esp, 0xc
test eax, eax
jne 0x40781f
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, 0x40d1c0
call fcn.0040ab53
add esp, 0x28
jmp 0x40788a
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 0x40783a
mov eax, 0x47b399
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x40dc40
call fcn.0040ab53
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, 0x40d1c0
call fcn.0040ab53
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, 0x40d190
call fcn.0040ab53
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, 0x40d290
call fcn.0040ab53
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, 0x40d250
call fcn.0040ab53
add esp, 0x10
call fcn.0040ab4d
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x407917
push ebx
call fcn.0040ab4d
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, 0x40d100
call fcn.0040ab53
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 0x407962
push ebx
call fcn.0040ab4d
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 0x47b354
push getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x40798f
mov eax, 0x47b346
push eax
push 3
mov ebx, 0x40b940
call fcn.0040ab53
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 0x4079c7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4079c3
imul eax, dword [ebx]
jmp 0x4079b8
mov ecx, eax
test ecx, ecx
je 0x4079e6
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4079df
push ebx
push eax
call fcn.0040ab4d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4079cd
call fcn.0040ab4d
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x47b346
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407a0a
push ebx
call fcn.0040ab4d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.0040135b
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 0x407d48
mov ebx, dword [ebp - 0x1c]
call fcn.00401374
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407a4c
push 4
call fcn.0040ab41
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407a5f
push 1
call fcn.0040ab41
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 0x407a9a
mov eax, 0x47b346
push eax
push 4
mov ebx, 0x40b040
call fcn.0040ab53
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x407ba0
mov ebx, dword [ebp - 0x1c]
call fcn.00401374
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407ad7
push 4
call fcn.0040ab41
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407aea
push 1
call fcn.0040ab41
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.00405cc8
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x407b35
mov eax, 0x47b346
push eax
push 6
mov ebx, 0x40b750
call fcn.0040ab53
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x407b5e
mov eax, 0x47b346
push eax
push 1
mov ebx, 0x40b680
call fcn.0040ab53
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x407b84
push ebx
call fcn.0040ab4d
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407b9a
push ebx
call fcn.0040ab4d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401374
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407bbd
push 4
call fcn.0040ab41
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407bd0
push 1
call fcn.0040ab41
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 0x407c0b
mov eax, 0x47b346
push eax
push 4
mov ebx, 0x40b040
call fcn.0040ab53
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x407d40
mov ebx, dword [ebp - 0x1c]
call fcn.00401374
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x407c48
push 4
call fcn.0040ab41
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x407c5b
push 1
call fcn.0040ab41
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, 0x47b357
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.004062f3
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x407cae
push ebx
call fcn.0040ab4d
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x407cbe
push ebx
call fcn.0040ab4d
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x407cd1
mov eax, 0x47b346
push eax
push 1
mov ebx, 0x40b680
call fcn.0040ab53
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x407cf7
push ebx
call fcn.0040ab4d
add esp, 4
push 0x47b8b3
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401093
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x407d24
push ebx
call fcn.0040ab4d
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407d3a
push ebx
call fcn.0040ab4d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x407a21
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00407f22
mov ebx, eax
test ebx, ebx
je 0x407d65
push ebx
call fcn.0040ab4d
add esp, 4
push 0x47b346
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401394
add esp, 8
cmp eax, 0
jne 0x407db7
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x407d9e
push eax
mov ebx, eax
call fcn.00401028
inc eax
push eax
call fcn.0040ab59
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 0x407db1
push ebx
call fcn.0040ab4d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 0x12
call fcn.0040ab47
cmp dword [ebp - 0x20], esp
je 0x407dd6
push 6
call fcn.0040ab41
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x407df0
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0040ab59
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x407df5
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x40e190
call fcn.0040ab53
add esp, 0x10
call fcn.0040ab4d
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407e37
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407e33
imul eax, dword [ebx]
jmp 0x407e28
mov ecx, eax
test ecx, ecx
je 0x407e56
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407e4f
push ebx
push eax
call fcn.0040ab4d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407e3d
call fcn.0040ab4d
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407e7c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407e78
imul eax, dword [ebx]
jmp 0x407e6d
mov ecx, eax
test ecx, ecx
je 0x407e9b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407e94
push ebx
push eax
call fcn.0040ab4d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407e82
call fcn.0040ab4d
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x40d250
call fcn.0040ab53
add esp, 0x10
call fcn.0040ab4d
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x407ed6
push ebx
call fcn.0040ab4d
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407ef4
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407ef0
imul eax, dword [ebx]
jmp 0x407ee5
mov ecx, eax
test ecx, ecx
je 0x407f13
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x407f0c
push ebx
push eax
call fcn.0040ab4d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407efa
call fcn.0040ab4d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54