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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.00406842
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00406842
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x52beb9
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.00406842
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x52beb9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00406842
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.00406842
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x52beb9
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, 2
call fcn.00406860
cmp dword [ebp - 0x20], esp
je 0x402c19
push 6
call fcn.0040685a
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, 0x4091a0
call fcn.0040683c
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x402c5e
mov eax, 0x52beb9
jmp 0x403c4f
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x402c73
mov eax, 0x52bec1
push eax
push 1
mov ebx, 0x406eb0
call fcn.0040683c
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 0x402c9f
push ebx
call fcn.00406848
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x52bec1
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.004029b8
add esp, 8
cmp eax, 0
jne 0x402cde
mov eax, 0x5419df
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402cd8
push ebx
call fcn.00406848
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x402d6f
cmp dword [ebp + 0x44], 1
jge 0x402cfe
mov dword [ebp + 0x44], 0x3a98
jmp 0x402d1b
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x5419e3]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401b8f
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 0x5419eb
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x4081a0
call fcn.0040683c
add esp, 0x4c
push 0x52bec1
push dword [0x569500]
call fcn.004029b8
add esp, 8
cmp eax, 0
je 0x402e33
push 0xa0000004
push 0
push 0x569500
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, 0x4081a0
call fcn.0040683c
add esp, 0x34
push 0x52bec1
push dword [0x569504]
call fcn.004029b8
add esp, 8
cmp eax, 0
je 0x402e33
push 0xa0000301
push 0
push 0x56950c
push 0xa0000004
push 0
push 0x569508
push 0xa0000004
push 0
push 0x569504
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x4081a0
call fcn.0040683c
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, 0x4081a0
call fcn.0040683c
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x402ec5
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, 0x4090a0
call fcn.0040683c
add esp, 0x34
push 0x52bec1
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.004029b8
add esp, 8
cmp eax, 0
jne 0x402f1b
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.00401955
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 0x402f15
push ebx
call fcn.00406848
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x52bec1
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.004029b8
add esp, 8
cmp eax, 0
je 0x402f74
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, 0x4081a0
call fcn.0040683c
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x541ae6
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402fa7
mov eax, 0x52bec1
push eax
push 4
mov ebx, 0x406d20
call fcn.0040683c
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40339e
push 0
push 0
push 0
push getpeername
push 0
push 0x541ae6
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402fee
mov eax, 0x52bec1
push eax
push 3
mov ebx, 0x407410
call fcn.0040683c
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 0x403026
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403022
imul eax, dword [ebx]
jmp 0x403017
mov ecx, eax
test ecx, ecx
je 0x403045
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40303e
push ebx
push eax
call fcn.00406848
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40302c
call fcn.00406848
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00402a55
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 0x403396
mov ebx, dword [ebp - 8]
call fcn.00402a6e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40308d
push 4
call fcn.0040685a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4030a0
push 1
call fcn.0040685a
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 0x541ae9
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4030db
mov eax, 0x52bec1
push eax
push 4
mov ebx, 0x406d20
call fcn.0040683c
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40338e
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403119
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403115
imul eax, dword [ebx]
jmp 0x40310a
mov ecx, eax
test ecx, ecx
je 0x403138
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403131
push ebx
push eax
call fcn.00406848
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40311f
call fcn.00406848
add esp, 4
mov eax, 0x52beb9
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00402a6e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403165
push 4
call fcn.0040685a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403178
push 1
call fcn.0040685a
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 0x541ae9
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4031a7
mov eax, 0x52bec1
push eax
push 3
mov ebx, 0x407410
call fcn.0040683c
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 0x4031df
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4031db
imul eax, dword [ebx]
jmp 0x4031d0
mov ecx, eax
test ecx, ecx
je 0x4031fe
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4031f7
push ebx
push eax
call fcn.00406848
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4031e5
call fcn.00406848
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.00402a55
cmp dword [ebp - 0xc], eax
jle 0x40322a
jmp 0x4032ee
mov ebx, dword [ebp - 0x10]
call fcn.00402a6e
mov eax, 1
cmp eax, ecx
jl 0x403248
push 1
call fcn.0040685a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402a6e
mov eax, 1
cmp eax, ecx
jl 0x40326e
push 1
call fcn.0040685a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402a6e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403293
push 4
call fcn.0040685a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4032a6
push 1
call fcn.0040685a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x541ae9
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401955
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 0x4032e3
push ebx
call fcn.00406848
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x403211
mov ebx, dword [ebp - 0x10]
call fcn.00402a6e
mov eax, 0
cmp eax, ecx
jl 0x40330c
push 1
call fcn.0040685a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402a6e
mov eax, 1
cmp eax, ecx
jl 0x403332
push 1
call fcn.0040685a
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 0x40334f
mov eax, 0x52bec1
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x403365
mov eax, 0x52bec1
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x4081a0
call fcn.0040683c
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x403062
add esp, 0xc
jmp 0x4035ff
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x541ae9
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4033d1
mov eax, 0x52bec1
push eax
push 4
mov ebx, 0x406d20
call fcn.0040683c
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x4035ff
push 0
push 0
push 0
push getpeername
push 0
push 0x541ae9
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x403418
mov eax, 0x52bec1
push eax
push 3
mov ebx, 0x407410
call fcn.0040683c
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 0x403450
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40344c
imul eax, dword [ebx]
jmp 0x403441
mov ecx, eax
test ecx, ecx
je 0x40346f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403468
push ebx
push eax
call fcn.00406848
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403456
call fcn.00406848
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.00402a55
cmp dword [ebp - 0xc], eax
jle 0x40349b
jmp 0x40355f
mov ebx, dword [ebp - 0x10]
call fcn.00402a6e
mov eax, 1
cmp eax, ecx
jl 0x4034b9
push 1
call fcn.0040685a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402a6e
mov eax, 1
cmp eax, ecx
jl 0x4034df
push 1
call fcn.0040685a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402a6e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403504
push 4
call fcn.0040685a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403517
push 1
call fcn.0040685a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x541ae9
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401955
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 0x403554
push ebx
call fcn.00406848
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x403482
mov ebx, dword [ebp - 0x10]
call fcn.00402a6e
mov eax, 0
cmp eax, ecx
jl 0x40357d
push 1
call fcn.0040685a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00402a6e
mov eax, 1
cmp eax, ecx
jl 0x4035a3
push 1
call fcn.0040685a
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 0x4035c0
mov eax, 0x52bec1
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x4035d6
mov eax, 0x52bec1
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x4081a0
call fcn.0040683c
add esp, 0x34
mov eax, 0x52beb9
xor ecx, ecx
test eax, eax
je 0x40360d
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 0x403620
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x403637
dec eax
test ecx, ecx
je 0x403637
call fcn.00402a8e
add esp, 0xc
test eax, eax
jne 0x403679
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, 0x4081a0
call fcn.0040683c
add esp, 0x28
jmp 0x4036e4
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 0x403694
mov eax, 0x52beb9
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x408c20
call fcn.0040683c
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, 0x4081a0
call fcn.0040683c
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, 0x408170
call fcn.0040683c
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, 0x408270
call fcn.0040683c
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, 0x408230
call fcn.0040683c
add esp, 0x10
call fcn.00406848
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403771
push ebx
call fcn.00406848
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, 0x4080e0
call fcn.0040683c
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 0x4037bc
push ebx
call fcn.00406848
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 0x541ae6
push getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x4037e9
mov eax, 0x52bec1
push eax
push 3
mov ebx, 0x407410
call fcn.0040683c
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 0x403821
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40381d
imul eax, dword [ebx]
jmp 0x403812
mov ecx, eax
test ecx, ecx
je 0x403840
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403839
push ebx
push eax
call fcn.00406848
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403827
call fcn.00406848
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x52bec1
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403864
push ebx
call fcn.00406848
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00402a55
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 0x403ba2
mov ebx, dword [ebp - 0x1c]
call fcn.00402a6e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4038a6
push 4
call fcn.0040685a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4038b9
push 1
call fcn.0040685a
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 0x4038f4
mov eax, 0x52bec1
push eax
push 4
mov ebx, 0x406d20
call fcn.0040683c
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4039fa
mov ebx, dword [ebp - 0x1c]
call fcn.00402a6e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403931
push 4
call fcn.0040685a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403944
push 1
call fcn.0040685a
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.00401bb6
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40398f
mov eax, 0x52bec1
push eax
push 6
mov ebx, 0x407220
call fcn.0040683c
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4039b8
mov eax, 0x52bec1
push eax
push 1
mov ebx, 0x407200
call fcn.0040683c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4039de
push ebx
call fcn.00406848
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4039f4
push ebx
call fcn.00406848
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00402a6e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403a17
push 4
call fcn.0040685a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403a2a
push 1
call fcn.0040685a
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 0x403a65
mov eax, 0x52bec1
push eax
push 4
mov ebx, 0x406d20
call fcn.0040683c
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x403b9a
mov ebx, dword [ebp - 0x1c]
call fcn.00402a6e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x403aa2
push 4
call fcn.0040685a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403ab5
push 1
call fcn.0040685a
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, 0x541b28
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.00403d7c
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403b08
push ebx
call fcn.00406848
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403b18
push ebx
call fcn.00406848
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x403b2b
mov eax, 0x52bec1
push eax
push 1
mov ebx, 0x407200
call fcn.0040683c
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x403b51
push ebx
call fcn.00406848
add esp, 4
push 0x541b36
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401955
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x403b7e
push ebx
call fcn.00406848
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403b94
push ebx
call fcn.00406848
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x40387b
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.0040416a
mov ebx, eax
test ebx, ebx
je 0x403bbf
push ebx
call fcn.00406848
add esp, 4
push 0x52bec1
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.004029b8
add esp, 8
cmp eax, 0
jne 0x403c11
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x403bf8
push eax
mov ebx, eax
call fcn.004018ea
inc eax
push eax
call fcn.00406842
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 0x403c0b
push ebx
call fcn.00406848
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 3
call fcn.00406860
cmp dword [ebp - 0x20], esp
je 0x403c30
push 6
call fcn.0040685a
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403c4a
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00406842
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x403c4f
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x409170
call fcn.0040683c
add esp, 0x10
call fcn.00406848
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403c91
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403c8d
imul eax, dword [ebx]
jmp 0x403c82
mov ecx, eax
test ecx, ecx
je 0x403cb0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403ca9
push ebx
push eax
call fcn.00406848
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403c97
call fcn.00406848
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403cd6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403cd2
imul eax, dword [ebx]
jmp 0x403cc7
mov ecx, eax
test ecx, ecx
je 0x403cf5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403cee
push ebx
push eax
call fcn.00406848
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403cdc
call fcn.00406848
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x408230
call fcn.0040683c
add esp, 0x10
call fcn.00406848
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403d30
push ebx
call fcn.00406848
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403d4e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403d4a
imul eax, dword [ebx]
jmp 0x403d3f
mov ecx, eax
test ecx, ecx
je 0x403d6d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403d66
push ebx
push eax
call fcn.00406848
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403d54
call fcn.00406848
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54