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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.100232a0
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.100232a0
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x1009237e
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.100232a0
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x1009237e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.100232a0
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.100232a0
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x1009237e
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, 0xc
call fcn.100232ac
cmp dword [ebp - 0x20], esp
je 0x10018910
push 6
call fcn.100232a6
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, 0x10026400
call fcn.100232b8
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10018990
push 0
push 0
push 0
push getpeername
push 0
push str.MSXML2.ServerXMLHTTP.6.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x10026400
call fcn.100232b8
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10018990
mov eax, 0x1009237e
jmp 0x10019a43
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x100189a5
mov eax, 0x10092278
push eax
push 1
mov ebx, 0x10023b60
call fcn.100232b8
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 0x100189d1
push ebx
call fcn.100232b2
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x10092278
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.1000133b
add esp, 8
cmp eax, 0
jne 0x10018a10
mov eax, 0x1009394b
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10018a0a
push ebx
call fcn.100232b2
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x3c], 0xffffffff
je 0x10018aa1
cmp dword [ebp + 0x3c], 1
jge 0x10018a30
mov dword [ebp + 0x3c], 0x3a98
jmp 0x10018a4d
fild dword [ebp + 0x3c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x1009394f]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.10001411
mov dword [ebp + 0x3c], eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push getpeername
push 0
push 0x10093957
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x10025210
call fcn.100232b8
add esp, 0x4c
push 0x10092278
push dword [0x100b2464]
call fcn.1000133b
add esp, 8
cmp eax, 0
je 0x10018b65
push 0xa0000004
push 0
push 0x100b2464
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, 0x10025210
call fcn.100232b8
add esp, 0x34
push 0x10092278
push dword [0x100b2468]
call fcn.1000133b
add esp, 8
cmp eax, 0
je 0x10018b65
push 0xa0000301
push 0
push 0x100b2470
push 0xa0000004
push 0
push 0x100b246c
push 0xa0000004
push 0
push 0x100b2468
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x10025210
call fcn.100232b8
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, 0x10025210
call fcn.100232b8
add esp, 0x40
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, 0x10026300
call fcn.100232b8
add esp, 0x34
push 0x10092278
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.1000133b
add esp, 8
cmp eax, 0
jne 0x10018c43
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.10001091
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 0x10018c3d
push ebx
call fcn.100232b2
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.10019b70
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.1001a1d2
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10018c8a
push ebx
call fcn.100232b2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10018c9a
push ebx
call fcn.100232b2
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.1001a6e6
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10018cb9
push ebx
call fcn.100232b2
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10018ccf
push ebx
call fcn.100232b2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x10092278
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.1000133b
add esp, 8
cmp eax, 0
je 0x10018d2e
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, 0x10025210
call fcn.100232b8
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x100922c3
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x10018d61
mov eax, 0x10092278
push eax
push 4
mov ebx, 0x100239c0
call fcn.100232b8
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x10019158
push 0
push 0
push 0
push getpeername
push 0
push 0x100922c3
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x10018da8
mov eax, 0x10092278
push eax
push 3
mov ebx, 0x10024270
call fcn.100232b8
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 0x10018de0
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10018ddc
imul eax, dword [ebx]
jmp 0x10018dd1
mov ecx, eax
test ecx, ecx
je 0x10018dff
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10018df8
push ebx
push eax
call fcn.100232b2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10018de6
call fcn.100232b2
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.100013d8
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 0x10019150
mov ebx, dword [ebp - 8]
call fcn.100013f1
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10018e47
push 4
call fcn.100232a6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10018e5a
push 1
call fcn.100232a6
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 0x10093a52
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x10018e95
mov eax, 0x10092278
push eax
push 4
mov ebx, 0x100239c0
call fcn.100232b8
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x10019148
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10018ed3
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10018ecf
imul eax, dword [ebx]
jmp 0x10018ec4
mov ecx, eax
test ecx, ecx
je 0x10018ef2
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10018eeb
push ebx
push eax
call fcn.100232b2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10018ed9
call fcn.100232b2
add esp, 4
mov eax, 0x1009237e
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.100013f1
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10018f1f
push 4
call fcn.100232a6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10018f32
push 1
call fcn.100232a6
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 0x10093a52
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x10018f61
mov eax, 0x10092278
push eax
push 3
mov ebx, 0x10024270
call fcn.100232b8
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 0x10018f99
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10018f95
imul eax, dword [ebx]
jmp 0x10018f8a
mov ecx, eax
test ecx, ecx
je 0x10018fb8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10018fb1
push ebx
push eax
call fcn.100232b2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10018f9f
call fcn.100232b2
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.100013d8
cmp dword [ebp - 0xc], eax
jle 0x10018fe4
jmp 0x100190a8
mov ebx, dword [ebp - 0x10]
call fcn.100013f1
mov eax, 1
cmp eax, ecx
jl 0x10019002
push 1
call fcn.100232a6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.100013f1
mov eax, 1
cmp eax, ecx
jl 0x10019028
push 1
call fcn.100232a6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.100013f1
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x1001904d
push 4
call fcn.100232a6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10019060
push 1
call fcn.100232a6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x10093a52
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.10001091
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 0x1001909d
push ebx
call fcn.100232b2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x10018fcb
mov ebx, dword [ebp - 0x10]
call fcn.100013f1
mov eax, 0
cmp eax, ecx
jl 0x100190c6
push 1
call fcn.100232a6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.100013f1
mov eax, 1
cmp eax, ecx
jl 0x100190ec
push 1
call fcn.100232a6
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 0x10019109
mov eax, 0x10092278
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x1001911f
mov eax, 0x10092278
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x10025210
call fcn.100232b8
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x10018e1c
add esp, 0xc
jmp 0x100193b9
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x10093a52
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x1001918b
mov eax, 0x10092278
push eax
push 4
mov ebx, 0x100239c0
call fcn.100232b8
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x100193b9
push 0
push 0
push 0
push getpeername
push 0
push 0x10093a52
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x100191d2
mov eax, 0x10092278
push eax
push 3
mov ebx, 0x10024270
call fcn.100232b8
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 0x1001920a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10019206
imul eax, dword [ebx]
jmp 0x100191fb
mov ecx, eax
test ecx, ecx
je 0x10019229
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10019222
push ebx
push eax
call fcn.100232b2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10019210
call fcn.100232b2
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.100013d8
cmp dword [ebp - 0xc], eax
jle 0x10019255
jmp 0x10019319
mov ebx, dword [ebp - 0x10]
call fcn.100013f1
mov eax, 1
cmp eax, ecx
jl 0x10019273
push 1
call fcn.100232a6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.100013f1
mov eax, 1
cmp eax, ecx
jl 0x10019299
push 1
call fcn.100232a6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.100013f1
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100192be
push 4
call fcn.100232a6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100192d1
push 1
call fcn.100232a6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x10093a52
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.10001091
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 0x1001930e
push ebx
call fcn.100232b2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x1001923c
mov ebx, dword [ebp - 0x10]
call fcn.100013f1
mov eax, 0
cmp eax, ecx
jl 0x10019337
push 1
call fcn.100232a6
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.100013f1
mov eax, 1
cmp eax, ecx
jl 0x1001935d
push 1
call fcn.100232a6
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 0x1001937a
mov eax, 0x10092278
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x10019390
mov eax, 0x10092278
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x10025210
call fcn.100232b8
add esp, 0x34
mov eax, 0x1009237e
xor ecx, ecx
test eax, eax
je 0x100193c7
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x100193da
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x100193f1
dec eax
test ecx, ecx
je 0x100193f1
call fcn.10018785
add esp, 0xc
test eax, eax
jne 0x10019433
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, 0x10025210
call fcn.100232b8
add esp, 0x28
jmp 0x1001949e
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x1001944e
mov eax, 0x1009237e
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x10025d80
call fcn.100232b8
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, 0x10025210
call fcn.100232b8
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, 0x100251e0
call fcn.100232b8
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, 0x100253d0
call fcn.100232b8
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, 0x10025300
call fcn.100232b8
add esp, 0x10
call fcn.100232b2
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1001952b
push ebx
call fcn.100232b2
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, 0x10025150
call fcn.100232b8
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x44]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10019576
push ebx
call fcn.100232b2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x44]
mov dword [ebx], eax
push 0
push 0
push 0
push getpeername
push 0
push 0x100922c3
push getpeername
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x100195a3
mov eax, 0x10092278
push eax
push 3
mov ebx, 0x10024270
call fcn.100232b8
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 0x100195db
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x100195d7
imul eax, dword [ebx]
jmp 0x100195cc
mov ecx, eax
test ecx, ecx
je 0x100195fa
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x100195f3
push ebx
push eax
call fcn.100232b2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x100195e1
call fcn.100232b2
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x10092278
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1001961e
push ebx
call fcn.100232b2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.100013d8
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 0x1001995c
mov ebx, dword [ebp - 0x1c]
call fcn.100013f1
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10019660
push 4
call fcn.100232a6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10019673
push 1
call fcn.100232a6
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 0x100196ae
mov eax, 0x10092278
push eax
push 4
mov ebx, 0x100239c0
call fcn.100232b8
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x100197b4
mov ebx, dword [ebp - 0x1c]
call fcn.100013f1
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100196eb
push 4
call fcn.100232a6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100196fe
push 1
call fcn.100232a6
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.100030c9
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x10019749
mov eax, 0x10092278
push eax
push 6
mov ebx, 0x10024080
call fcn.100232b8
add esp, 0x4c
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x10019772
mov eax, 0x10092278
push eax
push 1
mov ebx, 0x10024060
call fcn.100232b8
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10019798
push ebx
call fcn.100232b2
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100197ae
push ebx
call fcn.100232b2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.100013f1
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100197d1
push 4
call fcn.100232a6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100197e4
push 1
call fcn.100232a6
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 0x1001981f
mov eax, 0x10092278
push eax
push 4
mov ebx, 0x100239c0
call fcn.100232b8
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x10019954
mov ebx, dword [ebp - 0x1c]
call fcn.100013f1
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x1001985c
push 4
call fcn.100232a6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1001986f
push 1
call fcn.100232a6
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, 0x10093a91
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.1001b481
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100198c2
push ebx
call fcn.100232b2
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x100198d2
push ebx
call fcn.100232b2
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x100198e5
mov eax, 0x10092278
push eax
push 1
mov ebx, 0x10024060
call fcn.100232b8
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1001990b
push ebx
call fcn.100232b2
add esp, 4
push 0x10093a9f
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.10001091
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10019938
push ebx
call fcn.100232b2
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1001994e
push ebx
call fcn.100232b2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x10019635
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.1001a6e6
mov ebx, eax
test ebx, ebx
je 0x10019979
push ebx
call fcn.100232b2
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 1
push dword [ebp + 8]
call fcn.10019b70
mov dword [ebp - 0x24], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.1001b86f
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100199b3
push ebx
call fcn.100232b2
add esp, 4
push 0x10092278
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.1000133b
add esp, 8
cmp eax, 0
jne 0x10019a05
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
je 0x100199ec
push eax
mov ebx, eax
call fcn.10001026
inc eax
push eax
call fcn.100232a0
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 0x100199ff
push ebx
call fcn.100232b2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 0xd
call fcn.100232ac
cmp dword [ebp - 0x20], esp
je 0x10019a24
push 6
call fcn.100232a6
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10019a3e
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100232a0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10019a43
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x100263d0
call fcn.100232b8
add esp, 0x10
call fcn.100232b2
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10019a85
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10019a81
imul eax, dword [ebx]
jmp 0x10019a76
mov ecx, eax
test ecx, ecx
je 0x10019aa4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10019a9d
push ebx
push eax
call fcn.100232b2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10019a8b
call fcn.100232b2
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10019aca
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10019ac6
imul eax, dword [ebx]
jmp 0x10019abb
mov ecx, eax
test ecx, ecx
je 0x10019ae9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10019ae2
push ebx
push eax
call fcn.100232b2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10019ad0
call fcn.100232b2
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x10025300
call fcn.100232b8
add esp, 0x10
call fcn.100232b2
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10019b24
push ebx
call fcn.100232b2
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10019b42
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10019b3e
imul eax, dword [ebx]
jmp 0x10019b33
mov ecx, eax
test ecx, ecx
je 0x10019b61
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10019b5a
push ebx
push eax
call fcn.100232b2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10019b48
call fcn.100232b2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x4c