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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push 8
call fcn.00418273
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 8
call fcn.00418273
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x49731c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
push 8
call fcn.00418273
add esp, 4
mov dword [ebp - 0x20], eax
mov edi, eax
mov esi, 0x49731c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00418273
add esp, 4
mov dword [ebp - 0x24], 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 - 0x28], 0
push 8
call fcn.00418273
add esp, 4
mov dword [ebp - 0x2c], eax
mov edi, eax
mov esi, 0x49731c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x30], esp
push 0
mov eax, 0x2c
call fcn.00418267
cmp dword [ebp - 0x30], esp
je 0x40dd4c
push 6
call fcn.00418261
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, 0x41d210
call fcn.0041826d
add esp, 0x28
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x40ddcc
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, 0x41d210
call fcn.0041826d
add esp, 0x28
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x40ddcc
mov eax, 0x49731c
jmp 0x40ee75
push getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40dde1
mov eax, 0x4972a4
push eax
push 1
mov ebx, 0x418c80
call fcn.0041826d
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40de0d
push ebx
call fcn.00418279
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4972a4
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401db0
add esp, 8
cmp eax, 0
jne 0x40de4c
mov eax, 0x497345
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40de46
push ebx
call fcn.00418279
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x3c], 0xffffffff
je 0x40dedd
cmp dword [ebp + 0x3c], 1
jge 0x40de6c
mov dword [ebp + 0x3c], 0x3a98
jmp 0x40de89
fild dword [ebp + 0x3c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fmul qword [0x4976c1]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.0040157a
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 str.SetTimeouts
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x41c190
call fcn.0041826d
add esp, 0x4c
push 0x4972a4
push dword [ebp - 8]
call fcn.00401db0
add esp, 8
cmp eax, 0
je 0x40df97
push 0xa0000004
push 0
lea eax, [ebp - 8]
push eax
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, 0x41c190
call fcn.0041826d
add esp, 0x34
push 0x4972a4
push dword [ebp - 0xc]
call fcn.00401db0
add esp, 8
cmp eax, 0
je 0x40df97
push 0xa0000301
push 0
lea eax, [ebp - 0x14]
push eax
push 0xa0000004
push 0
lea eax, [ebp - 0x10]
push eax
push 0xa0000004
push 0
lea eax, [ebp - 0xc]
push eax
push getpeername
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x41c190
call fcn.0041826d
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, 0x41c190
call fcn.0041826d
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, 0x41d110
call fcn.0041826d
add esp, 0x34
push 0x4972a4
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401db0
add esp, 8
cmp eax, 0
jne 0x40e075
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.00401eb8
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e06f
push ebx
call fcn.00418279
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
push 1
push dword [ebp + 8]
call fcn.0040efd2
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040f634
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40e0bc
push ebx
call fcn.00418279
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40e0cc
push ebx
call fcn.00418279
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x3c]
push eax
call fcn.0040fb48
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40e0eb
push ebx
call fcn.00418279
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e101
push ebx
call fcn.00418279
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x4972a4
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401db0
add esp, 8
cmp eax, 0
je 0x40e160
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, 0x41c190
call fcn.0041826d
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x4974a7
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40e193
mov eax, 0x4972a4
push eax
push 4
mov ebx, 0x418af0
call fcn.0041826d
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jle 0x40e58a
push 0
push 0
push 0
push getpeername
push 0
push 0x4974a7
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40e1da
mov eax, 0x4972a4
push eax
push 3
mov ebx, 0x419400
call fcn.0041826d
add esp, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40e212
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e20e
imul eax, dword [ebx]
jmp 0x40e203
mov ecx, eax
test ecx, ecx
je 0x40e231
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40e22a
push ebx
push eax
call fcn.00418279
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e218
call fcn.00418279
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x18]
call fcn.00403537
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40e582
mov ebx, dword [ebp - 0x18]
call fcn.004015a1
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40e279
push 4
call fcn.00418261
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e28c
push 1
call fcn.00418261
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x497540
push getpeername
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x40e2c7
mov eax, 0x4972a4
push eax
push 4
mov ebx, 0x418af0
call fcn.0041826d
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jle 0x40e57a
mov ebx, dword [ebp - 0x20]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40e305
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e301
imul eax, dword [ebx]
jmp 0x40e2f6
mov ecx, eax
test ecx, ecx
je 0x40e324
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40e31d
push ebx
push eax
call fcn.00418279
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e30b
call fcn.00418279
add esp, 4
mov eax, 0x49731c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
call fcn.004015a1
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40e351
push 4
call fcn.00418261
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e364
push 1
call fcn.00418261
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push 0
push 0
push 0
push getpeername
push 0
push 0x497540
push getpeername
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x40e393
mov eax, 0x4972a4
push eax
push 3
mov ebx, 0x419400
call fcn.0041826d
add esp, 0x28
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x20]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40e3cb
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e3c7
imul eax, dword [ebx]
jmp 0x40e3bc
mov ecx, eax
test ecx, ecx
je 0x40e3ea
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40e3e3
push ebx
push eax
call fcn.00418279
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e3d1
call fcn.00418279
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 2
inc dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
call fcn.00403537
cmp dword [ebp - 0x1c], eax
jle 0x40e416
jmp 0x40e4da
mov ebx, dword [ebp - 0x20]
call fcn.004015a1
mov eax, 1
cmp eax, ecx
jl 0x40e434
push 1
call fcn.00418261
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x20]
call fcn.004015a1
mov eax, 1
cmp eax, ecx
jl 0x40e45a
push 1
call fcn.00418261
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x20]
call fcn.004015a1
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40e47f
push 4
call fcn.00418261
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e492
push 1
call fcn.00418261
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
push dword [ebx]
push 0x497540
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ecx, 3
call fcn.00401eb8
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e4cf
push ebx
call fcn.00418279
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
jmp 0x40e3fd
mov ebx, dword [ebp - 0x20]
call fcn.004015a1
mov eax, 0
cmp eax, ecx
jl 0x40e4f8
push 1
call fcn.00418261
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x20]
call fcn.004015a1
mov eax, 1
cmp eax, ecx
jl 0x40e51e
push 1
call fcn.00418261
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x40e53b
mov eax, 0x4972a4
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x40e551
mov eax, 0x4972a4
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x41c190
call fcn.0041826d
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x40e24e
add esp, 0xc
jmp 0x40e7eb
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x497540
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40e5bd
mov eax, 0x4972a4
push eax
push 4
mov ebx, 0x418af0
call fcn.0041826d
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jle 0x40e7eb
push 0
push 0
push 0
push getpeername
push 0
push 0x497540
push getpeername
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40e604
mov eax, 0x4972a4
push eax
push 3
mov ebx, 0x419400
call fcn.0041826d
add esp, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40e63c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e638
imul eax, dword [ebx]
jmp 0x40e62d
mov ecx, eax
test ecx, ecx
je 0x40e65b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40e654
push ebx
push eax
call fcn.00418279
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e642
call fcn.00418279
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 2
inc dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
call fcn.00403537
cmp dword [ebp - 0x1c], eax
jle 0x40e687
jmp 0x40e74b
mov ebx, dword [ebp - 0x20]
call fcn.004015a1
mov eax, 1
cmp eax, ecx
jl 0x40e6a5
push 1
call fcn.00418261
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x20]
call fcn.004015a1
mov eax, 1
cmp eax, ecx
jl 0x40e6cb
push 1
call fcn.00418261
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x20]
call fcn.004015a1
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40e6f0
push 4
call fcn.00418261
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e703
push 1
call fcn.00418261
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
push dword [ebx]
push 0x497540
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ecx, 3
call fcn.00401eb8
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e740
push ebx
call fcn.00418279
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
jmp 0x40e66e
mov ebx, dword [ebp - 0x20]
call fcn.004015a1
mov eax, 0
cmp eax, ecx
jl 0x40e769
push 1
call fcn.00418261
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x20]
call fcn.004015a1
mov eax, 1
cmp eax, ecx
jl 0x40e78f
push 1
call fcn.00418261
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x40e7ac
mov eax, 0x4972a4
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x40e7c2
mov eax, 0x4972a4
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x41c190
call fcn.0041826d
add esp, 0x34
mov eax, 0x49731c
xor ecx, ecx
test eax, eax
je 0x40e7f9
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 0x40e80c
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40e823
dec eax
test ecx, ecx
je 0x40e823
call fcn.00404e36
add esp, 0xc
test eax, eax
jne 0x40e865
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, 0x41c190
call fcn.0041826d
add esp, 0x28
jmp 0x40e8d0
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 0x40e880
mov eax, 0x49731c
push eax
push 0x10031
push 0
push dword [ebp - 0x24]
push 3
mov ebx, 0x41cc70
call fcn.0041826d
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x24]
push eax
push getpeername
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x41c190
call fcn.0041826d
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, 0x41c160
call fcn.0041826d
add esp, 0x28
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x30]
push 2
mov ebx, 0x41c2c0
call fcn.0041826d
add esp, 0x1c
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x41c280
call fcn.0041826d
add esp, 0x10
call fcn.00418279
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e95d
push ebx
call fcn.00418279
add esp, 4
pop eax
mov dword [ebp - 0x28], 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, 0x41c0d0
call fcn.0041826d
add esp, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x44]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e9a8
push ebx
call fcn.00418279
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 0x4974a7
push getpeername
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x40e9d5
mov eax, 0x4972a4
push eax
push 3
mov ebx, 0x419400
call fcn.0041826d
add esp, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40ea0d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40ea09
imul eax, dword [ebx]
jmp 0x40e9fe
mov ecx, eax
test ecx, ecx
je 0x40ea2c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40ea25
push ebx
push eax
call fcn.00418279
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40ea13
call fcn.00418279
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov eax, 0x4972a4
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ea50
push ebx
call fcn.00418279
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x2c]
call fcn.00403537
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40ed8e
mov ebx, dword [ebp - 0x2c]
call fcn.004015a1
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40ea92
push 4
call fcn.00418261
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40eaa5
push 1
call fcn.00418261
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], 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 - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x40eae0
mov eax, 0x4972a4
push eax
push 4
mov ebx, 0x418af0
call fcn.0041826d
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jle 0x40ebe6
mov ebx, dword [ebp - 0x2c]
call fcn.004015a1
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40eb1d
push 4
call fcn.00418261
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40eb30
push 1
call fcn.00418261
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0x80000301
push 0
push 1
mov ebx, 6
call fcn.00403c73
push getpeername
push 0
push str.Location:
push getpeername
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x40eb7b
mov eax, 0x4972a4
push eax
push 6
mov ebx, 0x419210
call fcn.0041826d
add esp, 0x4c
mov dword [ebp - 0x34], eax
push getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40eba4
mov eax, 0x4972a4
push eax
push 1
mov ebx, 0x419120
call fcn.0041826d
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40ebca
push ebx
call fcn.00418279
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ebe0
push ebx
call fcn.00418279
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x2c]
call fcn.004015a1
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40ec03
push 4
call fcn.00418261
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ec16
push 1
call fcn.00418261
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], 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 - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x40ec51
mov eax, 0x4972a4
push eax
push 4
mov ebx, 0x418af0
call fcn.0041826d
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jle 0x40ed86
mov ebx, dword [ebp - 0x2c]
call fcn.004015a1
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40ec8e
push 4
call fcn.00418261
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40eca1
push 1
call fcn.00418261
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov eax, 0x49831d
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x30]
call fcn.0040c065
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40ecf4
push ebx
call fcn.00418279
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40ed04
push ebx
call fcn.00418279
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x40ed17
mov eax, 0x4972a4
push eax
push 1
mov ebx, 0x419120
call fcn.0041826d
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40ed3d
push ebx
call fcn.00418279
add esp, 4
push 0x49a4c4
push dword [ebp - 0x48]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401eb8
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40ed6a
push ebx
call fcn.00418279
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ed80
push ebx
call fcn.00418279
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x40ea67
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.0040fb48
mov ebx, eax
test ebx, ebx
je 0x40edab
push ebx
call fcn.00418279
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
push 1
push dword [ebp + 8]
call fcn.0040efd2
mov dword [ebp - 0x34], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x34]
push eax
call fcn.004108e3
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40ede5
push ebx
call fcn.00418279
add esp, 4
push 0x4972a4
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401db0
add esp, 8
cmp eax, 0
jne 0x40ee37
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
je 0x40ee1e
push eax
mov ebx, eax
call fcn.00401e4d
inc eax
push eax
call fcn.00418273
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 0x40ee31
push ebx
call fcn.00418279
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x30], esp
mov eax, 0x2d
call fcn.00418267
cmp dword [ebp - 0x30], esp
je 0x40ee56
push 6
call fcn.00418261
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x40ee70
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00418273
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40ee75
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x41d1e0
call fcn.0041826d
add esp, 0x10
call fcn.00418279
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40eea9
push ebx
call fcn.00418279
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40eeb9
push ebx
call fcn.00418279
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40eec9
push ebx
call fcn.00418279
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40eee7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40eee3
imul eax, dword [ebx]
jmp 0x40eed8
mov ecx, eax
test ecx, ecx
je 0x40ef06
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40eeff
push ebx
push eax
call fcn.00418279
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40eeed
call fcn.00418279
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40ef2c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40ef28
imul eax, dword [ebx]
jmp 0x40ef1d
mov ecx, eax
test ecx, ecx
je 0x40ef4b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40ef44
push ebx
push eax
call fcn.00418279
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40ef32
call fcn.00418279
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x41c280
call fcn.0041826d
add esp, 0x10
call fcn.00418279
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40ef86
push ebx
call fcn.00418279
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40efa4
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40efa0
imul eax, dword [ebx]
jmp 0x40ef95
mov ecx, eax
test ecx, ecx
je 0x40efc3
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40efbc
push ebx
push eax
call fcn.00418279
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40efaa
call fcn.00418279
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x4c